Hi,
I would like to create custom email notification to include a custom URL to a wiki support page based of the type of alerts.
E.g. Service CPU high utilisation alert. In the email content, it will have a custom field that contain an URL that alert handler can use to have more information about that specific item.
Any help on this is appreciated.
Thanks.
Custom email notication
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Custom email notication
You'll need to use custom object variables:
http://nagios.sourceforge.net/docs/nagi ... tvars.html
Configure --> Core Configuration Manager --> service templates --> Choose/Create template --> Misc Settings --> Manage Variable Definitions
I chose service templates, you could apply it to a host template or specific to individual hosts/services also. The Variable name must start with an underscore (_)
This info should get you most of the way - let us know if you need anything further.
http://nagios.sourceforge.net/docs/nagi ... tvars.html
Configure --> Core Configuration Manager --> service templates --> Choose/Create template --> Misc Settings --> Manage Variable Definitions
I chose service templates, you could apply it to a host template or specific to individual hosts/services also. The Variable name must start with an underscore (_)
This info should get you most of the way - let us know if you need anything further.
You do not have the required permissions to view the files attached to this post.