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.
Nagios XI - Automation from Script Issue with Offloaded DB
Re: Nagios XI - Automation from Script Issue with Offloaded
Former Nagios Employee.
me.
me.
Re: Nagios XI - Automation from Script Issue with Offloaded
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.
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
Thanks for the update!
Former Nagios Employee.
me.
me.
Re: Nagios XI - Automation from Script Issue with Offloaded
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.
Thank you for your help on this.
Code: Select all
curl -XGET "http://<Domain Here>/nagiosxi/api/v1/system/importconfig?apikey=<API Key Here>&pretty=1Re: Nagios XI - Automation from Script Issue with Offloaded
Great! I'm glad to hear that it is working. Is there anything else we can do for you in this thread?
Former Nagios Employee.
me.
me.
Re: Nagios XI - Automation from Script Issue with Offloaded
No, Thank you.hsmith wrote:Great! I'm glad to hear that it is working. Is there anything else we can do for you in this thread?