index.com
(usa Debian)
Enviado em 23/03/2012 - 11:26h
Pessoal me ajudem por favor! Ta complicado o negócio aqui...
Preciso adicionar um host novo... putz cara ta complicado...
Que bendita de msg é está:
Error: Template 'endian-firewall' specified in host definition could not be not found (config file '/etc/nagios/nrpe/smith.cfg', starting on line 23)
Já copiei o arquivo .cfg de um servidor que já está no ar... ja foi em templentes.cfg nada da certo.
#define host{
# name endian-firewall ; The name of this host template
# use smith ; This template inherits other values from the generic-host template
# alias Smith
# check_period 24x7 ; By default, Linux hosts are checked round the clock
# check_interval 5 ; Actively check the host every 5 minutes
# retry_interval 1 ; Schedule host check retries at 1 minute intervals
# max_check_attempts 10 ; Check each Linux host 10 times (max)
# check_command check-host-alive ; Default command to check Linux hosts
# notification_period 24x7 ; Linux admins hate to be woken up, so we only notify during the day
# ; Note that the notification_period variable is being overridden from
# ; the value that is inherited from the generic-host template!
# notification_interval 120 ; Resend notifications every 2 hours
# notification_options d,u,r ; Only send notifications for specific host states
# contact_groups admins ; Notifications get sent to the admins by default
# register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
# }
Ta fo....
Erro:
Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL
Website:
http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/hostgroup.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
Processing object config directory '/etc/nagios/servers'...
Processing object config file '/etc/nagios/servers/zion.cfg'...
Processing object config file '/etc/nagios/servers/sentinela.cfg'...
Processing object config file '/etc/nagios/servers/neo.cfg'...
Processing object config file '/etc/nagios/servers/dozer.cfg'...
Processing object config file '/etc/nagios/servers/siv.cfg'...
Processing object config file '/etc/nagios/servers/trinity.cfg'...
Processing object config file '/etc/nagios/servers/morfeu.cfg'...
Processing object config file '/etc/nagios/servers/intelbrasdvr.cfg'...
Processing object config file '/etc/nagios/servers/matrix.cfg'...
Processing object config file '/etc/nagios/servers/niobe.cfg'...
Processing object config file '/etc/nagios/servers/sati.cfg'...
Processing object config directory '/etc/nagios/printers'...
Processing object config file '/etc/nagios/printers/lx644e.cfg'...
Processing object config file '/etc/nagios/printers/hpcp1515n.cfg'...
Processing object config directory '/etc/nagios/switches'...
Processing object config file '/etc/nagios/switches/tplinkwa901nd.cfg'...
Processing object config file '/etc/nagios/switches/linksysrv106.cfg'...
Processing object config file '/etc/nagios/switches/ciscowap4410n.cfg'...
Processing object config directory '/etc/nagios/nrpe'...
Processing object config file '/etc/nagios/nrpe/smith.cfg'...
Processing object config file '/etc/nagios/nrpe/tank.cfg'...
Processing object config file '/etc/nagios/nrpe/nabucodonosor.cfg'...
Error: Template 'endian-firewall' specified in host definition could not be not found (config file '/etc/nagios/nrpe/smith.cfg', starting on line 23)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Obrigado.