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

davor grgicevic dgrgicevic at gmail.com
Wed Mar 7 18:19:08 CET 2012


On 3/7/2012 5:36 PM, James Pratt 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
try  Nmap script  for nagios .

http://sourceforge.net/projects/nmap2nagios/

davor

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