Nagios XI complete host details

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Nagios XI complete host details

Post by keerthiprashanths »

But we need document or steps to perform the same...

If you have any please let us know..
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI complete host details

Post by tmcdonald »

bolson wrote:Please find the REST API documentation through the help tab in your Nagios XI web gui. And the API is production ready.
The documentation provides example usage for the API calls. Please read it and let us know if you have any specific questions.
Former Nagios employee
keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Nagios XI complete host details

Post by keerthiprashanths »

We tried as per the document but its not working
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI complete host details

Post by tmcdonald »

Can you please be more specific? What did you try? How is it failing? Can you post any screenshots or error logs? The more data you provide us the better we will be able to assist you.
Former Nagios employee
keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Nagios XI complete host details

Post by keerthiprashanths »

After going through the document I tried to follow but when I finally apply setting and try to move to a new link it throws an error as "error:No API key provided.:

But we checked and found that we have admin rights and we have a API key which says that we are admin.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI complete host details

Post by dwhitfield »

keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Nagios XI complete host details

Post by keerthiprashanths »

We are using https and not http.

Is it again possible to use REST API for the same.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI complete host details

Post by dwhitfield »

Yes, but you'll need to set up curl for the certificate: https://curl.haxx.se/docs/sslcerts.html
keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Nagios XI complete host details

Post by keerthiprashanths »

Thanks dwhitefield.

We checked and found that the cURL is already available in our unix server where the Nagios XI is been installed or hosted.

Version of cURL is 7.19.

Please let us know how to proceed further.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI complete host details

Post by dwhitfield »

You can either set up the certificates as I mentioned, or use the --insecure flag at the end of your curl command.
Locked