AW: plugin 1.4 - check_ping

oliver.steenbuck at lhsystems.com oliver.steenbuck at lhsystems.com
Tue Sep 13 15:56:12 CEST 2005


What kind of internal rules do you mean ?
Asfar as I can see check_icmp can not run when it is not setuid root as I would guess that it requires some low level access to networking stuff.

-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Marco
Borsani
Gesendet am: Dienstag, 13. September 2005 15:50
An: Rob Moss
Cc: NAGIOS
Betreff: R: [Nagios-users] plugin 1.4 - check_ping

1) Yes , I compiled on same server (same steps of 1.3 plugins)

2) ldd /usr/local/nagios/libexec/check_ping
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        /usr/lib/libc.2 =>      /usr/lib/libc.2

3) ok

4) Yes, I can run /usr/sbin/ping as nagios user

Other ideas?

Actually I can not use check_icmp due some internal rules;
check_icmp has 755 persissions (not 4555) , but it is running correctly.

Regards
Marco Borsani

-}-----Messaggio originale-----
-}Da: nagios-users-admin at lists.sourceforge.net
-}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Rob Moss
-}Inviato: martedì 13 settembre 2005 15.04
-}Cc: NAGIOS
-}Oggetto: Re: [Nagios-users] plugin 1.4 - check_ping
-}
-}
-}
-}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



-------------------------------------------------------
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050913/cb1c4a72/attachment.html>


More information about the Users mailing list