Hello
I have nagios 1.2 and i have installed nrpe 2.0.my Os fedora 2.0.
when i installed nrpe2.0 on my server,i read the readme file.in that it is given that nrpe daemon and nrpe.cfg should be placed somewhere on remote host.Can nebody tell me who is experienced wth nrpe that where this somewhere to be installed…
heres wht is in readme file
Installing
The check_nrpe plugin should be placed on the Nagios host along
with your other plugins. In most cases, this will be in the
/usr/local/nagios/libexec directory.
The nrpe program and the configuration file (nrpe.cfg) should
be placed somewhere on the remote host. Note that you will also
have to install some plugins on the remote host if you want to
make much use of this addon.
I have copied check_nrpe to my /usr/local/nagios/libexec dir on server.
i have Copied the nrpe daemon to /usr/sbin.Also i have copied the sample nrpe.cfg config file to /etc.
now what do i have to do next to get it wrking?.Like about check load and other commands/
Install nrpe-2.0
cd /home/hashar/nrpe-2.0/
./configure && make .
The binary is /home/hashar/nrpe-2.0/src/nrpe , plugin is /home/hashar/nrpe-2.0/src/check_nrpe
Update the daemon for all hosts:
cp /home/hashar/nrpe-2.0/src/nrpe /home/wikipedia/nagios/bin/
Now from larousse update the check_nrpe plugin:
cp /home/hashar/nrpe-2.0/src/check_nrpe /usr/local/nagios/libexec/
Don’t forget to check the global configuration: /home/wikipedia/nagios/etc/nrpe.cfg .
Check the syntax again for the check_nrpe command. I seriously doubt that -H HOSTADDRESS is valid. Looks to me, like it should be some ip address, but I could be wrong.
According to the README file, there are many items that you might have NOT done. I’d suggest to read the README file that came with nrpe, and make sure that you have completed each and every step. Did you restart xinetd, is just one example of a step you might have missed.
Hi
xinetd is to be restarted if i am not running nrpe as deamon on remote host is it right?
So i didnt do nethng wth xinetd coz i am running nrpe as deamon.
wht can be done