Ping: Different WARNING / CRITICAL values for each


#1

Hi All.

In a new installation, I’m only using Nagios to measure the Latency of our WAN / LAN connections.

Is there a way I can set different Warning and Critical values for each connection, as each should have a different ‘normal’ latency?

Thanks for your help


#2

check out how to define a service with parameters and use them.

nagios.sourceforge.net/docs/3_0/macros.html

example 2 is what you are looking for.