Host and services Details

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Host and services Details

Post by RIDS_I2MP »

Hello Team,

We have almost 500 servers monitored in our Nagios XI server.

We want to get the data of all hosts and respective services running on them. In other words, I want to get the details of all hosts and which services are running on which host.

Can you please let me know if it is possible to get the data?
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host and services Details

Post by scottwilkerson »

This is available in the API
Go to Help -> Objects Reference

and you can pull these from

Code: Select all

GET objects/hoststatus
GET objects/servicestatus
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Host and services Details

Post by RIDS_I2MP »

Hello,

I am not able to find that option in GUI. PFA the screen shot for the same.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host and services Details

Post by scottwilkerson »

RIDS_I2MP wrote: I am not able to find that option in GUI. PFA the screen shot for the same.
Oh, you are running an old version, the API was added in XI 5.0.0+

If you upgrade to the latest you would have those options
https://assets.nagios.com/downloads/nag ... ctions.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked