plugin 1.4 - check_ping
Rob Moss
robmossrm at aol.com
Tue Sep 13 15:03:46 CEST 2005
Marco Borsani wrote:
>Hi all !
>
>I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but when I
>run check_ping command (release 1.45) a receive a "Memory fault(coredump)"
>#> ./check_ping -H IPADDRESS -w 100,10% -c 200,20%
>
>Same command using check_ping release 1.11 works fine.
>
>Do you know why?
>
>
This could be caused by any number of reasons..
1. Did you compile nagios / nagios-plugins on this server (as opposed to
compiling on some other server and copying the binaries over)
2. Run 'ldd /path/to/check_ping' and send back the output
3. Check if check_ping and/or /usr/bin/ping is setuid
4. Can you run /usr/bin/ping as the nagios user
You could alternatively try the check_icmp program which runs the icmp
ping itself, as opposed to the check_ping program which is a wrapper
around /usr/bin/ping. check_icmp also takes exactly the same command
arguments. Just remember that check_icmp needs to be setuid: chmod'ed
to 4555 and ownership as root
Cheers
rob.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list