Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Nagios Central add hosts (nsca)
Owner
Hits
98676
Files:
File | Description |
---|---|
get_nagios_host.sh | get_nagios_host.sh |
get_nagios_services_per_host.sh | get unknown nagios services from remote host |
README.txt | README.txt |
This script reads the Nagios log for unknown hosts / services per host and automatic creates the hosts in in .cfg file.
Situation:
We're having a central Nagios environment to monitor customers. If they add any hosts, this script should pick the unknown hosts / services and add them to our configuration file without to check manualy or any service or hosts are addes on Nagios distributed servers.
Scripts recognizes hosts and services per host checks if they're not double in de log and add them as host definition so you just have to past them in the real configuration file (or set it strait to your real configuration file). So you have just to add any service or host to a distributed server, and the central server picks up the results.
Situation:
We're having a central Nagios environment to monitor customers. If they add any hosts, this script should pick the unknown hosts / services and add them to our configuration file without to check manualy or any service or hosts are addes on Nagios distributed servers.
Scripts recognizes hosts and services per host checks if they're not double in de log and add them as host definition so you just have to past them in the real configuration file (or set it strait to your real configuration file). So you have just to add any service or host to a distributed server, and the central server picks up the results.
Reviews (0)
Be the first to review this listing!