ScanToNag

ScanToNag is a tool which scans your network for hosts and services and then generats configuration-files for Nagios.

How to use it

Example:
java -jar ScanToNag.jar --range 192.168.64.0/24 --range 192.168.62.0/24 --emit-templates --timeout 50 --contacts unix-admins --hosts-file hosts.conf --services-file services.conf --skip-reserved
This scans the 192.168.64.1-254 and 192.168.62.1-254 networks and generates hosts.cfg and services.cfg. When probing it has a timeout of 50ms and the default contact-group is 'unix-admins'.

Downloads

ScanToNag-0.2.jarBinary
ScanToNag-src-0.2.tgzSources

While you're at it, take a look at CoffeeSaint as well: CoffeeSaint is a versatile nagios status viewer very usefull on a large monitor in the system administrators room!





Menu with my UNIX/Linux softwareSupport this website e-mail me at: folkert@vanheusden.com
December 1, 2010