aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2008-06-11 20:27:10 +0000
committerPetter Reinholdtsen <pere@hungry.com>2008-06-11 20:27:10 +0000
commit6a9d82f05abe37749941020acdae960cbc0322e8 (patch)
tree118fee2d649cae354d2e44460ee56300d1e5fef3
parent6c7beec7b53211366189c0b2e4b4d8aa4640ff87 (diff)
downloadsitesummary-6a9d82f05abe37749941020acdae960cbc0322e8.tar.gz
sitesummary-6a9d82f05abe37749941020acdae960cbc0322e8.tar.bz2
sitesummary-6a9d82f05abe37749941020acdae960cbc0322e8.tar.xz
* Fix slow propagation of information on first time install, by
making sure the server cron job calls sitesummary-client before processing all entries.
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/sitesummary.cron.daily6
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 53c80c1..91c375a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ sitesummary (0.0.41) UNRELEASED; urgency=low
* Accept nagios3 clients as nagios clients.
* New argument -w to sitesummary-nodes, to list DNS name and MAC address,
for use with wakeonlan packages.
+ * Fix slow propagation of information on first time install, by
+ making sure the server cron job calls sitesummary-client before
+ processing all entries.
-- Petter Reinholdtsen <pere@debian.org> Sun, 8 Jun 2008 14:20:40 +0200
diff --git a/debian/sitesummary.cron.daily b/debian/sitesummary.cron.daily
index b06023a..1c3711d 100755
--- a/debian/sitesummary.cron.daily
+++ b/debian/sitesummary.cron.daily
@@ -8,6 +8,12 @@ daylimit=120
makewebreport=/usr/sbin/sitesummary-makewebreport
nodes=/usr/sbin/sitesummary-nodes
+if [ -x /usr/sbin/sitesummary-client ] ; then
+ # Make sure to collect information about ourself, if we are both a client
+ # and a server.
+ nice /usr/sbin/sitesummary-client
+fi
+
# Modify this in collector.cfg to /etc/munin/ to automatically replace
# the default munin configuration.
MUNINDIR=/var/lib/sitesummary