I just replaced all instances of local-service with generic-service in localhost.cfg.
Restarted Nagios and apache and this took care of the problem. Thank you for your help.
Search found 4 matches
- Mon Jun 11, 2012 11:12 am
- Forum: Open Source Nagios Projects
- Topic: local-service' specified in service definition
- Replies: 5
- Views: 9273
- Mon Jun 11, 2012 9:21 am
- Forum: Open Source Nagios Projects
- Topic: local-service' specified in service definition
- Replies: 5
- Views: 9273
Re: local-service' specified in service definition
I think I'll need to add it... I'll try to find where to do that this AM. Here is what I see: # pwd /usr/local/nagios/etc grep -r "local-service" ./ ./objects/templates.cfg:# name local-service ; The name of this service template ./objects/localhost.cfg: use local-service ; Name of service...
- Fri Jun 08, 2012 1:58 pm
- Forum: Open Source Nagios Projects
- Topic: local-service' specified in service definition
- Replies: 5
- Views: 9273
Re: local-service' specified in service definition
Thank you, I did add this to templates.cfg but so far I don't see a service named local-service. I'm still hunting. # Local service definition template - This is NOT a real service, just a template! # define service{ # name local-service ; The name of this service template # use generic-service ; In...
- Fri Jun 08, 2012 1:28 pm
- Forum: Open Source Nagios Projects
- Topic: local-service' specified in service definition
- Replies: 5
- Views: 9273
local-service' specified in service definition
Hello all, I recently added RRDTool, PNP4Nagios, PHP 5.2 and PHP Modules and now when trying to: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I get the error: Error: Template 'local-service' specified in service definition could not be not found (config file '/usr/local/nagios/et...