check_ping works fine from command line but cgi shows ping resultsas "unknown"

Cristobal Sabroe Yde cris at cdc.unrc.edu.ar
Wed Mar 16 16:23:48 CET 2005


Great!!!
Thanks Davy!
I unpacked and compiled the nagios-plugins 1.3.1 and extracted the 
check_ping into my libexec/ dir  and everything started to work again.

Davy Gaussen escribió:

>Hi,
>
>I had this problem to, try to install the nagios-plugins version 1.3.x, the
>new ones have compatibilities issues with the ping command of some new
>system.
>It worked fine for me.
>
>Davy
>
>----- Original Message -----
>From: "Cristobal Sabroe Yde" <cris at cdc.unrc.edu.ar>
>To: <nagios-users at lists.sourceforge.net>
>Sent: Wednesday, March 16, 2005 3:02 PM
>Subject: [Nagios-users] Re: check_ping works fine from command line but cgi
>shows ping resultsas "unknown"
>
>
>  
>
>>Hi, I have the exact same problem running SuSE 9.1.
>>
>>I can use ping and check_ping under the nagios user in command line but
>>the cgi returns:
>>PING    UNKNOWN   ... /bin/ping -n -U -c 5 xxx.xxx.xxx.xxx
>>
>>Nagios 2.0b1 (tried 2.0b2 as well)
>>Plugins 1.4,
>>Dist: SuSE 9.1
>>uname -a:  Linux moni 2.6.5-7.147-default #1 Thu Jan 27 09:19:29 UTC
>>2005 i686 athlon i386 GNU/Linux
>>
>>If anyone could solve this problem, please let me know.
>>Thanks!
>>------------------------
>>
>>Dirk,
>>
>> have you tried running ping (or the plugin) as user nagios or as root?
>>
>> Probably it"s an access rights problem... IIRC Fedora activates selinux
>> enhancements and thus it might be necessary to change these to allow the
>> nagios user access to the network interface.
>>
>> Arno
>>
>>
>>
>>    
>>
>
>
>  
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cris.vcf
Type: text/x-vcard
Size: 485 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050316/da7071fd/attachment.vcf>


More information about the Users mailing list