<div class="gmail_quote">Hi, All,<br>
<br>
I've got some issues when tried to install NRPE_plugin (or addon) on a ngios monitor host.<br>
<br>
The server on which I wanted to get NRPE_plugin run has been installed and configured with Nagios 3.2.1 and Centreon 2.1.8, and both of them ran okay. BTW, the OS of the server is Ubuntu 8.04 LTS.<br>
<br>
I followed the procedures described in the NRPE.pdf, and what I had done included:<br>
cd /usr/local/src<br>
wget package of nrpe-2.12<br>
untar<br>
cd nrpe-2.12<br>
./configure<br>
make all<br>
make install-plugin<br>
<br>
Then,<br>
cp /usr/local/src/nrpe-2.12/src/check_nrpe.c /usr/local/nagios/libexec/check_nrpe<br>
chmod a+x check_nrpe<br>
<br>
When I tried to execute /usr/local/nagios/libexec/check_nrpe -H <remote server running nrpe daemon>, I got the followed messages:<br>
line 1: /bin: is a directory<br>
line 2: centreon.conf: command not found<br>
line 3: centreon.conf: command not found<br>
line 4: syntax error near unexpected token `('<br>
line 4: ` * Copyright (c) 1999-2008 Ethan Galstad (<a href="mailto:nagios@nagios.org" target="_blank">nagios@nagios.org</a>)'<br>
<br>
Actually, I even couldn't find the stuffs like '/bin' or 'centreon.conf' in the check_nrpe.c file, so don't know where these errors came from.<br>
<br>
This was the first time I tried to install and configure Nagios and the frontend, and this error really confused me. Could anybody give me some help with that?<br>
<br>
I really appreciate it if anyone have time to read this mail and provide me some advices.<br>
<br>
Regards,<br>
Collin<br>
<br>
</div><br>