Help with Nagios xi -- Integration with Service-Now

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
robi.rodriguez
Posts: 4
Joined: Wed Feb 03, 2021 11:21 am

Help with Nagios xi -- Integration with Service-Now

Post by robi.rodriguez »

Help with the latest version of Nagios xi -- Integration with Service-Now for Incident creation. We do not use Event Management in Service-Now so the Service-Now connector to Nagios xi will not work for us. We currently have the RESTAPI (Heracles) with our old Legacy Nagios Check_Mk setup but I am looking for newer documentation or information on how to setup the integration for ticket creating such as Incidents and GRQs to Service-Now from Nagios xi alerts. Any information would be very helpful. Thank you
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Help with Nagios xi -- Integration with Service-Now

Post by dchurch »

Hi robi.rodriguez!

Nagios allows it so that anything you can execute on the server from the command line can be executed in response to a Nagios event, such as the host or service going down.

Basically, you'd be writing a shell script the makes an API call to ServiceNow, then adding it as a custom command, then adding it to Nagios' command list, then using it in place of an email alert. If you construct a shell script that makes an API call to ServiceNow, I can help you set it up to fire off in place of a notification.

I'm not too familiar with how the ServiceNow REST API works, nor do I know what data you want to put in the system, or I'd be able to help you further.

Another possible solution

If you're not up to coding up a shell script, it might be easier to turn on ServiceNow's incident creation and let it integrate with Nagios. ServiceNow has their own integration into our system, in which their server calls the Nagios xi server instance and polls Nagios' event queue. How to set this up is documented on ServiceNow's site here.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
robi.rodriguez
Posts: 4
Joined: Wed Feb 03, 2021 11:21 am

Re: Help with Nagios xi -- Integration with Service-Now

Post by robi.rodriguez »

Yeah unfortunately we are not licensed for the Service-Now "Events Management" connector integration. I have read and found several methods to integrating with Service-Now. However I was hoping I could get more info in regards to what all is required and or examples of how someone has set it up with this method.

https://github.com/js-murph/nagios-service-now-ticketer
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Help with Nagios xi -- Integration with Service-Now

Post by dchurch »

Unfortunately we cannot offer support for integrating with ServiceNow, other than provide you a link to the official ServiceNow documentation on how to do it.

The GitHub project you linked is 3rd-party software that's been unmaintained since 2014. It's not guaranteed it will work, but you're welcome to try. Since we're not responsible for it, we can't provide support for it; reach out to the plugin's authors for support.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.