Nagios XI: Send a email in a event handler using Nagios XI v

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Jacobcullen
Posts: 2
Joined: Tue Mar 12, 2019 1:58 am

Nagios XI: Send a email in a event handler using Nagios XI v

Post by Jacobcullen »

Im using a event handler to try to restart a service....

The issue is that when the event handler goes off Lorem Ipsum Temp Mail 10 Minute Mail (before going into a hard state and send the hard notification) I want to send a email saying "Event handler launched....trying to start service". I cant seem to access the $CONTACTEMAIL$ macro (Nagios doc also says it cannot be accessed from a event handler)

Is there any way around this?
Last edited by Jacobcullen on Sun Mar 17, 2019 1:21 pm, edited 1 time in total.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI: Send a email in a event handler using Nagios

Post by npolovenko »

Hello, @Jacobcullen. Is the event handler supposed to send emails to different email addresses depending on what service it is? I'm wondering if you could hardcode the email address to the event handler script or make some kind of logic to send emails to different addresses depending on service names.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked