Nagios XI complete host details
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Nagios XI complete host details
But we need document or steps to perform the same...
If you have any please let us know..
If you have any please let us know..
Re: Nagios XI complete host details
The documentation provides example usage for the API calls. Please read it and let us know if you have any specific questions.bolson wrote:Please find the REST API documentation through the help tab in your Nagios XI web gui. And the API is production ready.
Former Nagios employee
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Nagios XI complete host details
We tried as per the document but its not working
Re: Nagios XI complete host details
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
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.
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
There's also https://assets.nagios.com/downloads/nag ... gement.pdf which may be of use.
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Nagios XI complete host details
We are using https and not http.
Is it again possible to use REST API for the same.
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
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
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.
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
You can either set up the certificates as I mentioned, or use the --insecure flag at the end of your curl command.