Is there any easy documentation how to configure nagios on Gentoo to monitor 
remote host?
The documntation below is out of date:
http://www.gentoo.org/doc/en/nagios-guide.xml

I have emerged "nrpe" and started on both server and client, is it correct?
On the server I have created directory:
/etc/nagios/objects
does this directory have to have ownership "nagios:nagios" ?

Inside this directory I have have created files:
nrpe-command.cfg
define command {
  command_name check_nrpe
  command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}

nrpe-hosts.cfg
define host {
  use linux-server
  host_name clinic-atom
  alias Gentoo Linux Web Server
  address 192.168.141.1
}

nrpe-services.cfg
define service {
  use generic-service
  host_name clinic-atom
  service_description Current Load
  check_command check_nrpe!check_load
}

define service {
  use generic-service
  host_name clinic-atom
  service_description Root Partition
  check_command check_nrpe!check_disk
}

On the client I just emerge nrpe and started it. Why isn't it working?
--
Joseph

Reply via email to