Hello,
I'm new to using nagios. I'm using the default configurations for pinging our server. Is there a way to check if there are real issues happening from these notifications? Would there be a better RTA threshold to set it to?
Service: PING
State: WARNING
Additional Info:
PING WARNING - Packet loss = 0%, RTA = 112.19 ms
Since there's no packet loss I'm thinking there arent really issues? Thanks for your help and what advice you may have.
RTA and alerts
Re: RTA and alerts
Did you install Nagios Core from source, or via a package manager? That may impact what your "default configurations" are.
If you installed from source, these are the default ping-related checks:
https://github.com/NagiosEnterprises/na ... in#L53-L57
https://github.com/NagiosEnterprises/na ... #L174-L178
https://github.com/NagiosEnterprises/na ... in#L58-L64
If you're comfortable with 112ms for this particular check, I'd suggest adjusting the thresholds passed to the check_ping plugin.
By "default", the sample configs are returning WARNING at >=100ms (or 20% packet loss), and returning CRITICAL at >=500ms (or 60% packet loss):
https://github.com/NagiosEnterprises/na ... cfg.in#L63
Here's the documentation for the check_ping plugin:
http://nagios-plugins.org/doc/man/check_ping.html
If you installed from source, these are the default ping-related checks:
https://github.com/NagiosEnterprises/na ... in#L53-L57
https://github.com/NagiosEnterprises/na ... #L174-L178
https://github.com/NagiosEnterprises/na ... in#L58-L64
Maybe -- I don't know what is acceptable latency for this service, or your network in generaljonathan213 wrote:Since there's no packet loss I'm thinking there arent really issues?
By "default", the sample configs are returning WARNING at >=100ms (or 20% packet loss), and returning CRITICAL at >=500ms (or 60% packet loss):
https://github.com/NagiosEnterprises/na ... cfg.in#L63
Code: Select all
check_command check_ping!100.0,20%!500.0,60%
http://nagios-plugins.org/doc/man/check_ping.html
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/