One of the most common requests from my customers is to see the warning / critical threshold levels - as these are all $ARGS$ and not always in the same arg it can be very difficult to give them that information without having to manually write it all out from the config
I think it would be great to have a dedicated field on the service check for Warning and Critical level - one that we can reference in the check itself like a macro-
This would allow you to pass the value though to the front end:
I'm sure it would also be very useful for the API
Dedicated Field/Macro for Warning and Critical Level
-
- Posts: 228
- Joined: Thu Nov 17, 2016 11:26 am
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dedicated Field/Macro for Warning and Critical Level
This is an interesting idea that I'll pass along, however because every plugin and command is setup differently (and customizable by each user) the execution of this does seem a daunting task.
Re: Dedicated Field/Macro for Warning and Critical Level
I realize this won't provide the visualization, but as a standard, have you thought about assigning $USERn$ variables as standards for base alerting logic with your standard set of services, rather than $ARGn$?
Former Nagios Employee
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dedicated Field/Macro for Warning and Critical Level
Actually, many large customers that want to accomplish what you want to do, use free variables and apply them to the service template, then they get applied to all the services but can be overridden by using different values on the service configuration.
https://assets.nagios.com/downloads/nag ... tvars.html
In XI these can be set on the Misc tab when editing a service or service template
https://assets.nagios.com/downloads/nag ... tvars.html
In XI these can be set on the Misc tab when editing a service or service template