How to create your own notification message?
How to assign different notification messages, for Critical and Warning levels?
Nagios xi - Notification Messages
-
- Posts: 244
- Joined: Tue Feb 22, 2011 5:58 pm
Nagios xi - Notification Messages
Last edited by ecarrasq on Tue May 17, 2011 4:02 pm, edited 1 time in total.
-
- Posts: 578
- Joined: Sat Nov 20, 2010 4:51 pm
Re: Nagios xi - Notification Messages
This should get you started:
http://assets.nagios.com/downloads/nagi ... iables.pdf
http://assets.nagios.com/downloads/nagi ... iables.pdf
-
- Posts: 244
- Joined: Tue Feb 22, 2011 5:58 pm
Re: Nagios xi - Notification Messages
How could I configure it so:
if -w = email
if -c = text
When a service reaches the warning level, it will email. When it reaches a critical state, it will text (meaning it will use the phone number from the contact and send the alert via a text message instead of email)
if -w = email
if -c = text
When a service reaches the warning level, it will email. When it reaches a critical state, it will text (meaning it will use the phone number from the contact and send the alert via a text message instead of email)
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: Nagios xi - Notification Messages
You would need to create your own event handler and apply it to the relevant services (or templates). You can find more information about how these work generally on http://nagios.sourceforge.net/docs/3_0/ ... dlers.html.
-
- Posts: 244
- Joined: Tue Feb 22, 2011 5:58 pm
Re: Nagios xi - Notification Messages
Thank you!
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: Nagios xi - Notification Messages
No problem - let us know if you have any further questions.