[Nagios-users] Nagios list of devices/IP addresses

2009-11-02 Thread Gareth Fletcher
Hi everyone, I have a simple script that runs every hour and dumps the current hostnames into a MySQL table (to reconcile with our asset database). cat /usr/local/Nagios/var/objects.cache | grep -i host_name | cut -f 3 | sort | uniq $HOSTLIST cat $HOSTLIST |while true do read LINE || break

Re: [Nagios-users] Nagios list of devices/IP addresses

2009-11-02 Thread Max
On Mon, Nov 2, 2009 at 5:05 PM, Gareth Fletcher gareth.fletc...@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