Where to start!?
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
No this is from the clients machine to the nagios server
Re: Where to start!?
You're trying to check_nrpe FROM the client machine TO the Nagios server? This is likely going to fail because the Nagios server isn't configured to handle that check. Let me know if I'm not understanding this correctly.
Former Nagios Employee.
me.
me.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
No you are right I was being an idiot and had too many windows open. So I went back to my client server and did the following:
Now I get this:
./configure --with-ssl-lib=/usr/lib/x86_64-linux-gnu/
*** Configuration summary for nrpe 2.15 09-06-2013 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
make
cd ./src/; make ; cd ..
make[1]: Entering directory `/tmp/nrpe-2.15/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/nrpe-2.15/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.
Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.
make install
root@ip-:/tmp/nrpe-2.15# make install
cd ./src/ && make install
make[1]: Entering directory `/tmp/nrpe-2.15/src'
make install-plugin
make[2]: Entering directory `/tmp/nrpe-2.15/src'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install: invalid user `nagios'
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory `/tmp/nrpe-2.15/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/nrpe-2.15/src'
make: *** [install] Error 2
Now I get this:
./configure --with-ssl-lib=/usr/lib/x86_64-linux-gnu/
*** Configuration summary for nrpe 2.15 09-06-2013 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
make
cd ./src/; make ; cd ..
make[1]: Entering directory `/tmp/nrpe-2.15/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/nrpe-2.15/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.
Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.
make install
root@ip-:/tmp/nrpe-2.15# make install
cd ./src/ && make install
make[1]: Entering directory `/tmp/nrpe-2.15/src'
make install-plugin
make[2]: Entering directory `/tmp/nrpe-2.15/src'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install: invalid user `nagios'
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory `/tmp/nrpe-2.15/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/nrpe-2.15/src'
make: *** [install] Error 2
Last edited by trafalgargirl on Fri Feb 12, 2016 2:58 pm, edited 1 time in total.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
I thought I had - but will go back and double check.
Re: Where to start!?
Former Nagios Employee.
me.
me.
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
root@ip-:/tmp/nrpe-2.15# grep nag /etc/passwd
list
38:38:Mailing List Manager:/var/list:/bin/sh
list
-
trafalgargirl
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
I'm not sure where I missed that... can you point me in the right direction? Did I miss a step?
Re: Where to start!?
http://www.box293.com/guides/nrpe/insta ... unix-linux is a good thing to read. Check it out!
Former Nagios Employee.
me.
me.