Sending alerts to xi

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Sending alerts to xi

Post by snapon_admin »

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!
netflow alert setup.png
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Sending alerts to xi

Post by tmcdonald »

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.
Former Nagios employee
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Re: Sending alerts to xi

Post by snapon_admin »

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.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Re: Sending alerts to xi

Post by snapon_admin »

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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Sending alerts to xi

Post by jolson »

Did you try specifying https when configuring your Nagios xi connection?
file.png
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.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Re: Sending alerts to xi

Post by snapon_admin »

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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Sending alerts to xi

Post by jolson »

Sounds good - thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI

Re: Sending alerts to xi

Post by snapon_admin »

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 ;)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Sending alerts to xi

Post by ssax »

I'm glad that's working for you, I'll send a note to the devs.