nagios-domain-discovery(5)
| NAGIOS-DOMAIN-DISCOVERY(5) | File Formats Manual | NAGIOS-DOMAIN-DISCOVERY(5) |
NAME
nagios-domain-discovery - domain records to Nagios host list synchronization configuration
SYNOPSIS
/etc/nagios/domain-discovery/main.conf
DESCRIPTION
main.conf configures the main nagios-domain-discovery script. The configuration parameters define how the list of hosts should be translated to the Nagios host configuration files and what to do with the Nagios (or another) service after update.
Configuration uses KEY=VALUE shell syntax. The following configuration parameters are supported:
- ○
- METHODS Comma-separated list of methods. For the names of availabe methods see /usr/lib/nagios-domain-discovery/methods. Method manual page is named nagios-domain-discovery-<method>.
- ○
- DOMAIN Domain name. May be left blank for autodetect.
- ○
- OBJECTDIR The maintained directory with Nagios host configuration files. The default is /etc/nagios/objects.
- ○
- TEMPLATE The name of the host template to be used in the use directive of the host configuration. The default is linux-server.
- ○
- HOSTGROUPS Comma-separated list of default host groups. Some of the methods could assign different hostgroups based on the domain records.
- ○
- KEEPLIST Comma-separated list of host names to keep. The default is localhost.
- ○
- GONE_HOSTS Defines what to do with a host that has gone from the list:
- ○
- none -- do nothing (i.e. leave the active host configuration);
- ○
- unregister -- leave the existing configuration file, but do not register the host with Nagios (set register 0);
- ○
- delete -- delete the configuration file completely.
- ○
- RELOAD_SERVICES Which services should be reloaded after configuration synchronization in precense of changes? A comma-separated list of services. Add the exclamation sign (!) after the name of the service to forcibly reload it.
- ○
- RESTART_SERVICES Which services should be restarted after configuration synchronization in precense of changes? A comma-separated list of services. Add the exclamation sign (!) after the name of the service to forcibly restart it.
SEE ALSO
nagios-domain-discovery(8), nagios-domain-discovery-hostlist(8), nagios-domain-discovery-hostlist(5)
| July 2024 |
