Check_ping warning

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
MIERDURUS
Posts: 2
Joined: Tue Mar 05, 2019 9:27 am

Check_ping warning

Post by MIERDURUS »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Check_ping warning

Post by scottwilkerson »

This line doesn't look correct

Code: Select all

check_command check_ping!200.0,0,20%!500.0,60%
You have too many warning values, try this

Code: Select all

check_command check_ping!200.0,20%!500.0,60%
then restart nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MIERDURUS
Posts: 2
Joined: Tue Mar 05, 2019 9:27 am

Re: Check_ping warning

Post by MIERDURUS »

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

Post by scottwilkerson »

MIERDURUS wrote:Hey scottwilkerson, thank you so much man, that solved the problem, it was that...
Awesome!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked