Page 1 of 1
Add new alert status
Posted: Thu Apr 14, 2016 10:44 am
by Sandeep_Patil
Hi Team,
We are using Nagios XI 5.2.3.
Need to know can we add new alert status,
e.g. If service down show "Highly Critical" instead of "Critical".
Need to identify and highlight highly critical services.
Thanks,
Sandeep Patil.
Re: Add new alert status
Posted: Thu Apr 14, 2016 12:04 pm
by bwallace
This is most definitely not possible. You are asking to customize the service state of the corresponding return code. Here is a chart of return code/ service state for more info:
https://assets.nagios.com/downloads/nag ... inapi.html
Can you let us know what conditions prompt this question? With more background info, perhaps there is another solution we could suggest.
Re: Add new alert status
Posted: Thu Apr 14, 2016 1:30 pm
by Sandeep_Patil
This require to identify highly critical service among other services and action to resolve first highly critical service the other.
Can possible configure different colour for a particulate service (highly critical) to identify from all critical red alerts.
Re: Add new alert status
Posted: Thu Apr 14, 2016 1:37 pm
by rkennedy
Nope, this isn't going to be possible as @bwallace mentioned. Your critical alerts should be taken seriously, and services shouldn't get to this point without being addressed.
I recommend adjusting your warning / critical values appropriately, to work with your environment.
Re: Add new alert status
Posted: Thu Apr 14, 2016 1:45 pm
by Sandeep_Patil
As per discussion no option for alert Status add and not possible to change alert Colour.
if I am wrong please correct me or close ticket.
Re: Add new alert status
Posted: Thu Apr 14, 2016 1:49 pm
by eloyd
I can give you a way to create a "highly critical" service, but not a "highly critical" service check result. Basically, create a second service check that checks the same thing as the first service check, but only executes (using dependencies) if the first service check is in a failure state. Then make your second service check notifications be something you can't ignore. Now you have a second layer of service checks that only fire after the first service check fails, meaning you have a broken first check and a "really broken" second check. You can run separate event handlers, notifications, and escalations on the two things.
Re: Add new alert status
Posted: Thu Apr 14, 2016 2:30 pm
by bwallace
I'm going to go ahead close this thread as the original question has been answered and confirmed by 3 people - it is not possible to change the wording of a service state for a return code.
eloyd posted an alternative but it is highly impractical to have an additional layer of service checks, as he puts it "a broken first check and a "really broken" second check" - that is redundant and makes for totally unnecessary administrative overhead. Feel free to open another thread if you have questions about anything else though, thanks.