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
Problem upgrading Nagios from 3.4.1 to 4.0.4
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Problem upgrading Nagios from 3.4.1 to 4.0.4
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?