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
Check_ping warning
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_ping warning
This line doesn't look correct
You have too many warning values, try this
then restart nagios
Code: Select all
check_command check_ping!200.0,0,20%!500.0,60%Code: Select all
check_command check_ping!200.0,20%!500.0,60%Re: Check_ping warning
Hey scottwilkerson, thank you so much man, that solved the problem, it was that...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_ping warning
Awesome!MIERDURUS wrote:Hey scottwilkerson, thank you so much man, that solved the problem, it was that...
Locking thread