-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You have to configure nrpe on the remote host you want to monitor.
E.g. you want to execute check_load on the remote host - to get this working, you have to tell the nrpe server that "check_load" means. In a normal environment, the check name is the only parameter you can pass to a remote nrpe plugin for security reasons. Am 23.11.2012 20:59, schrieb Joseph: > 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? - -- Moritz Schlarb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQs1GcAAoJEEXT29373YiIcckIAIa3WjuzuJNFKOmDn19s3cgo vhtRixm41hqrOgTIkMDHGmDLREAhFim07+dYlYvZLUqxRykoGZt+0XBMBscvF7h/ afXXMtO21M+MT0QG6nl+eHvv6/avmuCoJ0d5FBJyxDzTw/AxyR2nDLstIeGYlr+h P2SItcR3PElB3VraMIr8HnthYIwgPw0ApAX8NtU+/b8pKSAYZjIUX0bZ7NLqR+ZS GjEI+B3BLNb8yW7egyfGXUpBhG5aEwP1dBfAQT4QazGDidnWlIGdY9YWSZoO3T+t OdIicRuDghF0kXx6EzB5RNMppLZavhszWppbzgArImCGji41FzLRVbFYG1F9Ow8= =0P9g -----END PGP SIGNATURE-----