Parse nagios hosts.cfg

I am in a project to import over 600 servers from old nagios 2.0 to nagios 3.0 / Centreon.
So the sysadmins here do not put the address field inside the hosts.cfg, so I either ping 500 servers copy
and paste the IP, or I write a script that does it to me.
Here is the  perl script to get IP address from hostnames
Downlaod

Leave a Reply

Your email address will not be published. Required fields are marked *

VAMOVE *

*