Configuration problems
Posted: Thu May 17, 2018 1:59 pm
Hello,
I have 905 servers, Three servers have a status of active but "Not Applied". Three other servers cannot be set to active. These servers are connected to some services. The configuration cannot be completed without error.
The error is: Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/_multiple_hosts.cfg', starting on line 167)
This corresponds to a service with two servers that have a status of "Not Applied".
define service {
host_name cidns1.doit.wisc.edu,widns1.doit.wisc.edu
service_description l_dns_forward_wiwhs
use generic-linux-service
check_command check_nrpe!proc_dns4
contact_groups storage-apps2
_support_info This check verifies that CIDNS1/WIDNS1 can forward lookup requests to wiwhs.us nameservers
register 1
}
On the command line, the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Shows some duplicates and ends in:
Running pre-flight check on configuration data...
Checking objects...
Checked 15476 services.
Checked 902 hosts.
Checked 75 host groups.
Checked 6 service groups.
Checked 352 contacts.
Checked 420 contact groups.
Checked 225 commands.
Checked 74 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 902 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 74 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
I have 905 servers, Three servers have a status of active but "Not Applied". Three other servers cannot be set to active. These servers are connected to some services. The configuration cannot be completed without error.
The error is: Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/_multiple_hosts.cfg', starting on line 167)
This corresponds to a service with two servers that have a status of "Not Applied".
define service {
host_name cidns1.doit.wisc.edu,widns1.doit.wisc.edu
service_description l_dns_forward_wiwhs
use generic-linux-service
check_command check_nrpe!proc_dns4
contact_groups storage-apps2
_support_info This check verifies that CIDNS1/WIDNS1 can forward lookup requests to wiwhs.us nameservers
register 1
}
On the command line, the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Shows some duplicates and ends in:
Running pre-flight check on configuration data...
Checking objects...
Checked 15476 services.
Checked 902 hosts.
Checked 75 host groups.
Checked 6 service groups.
Checked 352 contacts.
Checked 420 contact groups.
Checked 225 commands.
Checked 74 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 902 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 74 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check