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

Jason J. W. Williams jasonjwwilliams at gmail.com
Wed Mar 7 18:15:19 CET 2012


We're using Chef to do this. 

-J

Sent via iPhone

Is your email Premiere?

On Mar 7, 2012, at 9:36, James Pratt <jpratt at norwich.edu> wrote:

> 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

------------------------------------------------------------------------------
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