You are here

How do I... change the format of the notification email body,.

2 posts / 0 new
Last post
SifuGreg
SifuGreg's picture
How do I... change the format of the notification email body,.

Notification emails sent from my OpsView Atom setup are too long to read on my MS Band.  I want to restrucutre the body to have more pertinent info at the top for quick identification.  Where is the mail template located?

Duncan Ferguson
dferguson's picture
The email template (as used

The email template (as used by 'notify_by_email') is /usr/local/nagios/libexec/notifications/com.opsview.notificationmethods.email.tt

Any changes made to this template will be lost on an upgrade, so it might be better for you to copy both notify_by_email and the template to new names.modify the script to use the new template and then configure those in Opsview.

Other notification methods have the details directly in the scripts.

Duncs