Sending alerts to xi
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Sending alerts to xi
Pretty sure I'm just dumb, but can someone ELI5 how to setup alerts that get sent to Nagios xi? All I need explaining is the xi side. In NA I have the xi server added, and I have the service/hostname setup to how I want it. I have the alert created in NA, I just need to know how to create the service in xi that will receive the data from NA and generate the alert. Screen shot attached for what I have so far. Educate me!
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9117
- Joined: Mon Sep 23, 2013 8:40 am
Re: Sending alerts to xi
Just to clarify, do you truly mean alert as in a notification or as in changing the status of a service in Nagios xi?
If you are trying to update a service in xi when something bad happens in NA, you should already have that set up since your NRDP settings are in place. Do you have anything in xi under Admin -> Unconfigured Objects? The first time a NRDP result comes in, if there is no service set up to receive it you will see entries on this page. You can run a wizard against them that will generate the host and services for you.
If you are trying to update a service in xi when something bad happens in NA, you should already have that set up since your NRDP settings are in place. Do you have anything in xi under Admin -> Unconfigured Objects? The first time a NRDP result comes in, if there is no service set up to receive it you will see entries on this page. You can run a wizard against them that will generate the host and services for you.
Former Nagios employee
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Re: Sending alerts to xi
Nope, nothing in Unconfigured objects. And yeah, I want to change the status of a service in xi and have xi send the notification email.
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Re: Sending alerts to xi
Hmm. It's because of a redirect rule we have in place to force SSL. This is a requirement of our security team and can't be changed. K, well that being said, is there a way to change the NA alert message? The current one isn't overly helpful (at least not to the people that need to get it) which is why we wanted xi to handle the notification. If I can change the alert message in NA, though, that would also suffice.
-
- Attack Rabbit
- Posts: 2560
- Joined: Thu Feb 12, 2015 12:40 pm
Re: Sending alerts to xi
Did you try specifying https when configuring your Nagios xi connection?
Since nrdp is accessible via https, I do not see why this wouldn't work.You do not have the required permissions to view the files attached to this post.
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Re: Sending alerts to xi
Oh, no. I had assumed it wasn't accessible via https because of the little "Note: Remote clients must be able to contact this server on port 80 TCP (HTTP) in order to access the NRDP API and submit check results." comment on there. I'll try that and let you know.
-
- Attack Rabbit
- Posts: 2560
- Joined: Thu Feb 12, 2015 12:40 pm
Re: Sending alerts to xi
Sounds good - thanks!
-
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
Re: Sending alerts to xi
That worked. It's a different name, but that's because of how we have it setup in xi vs NA so, not pertinant to this issue. Feel free to lock this up, and thanks!
might want to change/remove the "requires port 80" line in a future release
might want to change/remove the "requires port 80" line in a future release

-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Sending alerts to xi
I'm glad that's working for you, I'll send a note to the devs.