Delayed notification to a second contact

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
Shax420
Posts: 2
Joined: Wed Aug 21, 2013 8:21 am

Delayed notification to a second contact

Post by Shax420 »

Hello dear forum members,

I'm having an issue and dunno if anyone can help me solve this.

Let's take a service for example. Let's say I want the main admin to get

a notification immediately when there is a non-OK hard state for Memory Load. This same notification

I wanna send it with a delay of 2 hours (1-5 minutes while testing it) to a second contact.

Picture this scenario. Main admin's inbox get's a notification. If the main admin

doesn't acknowledge the problem (which would cancel out a first_delay_notification), a second notification is sent

to another contact. The main admin won't receive more than 1 notification and i have disabled notification intervals.

I've tried doing this with 2 service templates pointing to different contact groups, one with first_notification_delay for 120 the other 0.

But the template hierarchy messes things up and only 1 mail is sent, the delayed notification never gets sent.

Would appreciate any help solving this issues. Take care, one love !
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Delayed notification to a second contact

Post by slansing »

What you need are service/host escalations, please view these pages as they will show you what definitions you need to add to your .cfg files, and how to use them:

http://nagios.sourceforge.net/docs/3_0/ ... escalation

http://nagios.sourceforge.net/docs/3_0/ ... escalation
Shax420
Posts: 2
Joined: Wed Aug 21, 2013 8:21 am

Re: Delayed notification to a second contact

Post by Shax420 »

Thank you for the fast reply

I will check the links out

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

Re: Delayed notification to a second contact

Post by slansing »

No problem, if you have questions you can always reply here!
Locked