Add new alert status

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sandeep_Patil
Posts: 39
Joined: Tue Dec 22, 2015 2:32 am

Add new alert status

Post 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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Add new alert status

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Sandeep_Patil
Posts: 39
Joined: Tue Dec 22, 2015 2:32 am

Re: Add new alert status

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Add new alert status

Post 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.
Former Nagios Employee
Sandeep_Patil
Posts: 39
Joined: Tue Dec 22, 2015 2:32 am

Re: Add new alert status

Post 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.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Add new alert status

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Add new alert status

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked