diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2008-06-11 20:27:10 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2008-06-11 20:27:10 +0000 |
commit | 6a9d82f05abe37749941020acdae960cbc0322e8 (patch) | |
tree | 118fee2d649cae354d2e44460ee56300d1e5fef3 | |
parent | 6c7beec7b53211366189c0b2e4b4d8aa4640ff87 (diff) | |
download | sitesummary-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/changelog | 3 | ||||
-rwxr-xr-x | debian/sitesummary.cron.daily | 6 |
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 |