Problem upgrading Nagios from 3.4.1 to 4.0.4
Posted: Sat May 17, 2014 10:34 am
All;
I’m trying to upgrade my Nagios installation from 3.4.1 to 4.0.4 with little success. Right now I have maybe 1,300 service checks across 15 machines and everything works fine. What I did to upgrade was follow the instructions here: http://nagios.sourceforge.net/docs/nagi ... ading.html. When I try to start Nagios now I’m getting the error:
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/templates/service-templates-passive.cfg', starting on line 213)
The error in the config file in question looks like this:
define service {
name linux-sysinfo-passive
use passive-template
}
It's pretty simple stuff. I just define the service and use a service template. Does anyone have any idea what I’m missing? Any help at all would be greatly appreciated.
Thanks;
John
I’m trying to upgrade my Nagios installation from 3.4.1 to 4.0.4 with little success. Right now I have maybe 1,300 service checks across 15 machines and everything works fine. What I did to upgrade was follow the instructions here: http://nagios.sourceforge.net/docs/nagi ... ading.html. When I try to start Nagios now I’m getting the error:
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/templates/service-templates-passive.cfg', starting on line 213)
The error in the config file in question looks like this:
define service {
name linux-sysinfo-passive
use passive-template
}
It's pretty simple stuff. I just define the service and use a service template. Does anyone have any idea what I’m missing? Any help at all would be greatly appreciated.
Thanks;
John