Search found 5 matches
- Fri Oct 26, 2018 5:53 am
- Forum: Open Source Nagios Projects
- Topic: Error: Template 'linux-server' specified in host definition
- Replies: 6
- Views: 8215
Re: Error: Template 'linux-server' specified in host definit
Ok, the long and the short of this seems to be that a bug or inconsistency may have been introduced on an update. So I've pretty much ended up rebuilding. I've fully removed nagios3 (anyone else trying this may need to use nagios rather than nagios3 - all depends on your install I guess) I backed up...
- Fri Oct 26, 2018 4:38 am
- Forum: Open Source Nagios Projects
- Topic: Error: Template 'linux-server' specified in host definition
- Replies: 6
- Views: 8215
Re: Error: Template 'linux-server' specified in host definit
Here is the templates file - it is generic and hasn't been edited - so perhaps a bug of some sort has been introduced when I did an update (sudo - apt-get update) ############################################################################### # TEMPLATES.CFG - SAMPLE OBJECT TEMPLATES # # Last Modifi...
- Fri Oct 26, 2018 4:31 am
- Forum: Open Source Nagios Projects
- Topic: Error: Template 'linux-server' specified in host definition
- Replies: 6
- Views: 8215
Re: Error: Template 'linux-server' specified in host definit
Whenever I uncomment the template.cfg line in the nagios.cfg file and restart the service I'm told there is a duplicate Warning: Duplicate definition found for host 'generic-host' (config file '/etc/nagios3/objects/templates.cfg', starting on line 52) nagios3[12053]: Error: Could not add object prop...
- Thu Oct 25, 2018 1:41 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Template 'linux-server' specified in host definition
- Replies: 6
- Views: 8215
Re: Error: Template 'linux-server' specified in host definit
Ok, so I noticed that the templates file was commented out in the nagios.cfg file, but now I have another issue. When I uncomment the line for the template.cfg and restart the service I still get a failure code - see below nagios3[31082]: Processing object config file '/etc/nagios3/objects/templates...
- Thu Oct 25, 2018 11:11 am
- Forum: Open Source Nagios Projects
- Topic: Error: Template 'linux-server' specified in host definition
- Replies: 6
- Views: 8215
Error: Template 'linux-server' specified in host definition
Hi All Nagios Core (nagios3) on Ubuntu 16.04 I'm a bit new to Nagios - dabbled a little but still just learning. I've got a problem with Nagios core whereby I cannot make changes to the nagios.cfg file and restart the service without errors. With no changes I have the local host monitored as you'd e...