Notifications

Cameron Moore lists at unbeatenpath.net
Wed Feb 12 05:47:02 CET 2003


* jamie at bclnz.net (Jamie) [2003.02.11 22:05]:
> If anyone is having problems with nagios emailing notifications, with part
> of the info section missing (typically anything following the % sign about
> packet loss), then make the following changes to misccommands.cfg:
> change /usr/bin/printf "blah blah.. to /bin/echo -e "blah blah...
> 
> This has been frustrating me for a while. I think other nagiosers have had
> the same problem in the past....
> 
> Perhaps this should change in the sample configs?

Did you remove the "%b" string after printf?  It should read:

  /usr/bin/printf "%b" "blah blah..."

But FWIW, 'echo -e "blah blah...' seems like a simple replacement.  Is
there some reason why Nagios uses printf over echo?
-- 
Cameron Moore
[ Why don't they just make mouse-flavored cat food? ]


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list