Hello,
Is it possible to manipulate an url so I just get the status of a host and its services?
http://servername/nagiosxi/includes/com ... w=services for example followed by, for example host=DUMMYSERVERNAME, which would result in getting some view like this: (like a permalink)
Url to host status
Url to host status
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Url to host status
Well you can pull this by using the get perma-link icon on a host/service combination by navigating to Home > Hosts > Clicking the hosts name, then using the expand button to see all of it's services, are you not looking for this?
Re: Url to host status
Yes it seems so. An when i attach a backend api, username and password wouldn't be required correct?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Url to host status
Yes, you do have to specify and username and ticket in the GET request parameters, but you do not need to login.WillemDH wrote:An when i attach a backend api, username and password wouldn't be required correct?
You could also get just the xml (data) for the request with:
Code: Select all
http://<ip>/nagiosxi/backend/?cmd=getservicestatus&combindedhost&host_name=<hostname>Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Url to host status
Ok, thanks. I tested and verified this and works perfectly! Thanks. thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net