Home Directory Utilities Nagios Windows Config Generator - TechArkit

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Nagios Windows Config Generator - TechArkit

Rating
0 votes
Favoured:
0
Current Version
1.1.0
Last Release Date
2021-07-01
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Twitter Handle
@aravikumar48
License
GPL
Hits
4447
Nagios CSP

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!
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
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