severity 401910 wishlist
reassign 401910 cron
merge 401910 144710
quit

* David Liontooth

> It's not an error - it's just he command echoed, telling syslog it was
> run. It's perfectly orderly, I just want to silence it, as it provides
> no relevant information.
> 
> I've installed munin-node on seven machines and get the same messages
> in syslog for all of them (below). The configuration on these differ a
> fair amount.
> 
> I tried to silence it with >/dev/null  2>&1 but that didn't do the
> trick, so I just commented out the line.
> 
> This may still just be a cron configuration issue that munin simply
> triggers.

  Ah.  Yes, these messages are cron simply logging that it started the
 job.  The fact that the job produces no output doesn't stop cron from
 logging that, and as far as I know there is no way to tell cron not to
 log for each time it invokes a job.  This isn't specific to Munin,
 you'll see similar messages when other cron jobs are run (I see the
 "run-parts --report /etc/cron.hourly" job being logged in your excerpt,
 for instance).

  There is an open bug report in the cron package, calling for this
 exact functionality.  If it is added I shall surely update the Munin
 package to make use of it, but that's impossible right now.  For that
 reason I'm merging your bug report with this one now.

  You can filter out the messages from cron in /etc/syslog.conf, though.
 If you change the one that directs messages to /var/log/syslog to read

    *.*;cron,auth,authpriv.none     -/var/log/syslog

  no cron-related messages will be logged there (which includes all the
 non-munin-related messages, which may or may not be acceptable to you).

  You can instead, optionally, direct these messages to a separate log
 file with a line such as

    cron.*                         /var/log/cron.log

> I get a lot of street cred from my colleagues when showing them munin;
> they somehow imagine I put all of this information together myself ;-)

  :-)

> Dec  7 08:50:01 siena /USR/SBIN/CRON[13790]: (root) CMD (if [ -x
> /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update
> 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then
> /etc/munin/plugins/apt update 7200 12 >/dev/null; fi)
> [...]

Regards
-- 
Tore Anderson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to