Nagiosgraph template Error
Posted: Sat Mar 08, 2014 3:19 pm
Hi, I've installed Nagiosgraph at my backup Nagios server - I want test this feature. I did all from http://www.linuxfunda.com/2013/04/02/st ... agios-core but i get error after I check my Nagios configuration at the end.
I've added new template [nagiosgraph] in my templates.cfg file (/usr/local/nagios/etc/objects/templates.cfg). I've added this template [nagiosgraph] in my hosts' services definitions (/usr/local/nagios/etc/objects/taiwa/TAIWA.cfg), so it looks:
When I run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.conf for check my configuration, I get error:
Did I miss something?
My OS's Ubuntu 12.04.4 LTS. Nagios is working via NSCA Addon (passive checks for monitoring PC/NB, active checks for monitoring Windows Srv machines).
I've added new template [nagiosgraph] in my templates.cfg file (/usr/local/nagios/etc/objects/templates.cfg). I've added this template [nagiosgraph] in my hosts' services definitions (/usr/local/nagios/etc/objects/taiwa/TAIWA.cfg), so it looks:
Code: Select all
define service{
use generic-service, nagiosgraph
hostgroup_name TAIWA
service_description DISK Load C
check_command check_nrpe!DISK Load C
notification_options w,c,r
active_checks_enabled 0
passive_checks_enabled 1
}Code: Select all
Error: Template 'nagiosgraph' specified in service definition could not be not found (config file '/usr/local/nagios/etc/objects/taiwa/TAIWA.cfg', starting on line 672)"My OS's Ubuntu 12.04.4 LTS. Nagios is working via NSCA Addon (passive checks for monitoring PC/NB, active checks for monitoring Windows Srv machines).