Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Nagios Windows Config Generator - TechArkit
1.1.0
2021-07-01
- Nagios 3.x
- Nagios 4.x
@aravikumar48
GPL
4534
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This Nagios Config Generator will Help you in generating the Nagios Configuration for you, using this simple script you can generate 1000 Hosts configuration within 5 Mins.
git clone https://github.com/techarkit/Nagios-config-generator.git
See how to Generate Windows Nagios Core Configuration.
cd /tmp
git clone https://github.com/techarkit/Nagios-config-generator.git
cd Nagios-config-generator
mkdir -p /scripts/
cp *.cfg *.sh /scripts
touch /scripts/serverlist.txt
Add servers IP's and host names in serverlist.txt file
Example:
192.168.1.120,sqlserver.domain.com
192.168.1.121,sqlserver1.domain.com
Save & Exit
Update Template-Windows.cfg and Drives.cfg
use TEMPLATENAME
contacts CONTACT1,CONTACT2 #this contact should exists in contacts.cfg
contact_groups GROUP1,GROUP2 #this groups should exists in contacts.cfg
verify commands.cfg #Defination for check_nt
define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s secret
}
run shell script file once all the above parameters are set.
chmod u+x generate_win_host_config.sh
sh generate_win_host_config.sh
cd /tmp
git clone https://github.com/techarkit/Nagios-config-generator.git
cd Nagios-config-generator
mkdir -p /scripts/
cp *.cfg *.sh /scripts
touch /scripts/serverlist.txt
Add servers IP's and host names in serverlist.txt file
Example:
192.168.1.120,sqlserver.domain.com
192.168.1.121,sqlserver1.domain.com
Save & Exit
Update Template-Windows.cfg and Drives.cfg
use TEMPLATENAME
contacts CONTACT1,CONTACT2 #this contact should exists in contacts.cfg
contact_groups GROUP1,GROUP2 #this groups should exists in contacts.cfg
verify commands.cfg #Defination for check_nt
define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s secret
}
run shell script file once all the above parameters are set.
chmod u+x generate_win_host_config.sh
sh generate_win_host_config.sh
Reviews (0)
Be the first to review this listing!