Page 1 of 1

Changing the Send Mail notificatoin containt in Nagios XI

Posted: Tue Jan 23, 2018 3:39 pm
by naranant
Hi,

Can you guide me about the changing the subject line for notification received from Nagios?

Below is the template how we receive it and I am looking to replace the text root and append the Name like Nagios 1 as we have 4 difference instances.

[email protected]

***** Nagios XI Alert *****

Nagios has detected a problem with this service.

Notification Type: PROBLEM

Service: Ping
Host: lxxxxx-xxxx
Address: lxxxxxx3-xxxx
State: CRITICAL

Re: Changing the Send Mail notificatoin containt in Nagios X

Posted: Tue Jan 23, 2018 4:53 pm
by dwhitfield
naranant wrote: I am looking to replace the text root and append the Name like Nagios 1 as we have 4 difference instances.
You mean change the sent from address? If so, -r or -f and the address you want it to come from. The "or" is because sendmail is not always really sendmail. It's probably not really important. Just try one and if it works great! If it doesn't, try the other. If that also doesn't work, let us know.