Problem with ping-check?

Marcin Rożek marcin.rozek at am.edu.pl
Mon Oct 15 14:59:01 CEST 2007


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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list