Page 2 of 2
Re: Nagios XI - Automation from Script Issue with Offloaded
Posted: Mon Oct 05, 2015 1:40 pm
by hsmith
Hi chicjo01,
We've been pretty busy today catching up from the weekend. Have you had a chance to try out XI5 to see if it is a possible solution for you? We haven't had a chance to lab anything yet.
Re: Nagios XI - Automation from Script Issue with Offloaded
Posted: Mon Oct 05, 2015 4:22 pm
by chicjo01
I have downloaded and installed the NagiosXI 5 to a test system. I am still waiting on the remote test database to become available. If the database doesn't become available in the next two days, then I will stand one up unofficial to test it.
I have not gotten a chance to integrate the API into the program/script. I was getting NagiosXI 5 installed on the system and working to get the remote database. Will provide more updates as they become available.
Re: Nagios XI - Automation from Script Issue with Offloaded
Posted: Mon Oct 05, 2015 4:24 pm
by hsmith
Thanks for the update!
Re: Nagios XI - Automation from Script Issue with Offloaded
Posted: Wed Oct 07, 2015 2:37 pm
by chicjo01
I have tested NagiosXI 5 with a remote MySQL database using the below API Curl call. It was a success to import the configuration files from /usr/local/nagios/etc/import into the remote MySQL database.
Code: Select all
curl -XGET "http://<Domain Here>/nagiosxi/api/v1/system/importconfig?apikey=<API Key Here>&pretty=1
Thank you for your help on this.
Re: Nagios XI - Automation from Script Issue with Offloaded
Posted: Wed Oct 07, 2015 2:52 pm
by hsmith
Great! I'm glad to hear that it is working. Is there anything else we can do for you in this thread?
Re: Nagios XI - Automation from Script Issue with Offloaded
Posted: Wed Oct 07, 2015 3:16 pm
by chicjo01
hsmith wrote:Great! I'm glad to hear that it is working. Is there anything else we can do for you in this thread?
No, Thank you.