Check_ping warning
Posted: Tue Mar 05, 2019 10:32 am
Hello guys
i am testing nagios 4.3 in a virtual environment (virtualbox-debian) and i am monitoring a ubuntu machine, my problems is a constant warning alert PING, i check the ubuntu.cfg file, I have that error since I installed it, i modified the range of ms y % and i stil have a warning alert, can you please tell me where i made the mistake
this is ubuntu.cfg file configuration.
define service {
use generic-service
hostgroup_name xxx
service_description PING
check_command check_ping!200.0,0,20%!500.0,60%
}
Nagios warning
Current Status: WARNING (for 0d 21h 29m 31s)
Status Information: PING WARNING - Packet loss = 0%, RTA = 0.78 ms
Performance Data: rta=0.778000ms;100.000000;500.000000;0.000000 pl=0%;;90;0
And I execute the command directly on the server and I have no warning
./check_ping -H xxx.xxx.xxx.xxx -e 10,2% -c 20,5%
PING OK - Packet loss = 0%, RTA = 0.79 ms|rta=0.794000ms;10.000000;20.000000;0.000000 pl=0%;2;5;0
Thanks in Advance.
Best Regards
i am testing nagios 4.3 in a virtual environment (virtualbox-debian) and i am monitoring a ubuntu machine, my problems is a constant warning alert PING, i check the ubuntu.cfg file, I have that error since I installed it, i modified the range of ms y % and i stil have a warning alert, can you please tell me where i made the mistake
this is ubuntu.cfg file configuration.
define service {
use generic-service
hostgroup_name xxx
service_description PING
check_command check_ping!200.0,0,20%!500.0,60%
}
Nagios warning
Current Status: WARNING (for 0d 21h 29m 31s)
Status Information: PING WARNING - Packet loss = 0%, RTA = 0.78 ms
Performance Data: rta=0.778000ms;100.000000;500.000000;0.000000 pl=0%;;90;0
And I execute the command directly on the server and I have no warning
./check_ping -H xxx.xxx.xxx.xxx -e 10,2% -c 20,5%
PING OK - Packet loss = 0%, RTA = 0.79 ms|rta=0.794000ms;10.000000;20.000000;0.000000 pl=0%;2;5;0
Thanks in Advance.
Best Regards