From: Lupe C. <lu...@lu...> - 2010-06-24 05:36:29
|
On Wednesday, 2010-06-23 at 20:36:36 -0400, Alan McKay wrote: > And I just cannot figure out how to get it back. I have a brand new > installed Ubuntu 10.04 box as well, and did an apt-get install of the > 3 munin packages, and still see no crontab that runs munin-update That's /etc/cron.d/munin # cron-jobs for munin MAILTO=root */5 * * * * munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi 14 10 * * * munin if [ -x /usr/share/munin/munin-limits ]; then /usr/share/munin/munin-limits --force --contact nagios --contact old-nagios; fi On Wednesday, 2010-06-23 at 20:38:43 -0400, Alan McKay wrote: > -rw-r----- 1 munin adm 0 2010-05-11 08:05 munin-update.log > -rw-r----- 1 munin adm 14630 2010-05-10 09:45 munin-update.log.1.gz > -rw-r----- 1 munin adm 181992 2010-05-10 07:40 munin-update.log.2.gz So it stopped running between 2010-05-10 09:45 and 2010-05-10 07:40. What did you do netween those times? On Wednesday, 2010-06-23 at 20:50:41 -0400, Alan McKay wrote: > changed shell from /bin/false to /bin/bash for munin user? This is from my unchanged Lucid system: munin:x:124:136::/var/lib/munin:/bin/false Run this to see if cron is executing munin-cron: grep 'CRON.*munin-cron' /var/log/syslog The output should look like this: Jun 24 07:30:01 alanya CRON[28251]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi) Obviously one line every five minutes. If it does, check that /usr/bin/munin-cron is OK like this: -rwxr-xr-x 1 root root 546 2010-04-13 14:53 /usr/bin/munin-cron HTH, Lupe Christoph -- | It is a well-knon fact in any organisation that, if you want a job | | done, you should give it to someone who is already very busy. | | Terry Pratchett, "Unseen Academicals" | |