diff --git a/htroot/Status.html b/htroot/Status.html index 30ff8123e..d6262629a 100644 --- a/htroot/Status.html +++ b/htroot/Status.html @@ -110,6 +110,12 @@ #(/warningMemoryLow)# + #(warningCrawlPaused)#:: +
bad
+
Crawling is paused! If the crawling was paused automatically, please check your disk space. +
+ #(/warningCrawlPaused)# + #(hintVersionAvailable)#:: diff --git a/htroot/Status.java b/htroot/Status.java index dab7ef8a6..bdea6a9cd 100644 --- a/htroot/Status.java +++ b/htroot/Status.java @@ -176,6 +176,10 @@ public class Status prop.put("hintSupport", "1"); } + if (adminaccess && sb.crawlJobIsPaused(SwitchboardConstants.CRAWLJOB_LOCAL_CRAWL)) { + prop.put("warningCrawlPaused", "1"); + } + // hostname and port final String extendedPortString = sb.getConfig("port", "8090"); final int pos = extendedPortString.indexOf(':', 0);