Re: [Nagios-devel] Problem with ping-check?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Problem with ping-check?

Post by Guest »

Matthias Eble wrote:
>> I've moved from check_ping to check_icmp.
>> If check_ping can produce unnecessary alerts then why not simply
>> symlink check_ping to check_icmp or remove it?
>
> because check_icmp needs root privileges (setuid root). check_ping
> can be run without uid 0 because ping already has setuid root.
> check_icmp can only be installed with root privileges.
Ouch... I've red your message few seconds after i've been flooded by nagios
alert messages saying:
"check_icmp: Failed to obtain ICMP socket: Operation not permitted".

After i've setuid check_icmp all restored to normal.

Thanks for your help!







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked