https://github.com/techarkit/nagios-config-generator
Nagios Core Configuration Generator
https://github.com/techarkit/nagios-config-generator
Last synced: 11 months ago
JSON representation
Nagios Core Configuration Generator
- Host: GitHub
- URL: https://github.com/techarkit/nagios-config-generator
- Owner: techarkit
- License: gpl-3.0
- Created: 2021-07-06T13:34:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-06T14:44:29.000Z (over 4 years ago)
- Last Synced: 2025-01-14T04:14:39.471Z (about 1 year ago)
- Language: Shell
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nagios config generator
Configuring the Nagios Core would take lot of time.
Generate Nagios core configuration in few minutes, i would say you can generate 1000 Servers configuration in 5 Minutes.
# Steps before generating the configuration
1. Install NSClient++ software in all the windows machines and ensure NSclient service is running.
2. Verify NSClient is reporting properly from Nagios Core Server
3. Define the check_nt command and update the NSClient password in commands.cfg file.
``define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s secret
} ``
4. Create required contacts and contact_groups in contacts.cfg (who will receive notifications).
5. Update Template-Windows.cfg and Drives.cfg files
- use TEMPLATENAME (should already defined in templates.cfg file)
- contacts CONTACT1,CONTACT2 (should already defined in contacts.cfg file)
- contact_groups GROUP1,GROUP2 (should already defined in contacts.cfg file)
# How to Generate ?
```sh generate_win_host_config.sh```