[Nagiosplug-help] check_ping critical you need more args could not pipe
Don Munyak
don.munyak at gmail.com
Wed Jan 17 06:32:59 CET 2007
On 1/16/07, Thomas Guyot-Sionnest <dermoth at aei.ca> wrote:
> My "Subject:" line ran away!! Resending ;)
>
> On 15/01/07 01:23 PM, Don Munyak wrote:
> > re: check_ping critical you need more args
> > "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
> >
Please clarify "are your sure I'm using nagios-plugins". I installed
Nagios from ports system from within FreeBSD using make, make install
clean with the folder /usr/ports/net-mgmt/nagios.
I did not install any further files.
Maybe I'm confused, but there are several (20+) files in
/usr/local/libexec/nagios/ ....including check_ping.
> > 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:
btw... I can run this same command using check_icmp from commandline
with "no errors", but when I change minimal.cfg to use the check_icmp
for Services and re start Nagios, I get different errors about error
code 127 out of bounds, make sure the plugins are installed.
Thanks
Don
More information about the Help
mailing list