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).