Notification Intervals for Contacts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mattyra
Posts: 11
Joined: Sun Jan 05, 2014 5:32 pm

Notification Intervals for Contacts

Post by mattyra »

Hi All,

I have recently connected Nagios to send emails to my helpdesk solution and my helpdesk then determines what to do with the emails (how it enters them into the helpdesk etc.)

After a little bit of tweaking (removing recovery, warnings etc from the email list for the helpdesk contact) makes the system only register errors that it is supposed to and this works really well.

Now the issue. I have set the notification interval for the service and host checks to continue to send email notifications if the issue isnt fixed and then this has been replicated to the helpdesk. This causes an issue in the helpdesk where multiple tickets are created for the one issue. Just wondering how I would set a notification interval of 0 to the contact.

Thanks,
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Notification Intervals for Contacts

Post by Box293 »

Notification interval is not a contact setting, it is a host or service object setting.

The best approach is to have a host template which has this defined.

Then apply this template to all your hosts and they will inherit the setting (only if it hasn't explicitly defined on the host object).

Services will also inherit the host object notification settings, only if it hasn't explicitly defined on the service object.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mattyra
Posts: 11
Joined: Sun Jan 05, 2014 5:32 pm

Re: Notification Intervals for Contacts

Post by mattyra »

Thanks for your reply box.

Wont this however remove the re-notifications from happening for other users.

I have the notification intervals set well, but for one user (the helpdesk user).

Perhaps I just need to only have one notification per error.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Notification Intervals for Contacts

Post by Box293 »

mattyra wrote:Wont this however remove the re-notifications from happening for other users.
Yes you are correct.

An alternative to this is host and service escalations. Escalations take precedence over the contact and notification options on objects.

You can create one set of escalations for one contact and another set of escalations for other contacts. Basically for the contact who only needs 1 notification, first escalation = 1 and last escalation = 1. For the other contacts first escalation = 1 and last escalation = 0 (continual).

I suggest using contact groups, even if there is only 1 member in the contact group it's much easier to update contacts later.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked