Problem on check_ping

bombadur bombadur at email.it
Mon Aug 1 12:36:38 CEST 2005


Alle 17:43, venerdì 29 luglio 2005, Marc Powell ha scritto:

>
> > You will probably need to make it suid root (chmod u+s check_icmp)
> > before it will work, though.
>
> And make sure SELinux allows for its execution by non-root users.

uhm, a little better, but the same output on the html page.

SELinux is being disabled (which gave me errors to access the socket), I 
did theese commands on check_icmp, as follow:

# chown root:nagios check_icmp
# chmod 4750 check_icmp

Theese are the outputs from command line:
# /usr/lib/nagios/plugins/check_icmp -H 192.168.1.25 -w 3000.0,80% -c 
5000.0,100% -p 1
OK - 192.168.1.25: rta 0.096ms, lost 0%|rta=0.096ms;3000.000;5000.000;0; 
pl=0%;80;100;;

and for the nagios user:
$ /usr/lib/nagios/plugins/check_icmp -H 192.168.1.25 -w 3000.0,80% -c 
5000.0,100% -p 1
OK - 192.168.1.25: rta 0.039ms, lost 0%|rta=0.039ms;3000.000;5000.000;0; 
pl=0%;80;100;;


But on the html page, I still have a warning:

Current Status:   WARNING    
Status Information: WARNING - 192.168.1.25: rta 0.025ms, lost 0%
Current Attempt: 1/3
State Type: HARD
Last Check Type: ACTIVE
Last Check Time: 01-08-2005 12:28:28
Status Data Age: 0d 0h 3m 27s
Next Scheduled Active Check:   01-08-2005 12:33:28
Latency: < 1 second
Check Duration: < 1 second
Last State Change: 01-08-2005 09:29:55
Current State Duration: 0d 3h 2m 0s
Last Service Notification: N/A
Current Notification Number: 0
Is This Service Flapping? N/A
Percent State Change: N/A
In Scheduled Downtime? 
  NO  
Last Update: 01-08-2005 12:31:52
Service Checks:   ENABLED  
Passive Checks:   ENABLED  
Service Notifications:   ENABLED  
Event Handler:   ENABLED  
Flap Detection:   ENABLED  
 
Please, is there someone can help me to avoid this warning?
Googlin' I read a lot of people having similar troubles, but it seems to 
me there aren't defitive solutions.
At these conditions (warning on pings) I can't absolutely use 
Nagios.. :-((

thanks in advance


-- 
saluti, bombadur

MajaGLUG, il LUG piu` grande d'Italia
http://www.majaglug.net

       ,,_     -*> Snort! <*-
      o"  )~    experienced
       ''''    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050801/10dd707a/attachment.sig>


More information about the Users mailing list