nrpe.cfg No such file
Posted: Fri Jul 28, 2017 8:46 am
Hello all,
I am have an issue with nrpe and I am pulling my hair out at this point. When installing nrpe the .cfg file will not install and I have no idea why and I am getting frustrated with the plugin and I have no idea why it's not working.
-- Here is what I am doing when installing --
and its at this point I get the following : -bash: cd: /usr/local/nagios/etc/: No such file or directory
Now All the other files are in the directory. but the /etc/ and nrpe.cfg is not there and I have no idea why?
Does anyone have any ideas? or has anyone come across this issue before?
I am have an issue with nrpe and I am pulling my hair out at this point. When installing nrpe the .cfg file will not install and I have no idea why and I am getting frustrated with the plugin and I have no idea why it's not working.
-- Here is what I am doing when installing --
Code: Select all
#Get The files
wget http://nagios.internal.ip/dl/nag/nrpe-3.0.1.tar.gz
#UnZipping
tar xzf nrpe-3.0.1.tar.gz
#Go to the folder
cd nrpe-3.0.1
#Setting nrpe up and installing.
./configure
make all
#Setting up NRPE plugin
make install-plugin
make install-daemon
make install-daemon-config
make install-xinetd
#Allowing NRPE.
echo "nrpe 5666/tcp #Nagios" >> /etc/services
#Moving to where the config is.
cd /usr/local/nagios/etc/
Now All the other files are in the directory. but the /etc/ and nrpe.cfg is not there and I have no idea why?
Does anyone have any ideas? or has anyone come across this issue before?