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

How to use it

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



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!

If you're interested in the Nagios monitoring software or the Nagios Incident Manager, please follow this link to the Nagios website: it pays the hosting costs for Thanks!

House for sale in Gouda, the Netherlands ("Holland"):