Page 3 of 5

Re: Bandwidth on passive host

Posted: Mon Aug 24, 2015 3:22 pm
by Jam1987
Oh nice that started fine, no errors reported. I'll have to get Nagios to handle the data checks now.

Re: Bandwidth on passive host

Posted: Mon Aug 24, 2015 3:28 pm
by hsmith
Jam1987 wrote:Oh nice that started fine, no errors reported. I'll have to get Nagios to handle the data checks now.
Does that mean that this one is resolved?

Re: Bandwidth on passive host

Posted: Mon Aug 24, 2015 3:30 pm
by Jam1987
umm I still have to get the checks working properly in the Nagios Web interface, so not fully solved just yet.

Re: Bandwidth on passive host

Posted: Mon Aug 24, 2015 4:34 pm
by tgriep
Thanks for the reply.

Re: Bandwidth on passive host

Posted: Tue Aug 25, 2015 8:17 am
by Jam1987
Quick question, I have a nrpe config file but when I go to run a nrpe command it says check_nrpe is not found. So I went looking in the libexec folder and it isn't there. Does this mean I should reinstall the nrpe plugin?

Re: Bandwidth on passive host

Posted: Tue Aug 25, 2015 11:58 am
by hsmith
Jam1987 wrote:Quick question, I have a nrpe config file but when I go to run a nrpe command it says check_nrpe is not found. So I went looking in the libexec folder and it isn't there. Does this mean I should reinstall the nrpe plugin?
When you say reinstall...you had it at one point?

Code: Select all

find / -name check_nrpe

Re: Bandwidth on passive host

Posted: Tue Aug 25, 2015 3:19 pm
by Jam1987
I believe I started to install it due to thinking I needed it then I may have stopped. I'll be honest I can't remember. I'm gonna install from scratch to make sure. Sorry for the kerfuffle.

Re: Bandwidth on passive host

Posted: Tue Aug 25, 2015 3:31 pm
by hsmith
Jam1987 wrote:I believe I started to install it due to thinking I needed it then I may have stopped. I'll be honest I can't remember. I'm gonna install from scratch to make sure. Sorry for the kerfuffle.
No worries, I forgive you since you used the word kerfuffle. :lol:

Re: Bandwidth on passive host

Posted: Wed Aug 26, 2015 1:20 pm
by Jam1987
Ok now NRPE is installed:

Code: Select all

 ./check_nrpe -H localhost
NRPE v2.15
But when I run the command check_nrpe it just says:

Code: Select all

check_nrpe: command not found
The file exists in libexec:

Code: Select all

find / -name check_nrpe
/home/futuresign/Downloads/nagios/nrpe-2.14/src/check_nrpe
/usr/local/nagios/libexec/check_nrpe
Am I missing something?

Re: Bandwidth on passive host

Posted: Wed Aug 26, 2015 2:16 pm
by hsmith
Jam1987 wrote:Ok now NRPE is installed:

Code: Select all

 ./check_nrpe -H localhost
NRPE v2.15
But when I run the command check_nrpe it just says:

Code: Select all

check_nrpe: command not found
The file exists in libexec:

Code: Select all

find / -name check_nrpe
/home/futuresign/Downloads/nagios/nrpe-2.14/src/check_nrpe
/usr/local/nagios/libexec/check_nrpe
Am I missing something?
You have to either call it by the actual path(/usr/local/nagios/libexec/check_nrpe), or be in the directory that the binary is sitting in. If you wanted to you COULD "make your own command" to make this easier.