Page 1 of 1

AWS SNS with Nagios

Posted: Wed Dec 21, 2016 9:46 am
by bsivavani
Hi Support,

We are trying to integrate AWS SNS with Nagios.

Could you please guide us how we can configure this setup.

Kindly let us know if any more information is required.

Re: AWS SNS with Nagios

Posted: Wed Dec 21, 2016 12:06 pm
by avandemore
What do you mean by "integrate AWS SNS with Nagios"? We do not use or test against AWS products, but we may have a plugin here if you are trying to monitor something:

https://exchange.nagios.org/

If you don't find something appropriate, you can write your own custom plugin. Here are some details on that:

https://nagios-plugins.org/doc/guidelines.html
https://mathias-kettner.de/checkmk_localchecks.html
http://www.yourownlinux.com/2014/06/how ... cript.html

Let us know if that helped.

Re: AWS SNS with Nagios

Posted: Wed Dec 21, 2016 12:55 pm
by bsivavani
My request is similar to below forum, but not mentioned how to achieve.

viewtopic.php?t=33039&p=139624

Re: AWS SNS with Nagios

Posted: Wed Dec 21, 2016 1:45 pm
by avandemore
There are multiple methods Nagios can use to receive passive checks.

One such method is NSCA. The other post mentions NRDP. Another is SNMP traps. Do any of these work for you?
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... h_NRDS.pdf

Re: AWS SNS with Nagios

Posted: Thu Dec 22, 2016 9:34 am
by bsivavani
Thanks for the update.

My issue is I have service SNS_Status created in Nagios.
I need to send alert to service (SNS_Status) in Nagios using http end point (Nagios url: http://nagiosxi-prod.rwe.com/nagiosxi).
I know we can do it using send_nrdp.sh script, but in AWS SNS console we have an option to send alerts to http endpoint (screen shot attached).

How we can send alerts to Nagios XI service (SNS_Status) using http end point (http://nagiosxi-prod.rwe.com/nagiosxi) .

Kindly suggest.

Re: AWS SNS with Nagios

Posted: Thu Dec 22, 2016 12:42 pm
by avandemore
Both NRDS and NSCA use http endpoints. Follow the document for whichever transport method you chose to install and configure the transport layer.