Report for all hosts in my Nagiosxi server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
IT-OPS-SYS
Posts: 184
Joined: Sun Jan 07, 2018 12:56 pm

Report for all hosts in my Nagiosxi server

Post by IT-OPS-SYS »

hi team,

I would like to export a file which contains the list of all the hosts with their respective IP address running on my nagios XI server.

I can see the hosts name in the file: cat /usr/local/nagios/etc/hosts but i dont see the mapping IP address to all these hosts.

I tried report tab but could not find the field for ip address.

thanks in advance
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Report for all hosts in my Nagiosxi server

Post by scottwilkerson »

We don't have a report for this but it is available via the API
Help -> API Docs -> Objects Reference -> GET objects/host

The fields in the JSON you are looking for is host_name & address
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
IT-OPS-SYS
Posts: 184
Joined: Sun Jan 07, 2018 12:56 pm

Re: Report for all hosts in my Nagiosxi server

Post by IT-OPS-SYS »

got it sir. thanks

you can close this thread
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Report for all hosts in my Nagiosxi server

Post by scottwilkerson »

IT-OPS-SYS wrote:got it sir. thanks

you can close this thread
Great

Closing thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked