I am unable to post this to the customer support forum as my account appears to not have access, but we're having an issue where we can't use the Apply Configuration function in the CCM. If I delete/write/verify/restart with the Write Config Files , everything is OK. Even when I manually rerun reconfigure_nagios.sh, it comes back OK. Some of the information below was sanitized for posting:
Total Warnings: 382
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Apply Configuration returns something along the lines of
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/<config-file-name>', starting on line 121
The service at that line appears appropriately defined... and as mentioned before, it works fine when done via alternate means.
define service {
host_name <device-name>
service_description <service-name>
use generic-service
check_command <check>!<args>
initial_state u
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
register 1
}
Any ideas? Even if I disable that service, the same error appears. Even if I disable that entire host, the error still appears!