Hello There,
I am trying to update the notification command to notify-host/service-by-email from xi_host/service_notification_handler.
When using notify-host/service-by-email notification method, email alerts are being sent from email ID nagios@nagiosxiserver
When using xi_host/service_notification_handler notification method, email alerts are sent from ID configured in Mail Settings.
What needs to be updated in notify-host/service-by-email command, so it picks the sender address from Mail Settings.
Thank You!!
Question about Notification commands
-
Sampath.Basireddy
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
Re: Question about Notification commands
notify-host/service-by-email will not have visibility into that setting, because that command uses the raw /bin/mail command to send email, which in turn uses postfix. You will need to configure that on your server, or have your mail admin do so.
Former Nagios employee