Page 1 of 1
Nagios XI Integration to MoogSoft using Webhook
Posted: Thu Sep 26, 2024 4:29 am
by ashokkuma
Hello Team,
Appreciate your support in setting up Nagios XI to send the events data to MoogSoft using Webhook integration.
BR,
Ashok Kanojia
Re: Nagios XI Integration to MoogSoft using Webhook
Posted: Thu Sep 26, 2024 9:32 am
by lgute
Hi
@ashokkuma, thanks for reaching out.
Are you looking for assistance with Webhook?
The Slack wizard uses a Webhook plugin (
configwizards/eventhandler_notify_slack), if you are looking for examples.
There are also a few Webhook plugins on the
Nagios Exchange
Re: Nagios XI Integration to MoogSoft using Webhook
Posted: Thu Sep 26, 2024 12:37 pm
by snapier3
Integration with Moogsoft is not difficult however it will require a modicum of strategy be employed to make XI something of a usable signal source.
Signal Origin Type:
This will be either an alert using the NagiosXI notification workflow or an event handler implementation. Both options will require a little scripting.
The notification workflow allows you to use basic criteria and controls already available within XI to manage the signal being sent to Moogsoft.
https://assets.nagios.com/downloads/nag ... .75%2C0%5D
The event handler evaluation of the check status results requires deeper programming but, is more powerful in my opinion and can be set at the global level.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Signal Payload:
The payload format required by Moogsoft is pretty simple.
https://docs.moogsoft.com/moogsoft-clou ... -apis.html
Populating the payload:
This is where your host and service naming conventions come into play. You can build a descriptive payload to forward to Moogsoft using the Nagios Macros and custom vars to align and set your tags.
Signaling Moogsoft:
This is just an http POST with a json payload as described in the Moogsoft docs.
Happy Monitoring!
--SN