Monitoring linux host in nagios core
refereed two links techmint
and here is the values are give (this is the correct agent )
# /usr/local/nagios/libexec/check_nrpe -H 192.168.1.10
-bash: /usr/local/nagios/libexec/check_nrpe: No such file or directory
and here is the values are give (this is the correct agent )
# /usr/local/nagios/libexec/check_nrpe -H 192.168.1.10
-bash: /usr/local/nagios/libexec/check_nrpe: No such file or directory
to get rid of the above error you have to do refer this link
or below the same
Download NRPE + Required Components
- Type cd /tmp and press Enter
- Type sudo apt-get -y update and press Enter
- Type sudo apt-get -y install git libssl-dev and press Enter
- Type sudo git clone --recursive https://github.com/NagiosEnterprises/nrpe.git and press Enter
- Wait for the files to download
- Type cd nrpe and press Enter
Install check_nrpe plugin
- Type sudo ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu and press Enter
- Wait for the configure command to complete
- Type sudo make all and press Enter
- Wait for the make all command to complete
- Type sudo make install and press Enter
- Wait for the make install command to complete
The check_nrpe plugin is now installed in /usr/local/nagios/libexec/