Need report showing host_names and IP addresses

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

Need report showing host_names and IP addresses

Post by ebp12100 »

I've been asked to pull a report from our Nagios Core server, showing a list of all Windows servers (host_name) and its associated IP address. Is there a report feature in Core where I could pull this information? I'm not a coder or very good script writer. We're running the latest version of CentOS on this Core server.

Any help would be appreciated. Thanks!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Need report showing host_names and IP addresses

Post by dwhitfield »

If you take a look at https://assets.nagios.com/downloads/nag ... .html#host you'll notice that IP address is not a required field. Because of this, it's unlikely such a report will ever be built in. That said, you are welcome to create a feature request at https://github.com/NagiosEnterprises/na ... issues/new

Since they are Windows machines, you should be able to pull this information from AD (also probably just from a DNS record). It's just a matter of getting the host names into a script really and then things should be pretty simple.

Unfortunately, we're not really set up to help with this sort of thing (unless of course, your feature request is approved), but we can certainly leave it open for community feedback.
Locked