Script to import Ip's into basic hosts.cfg?

James Pratt jpratt at norwich.edu
Wed Mar 7 17:36:21 CET 2012


Hi, does anyone know of/have a perl/shell/python script that can take a list of ip addresses from a text file and auto-build a basic hosts.cfg file from it?

Thanks, I searched the exchange, but couldn't find anything that would do this without a lot of fuss... 

Regards,
Jamie


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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