Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Configuring the Nagios Core is time taking process, However if you want to add 1000 servers in monitoring then it requires N number of hours. 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
Current Version
1.1.0
Last Release Date
2021-07-01
Owner
Ankam Ravi Kumar
Website
https://arkit.co.in/generate-nagios-configuration-using-shell-script/
Download URL
https://github.com/techarkit/Nagios-config-generator.git
License
GPL
Compatible With
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
You must be logged in to submit a review.
To:
From: