I am a newbie in Nagios. I installed Nagios 3 with NRPE for remote Linux server monitor.
I created a remotehost.cfg file (Actually copied from localhost.cfg file) under /usr/local/nagios/etc/objects for my remote host. It looks like this
Define a host for the local machine
name linux-box ; Name of this template
use generic-host ; Inherit default values
register 0 ; DONT REGISTER THIS - ITS A TEMPLATE
use linux-server ; This host definition will inherit all variables that are defined; in (or inherited by) the linux-server host template definition.
I restart nagios and went to the web interface, the remote host is not showing up. Only the loalhost there. I waited for hours and it still not showing up.
Can anyone help me?
Thank you so very much in advance.