Page 1 of 1

Problem upgrading Nagios from 3.4.1 to 4.0.4

Posted: Sat May 17, 2014 10:34 am
by cbbs70a
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

Re: Problem upgrading Nagios from 3.4.1 to 4.0.4

Posted: Mon May 19, 2014 9:34 am
by slansing
Does the passive template have hosts assigned to it? Are there config option in that template (such as service description) that are missing, and also missing on the service?