Same check with different critical threshold

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
seaannn
Posts: 2
Joined: Tue Jun 25, 2013 7:43 pm

Same check with different critical threshold

Post by seaannn »

How would I go about using the same service check with multiple different critical threshold? If I have two service check that is the same and have different critical threshold, how do I go about defining the host take only one of those service check. Is there a way to define a service check having higher precedence than another?

For example:

I have two memory service check with critical threshold of 90% and another at 98%. The 90% is set at the highest level and get inherited by thousands of servers. There's a few systems that I don't want it to inherit the 90% service check. Can I define 98% check and tell it to ignore the 90%? How I go about doing this?

I guess I can remove the host from the highest level and then define the host individually but than I have to also remove all the other service checks as well and it starts to get messy. If someone encounter this issue before and worked through a way to accomplish this without changing the hostgroup/host relationship, let me know how you did it.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Same check with different critical threshold

Post by jdalrymple »

seaannn wrote:If someone encounter this issue before and worked through a way to accomplish this without changing the hostgroup/host relationship, let me know how you did it.
If you want them all to be in the same hostgroup, and that hostgroup is where the service comes from, the only way I know of to do it is with custom object variables:

https://assets.nagios.com/downloads/nag ... tvars.html

If that won't work for you, I think you'll have to break the specials out into their own hostgroup.
Locked