
Configuration
Nagios Bulk Import (nbi.pl)
Description:
This perl script will take a nmap “grepable” file (-oG) and generate a host.cfg file. I included the hostgroup.cfg, command.cfg, servicegroups.cfg and service.cfg. Feel free to add ports and/or os types
Current Version
1.0
Last Release Date
2012-01-16
Compatible With
- Nagios 3.x
Owner
License
GPL
Project Files
File | Description |
---|---|
nbi.pl |
Project Notes
Reviews
(1)
Add a Review
This saves so much manual work, it can cut days off of adding replacing an existing monitoring server. It will output a hosts.cfg. Search and replace a few times and setup your groups correctly, and you're done.
nmap -sS -O -oG 10.34.12.1.txt 10.34.12.1/23
./nbi.pl 10.34.12.1.txt
less hosts.cfg
nmap -sS -O -oG 10.34.12.1.txt 10.34.12.1/23
./nbi.pl 10.34.12.1.txt
less hosts.cfg
Page Sections
Project Stats
Rating
5 (1)
Favorites
1
Views
91,141