[Nagiosplug-help] (no subject)
Thomas Guyot-Sionnest
dermoth at aei.ca
Wed Jan 17 05:40:04 CET 2007
On 15/01/07 01:23 PM, Don Munyak wrote:
> re: check_ping critical you need more args
> OS: FreeBSD 6.1_RELEASE
> Nagios: Version 2.5, July 13, 2006
>
>
> I am having a terrible isue with check_ping.
> I have spent about two weeks googling for answers.
>
> I setup Nagios from /usr/ports ... # make, # make install clean.
> Everything appeared to install correctly with no errors.
> I edited the *.cfg files with respect to http://nagiosbook.org, using
> a very minimal configuration just to get going.
>
> However, after making all the adjustments, the Nagios web interface is
> complaining.
>>From the Event Log:
>
> "HOST NOTIFICATION:
> donmunyak;localhost;DOWN;host-notify-by-email;CRITICAL - You need more
> args!!!"
>
> I am starting Nagios manually using the following string
> # /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg &
>
> After starting Nagios, access to the web interface is successful.
>>From the > Sevice Detail (pipes added for reabability):
>
> Host | Service | Status | Last Check | Duration | Attempt | Status Information
> localhost|PING|UNKNOWN|01-12-2007|16:16:06|3d 19h 18m 19s|1/4|CRITICAL
> - You need more args!!!
You you sure you're using the nagios-plugins? Can you update to the
latest version and try again?
I can't even see the text "You need more args" in check_ping.c.
> I read a thread about strace. Here's the string and output from running strace
>
> don-bsd# # mount -t procfs procfs /proc
> don-bsd# strace -o /tmp/strace_check_ping_output.txt
> /usr/local/libexec/nagios/check_ping -H localhost -w 100.0,20% -c
> 500.0,60% -p 5 {-->>hit enter key}
> CRITICAL - You need more args!!!
> Could not open pipe:
Strace won't help with that kind of problem. Strace prints all system
calls used by a program and its return value, so you can see problems
like permissions denied, file that doesn't exists or where a program get
stuck. It's useful in many cases but unfortunately not that one.
Thomas
More information about the Help
mailing list