Package: munin
Version: 1.0.4-1
Severity: normal
File: /usr/bin/munin-cron

I was getting this message once every 5 minutes:

--- cut ---
From: [EMAIL PROTECTED] (Cron Daemon)
Subject: Cron <[EMAIL PROTECTED]> if [ -x /usr/bin/munin-cron ]; then 
/usr/bin/munin-cron; fi
To: [EMAIL PROTECTED]
Date: Wed, 19 Jan 2005 16:15:09 +1100 (EST)

1 data packet(s) sent to host successfully.
--- cut ---

I don't need to know if it worked, only if it didn't work.

I fixed this (I think) by changing the line

[ -x /usr/share/munin/munin-nagios ] && /usr/share/munin/munin-nagios $@;

to

[ -x /usr/share/munin/munin-nagios ] && /usr/share/munin/munin-nagios $@ > 
/dev/null;

Not stderr should not be redirected; this would mask the error condition I got
beforehand (wrong permissions to /etc/send_nsca.cfg; possibly a subject of
another bug report, not sure yet).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages munin depends on:
pn  libdigest-md5-perl                       Not found.
ii  libhtml-template-perl         2.6-2      HTML::Template : A module for usin
ii  librrds-perl                  1.0.49-1   Time-series data storage and displ
pn  libtime-hires-perl                       Not found.
ii  perl [libstorable-perl]       5.8.4-5    Larry Wall's Practical Extraction 

-- no debconf information


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

Reply via email to