Problems Importing 2012r1.8 Service Configs into 2012R1.3
Posted: Wed Aug 13, 2014 5:53 pm
Hi! I have an environment running NagiosXI 2012R1.8. I set up a new server with CentOS 6.5 and installed Nagios XI 2014R1.3. The plan was to migrate the 2012 configurations into 2014. The environment is a decent size with 500+ hosts and 5000+ services being monitored.
I was able to bring over the hosts and users OK. Most of the services came over OK but a few hundred of them failed with the error:
"Error: Service has no hosts and/or service_description..."
Checking the config files that are causing the error, they do have a service_description. But instead of a host_name they have a hostgroup_name.
Checking the hosts and host groups, they are all defined correctly.
Is there a way to import these service configs and have them honor the hosts defined in the host group associated with the hostgroup_name specified in the service definition? Example configs attached.
Thanks,
MJ
I was able to bring over the hosts and users OK. Most of the services came over OK but a few hundred of them failed with the error:
"Error: Service has no hosts and/or service_description..."
Checking the config files that are causing the error, they do have a service_description. But instead of a host_name they have a hostgroup_name.
Checking the hosts and host groups, they are all defined correctly.
Is there a way to import these service configs and have them honor the hosts defined in the host group associated with the hostgroup_name specified in the service definition? Example configs attached.
Thanks,
MJ