Warn one address Critical another

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
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Warn one address Critical another

Post by JohnFLi »

for some hosts....if a Service is only a warning, I would like the notification go to one address, if it's critical I want it to go to another address.

Is that possible?
Everybody is somebody else’s weirdo
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Warn one address Critical another

Post by eloyd »

You need two services that use two different notification_options and two different contacts set for the first to notify on warning and the second to notify on critical. Look at http://nagios.sourceforge.net/docs/3_0/ ... ml#service for details on that option.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Warn one address Critical another

Post by JohnFLi »

Gotcha.....didnt think of that.

THank you
Everybody is somebody else’s weirdo
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Warn one address Critical another

Post by slansing »

Did that do it for ya' John?
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Warn one address Critical another

Post by JohnFLi »

yup, that will do it. thx
Everybody is somebody else’s weirdo
Locked