Nagios list of devices/IP addresses

Max perldork at webwizarddesign.com
Mon Nov 2 23:39:16 CET 2009


On Mon, Nov 2, 2009 at 5:05 PM, Gareth Fletcher
<gareth.fletcher at onenet.co.nz> wrote:
> As is always the case in IT now we want to extend this and insert the IP
> addresses into this table (so we can build a DNS zone with our Nagios
> hosts).
>
>
>
> Does anyone know a way I can easily grab the IP address of a given hostname?
> Or else an easier way to get all the hostnames/IPs?

* You can parse objects.cache
* You could switch to NDO or merlin
* You could install and use Nagios2JSON as that exposes host and
service configuration information.

- Max

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list