Search found 3 matches
- Mon Jan 09, 2017 11:06 am
- Forum: Nagios XI
- Topic: Missing REST API endpoints?
- Replies: 5
- Views: 2250
Re: Missing REST API endpoints?
It looks like the nagiosxi.conf file was changed in support of implementing SSL. Thankfully the original file was renamed to .old and I was able to use it as a context for updating the new file. Long story short, I'm able to get responses from the REST API now. Thanks for the assistance!
- Thu Jan 05, 2017 5:15 pm
- Forum: Nagios XI
- Topic: Missing REST API endpoints?
- Replies: 5
- Views: 2250
Re: Missing REST API endpoints?
NagiosXI is installed in /usr/local/. curl -XGET "http://<myhost>/nagiosxi/api/v1/objects/hoststatus?apikey=<mykey>&pretty=1" gets the following response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found<...
- Thu Jan 05, 2017 12:25 pm
- Forum: Nagios XI
- Topic: Missing REST API endpoints?
- Replies: 5
- Views: 2250
Missing REST API endpoints?
I currently have NagiosXI 5.3.0 installed on a CentOS 6.7 server. I've been looking to use the REST API, however, every time I try to GET anything, I get a 404 returned. Looking at the error logs, I see "File does not exist: /usr/local/nagiosxi/html/api/v1/system". Going to the /usr/local/...