custom email per service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brettmlawrence
Posts: 31
Joined: Tue Oct 27, 2015 11:48 am

custom email per service

Post by brettmlawrence »

We have a user who monitors and gets alerts for many different services and would like to add a short custom message that varies depending on the service. Is it possible to create that and how to start if so.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: custom email per service

Post by ssax »

Yes, you could use custom object macro:

https://assets.nagios.com/downloads/nag ... tvars.html

The general process would be:

- Add the custom macros on the services
- Adjust the service notification command that the user uses (create new or modify the old, you will see inside the contact) to include the custom object macro.

You should be able to follow this guide to get what you're looking for:

https://assets.nagios.com/downloads/nag ... iables.pdf

Let us know if you have any questions.

Thank you
Locked