Limiting notifications for a known service issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Limiting notifications for a known service issue

Post by manymiles »

I'm monitoring my postfix queues using Nagios XI 2012R2.2.

Occasionally, I get back ups of mail for a reason that I am aware of but cannot control, for example, the MX destination for a foreign domain becomes degraded and some of my outgoing mail sits in the queue waiting for that destination to return but some gets delivered.

Therefore, my service state fluctuates between ok, warning and critical "frequently", but, not frequently enough to trigger flapping.

Since I am aware of the base issue as one out of my control, I'd like a way to NOT be notified of service problems for that service for a period of time.

I attempted to use the "Delay next notification", but, like it says on that page, it will not delay the next notification if the state changes. So, that didn't work. (As a secondary question, what IS the purpose of "delay next notification" if it does not actually delay notifications?)

I know I can use downtime to suppress notifications, but, I'm not really sure that it is appropriate?

Is there a better way to temporarily not be notified of a given service for a period of time other than downtime, or is that one way that downtime SHOULD be used?

Thanks for reading!

Miles
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Limiting notifications for a known service issue

Post by slansing »

You can also acknowledge a service/host problem to suppress alerts. Delay Next Notification does work as intended. The issue you are running into is that when the state changes it resets the retry interval, and subsequently the notification withholding on that object.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Limiting notifications for a known service issue

Post by manymiles »

slansing wrote:You can also acknowledge a service/host problem to suppress alerts.
Thanks for that. But, that too gets cleared when it changes state, so, I don't think I am any better off.

Any other ideas?

Miles
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Limiting notifications for a known service issue

Post by slansing »

Well you can of course disable notifications on the object, or set up notification periods in which you will be notified. You can also set specific notifications to be sent, for instance if it commonly flaps between ok and warning, you could limit notifications to critical only. Downtime would work as well, though it does sound weird applying it in this situation it would serve it's purpose.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Limiting notifications for a known service issue

Post by lmiltchev »

Therefore, my service state fluctuates between ok, warning and critical "frequently", but, not frequently enough to trigger flapping.
You can change the low/high flap thresholds for a host/service to adjust the value according to your specific environment.
Be sure to check out our Knowledgebase for helpful articles and solutions!
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Limiting notifications for a known service issue

Post by manymiles »

Good suggestions. Thanks guys!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Limiting notifications for a known service issue

Post by slansing »

Sure, let us know how this works out, and if you are ready for us to close the thread.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: Limiting notifications for a known service issue

Post by manymiles »

You can close it. I'm not sure when I'll get back to tweaking that situation.
Locked