Error processing hostexinfo object definition - SOLVED
Posted: Mon Nov 15, 2010 5:57 am
Hi!
I was trying to put into the config files hostexinfo related to the hosts.
Wen I ran the command to check the configuration files I got the following error regarding the hostexinfo object.
I'm guessing this is exteernal to the configuration file the error is ocurring in.
This is my localhost definitios:
With my best regards,
sebastiaopburnay
I was trying to put into the config files hostexinfo related to the hosts.
Wen I ran the command to check the configuration files I got the following error regarding the hostexinfo object.
Code: Select all
...
Processing object config file '/etc/nagios/hosts/localhost.cfg'...
Error: Invalid object definition type 'hostexinfo' in file '/etc/nagios/hosts/localhost.cfg' on line 20.
Error processing object config files!This is my localhost definitios:
Code: Select all
define host{
use linux-server ; Name of host template to use
; This host definition will inherit all variables that are defined
; in (or inherited by) the linux-server host template definition.
host_name localhost
alias localhost
address 127.0.0.1
action_url /nagios/pnp/index.php?host=$HOSTNAME$
#parent krypton
}
define hostexinfo{
host_name localhost
notes Máquina virtual alojada no TOSHIBA, a
correr o nagios
icon_image sme-server.png
icon_image_alt SME Server IntranetWare 7.5.1
statusmap_image sme-server.png
}sebastiaopburnay