Bandwidth on passive host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Jam1987
Posts: 54
Joined: Mon Jul 27, 2015 2:06 pm

Re: Bandwidth on passive host

Post by Jam1987 »

Oh nice that started fine, no errors reported. I'll have to get Nagios to handle the data checks now.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Bandwidth on passive host

Post 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?
Former Nagios Employee.
me.
Jam1987
Posts: 54
Joined: Mon Jul 27, 2015 2:06 pm

Re: Bandwidth on passive host

Post by Jam1987 »

umm I still have to get the checks working properly in the Nagios Web interface, so not fully solved just yet.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwidth on passive host

Post by tgriep »

Thanks for the reply.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Jam1987
Posts: 54
Joined: Mon Jul 27, 2015 2:06 pm

Re: Bandwidth on passive host

Post 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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Bandwidth on passive host

Post 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
Former Nagios Employee.
me.
Jam1987
Posts: 54
Joined: Mon Jul 27, 2015 2:06 pm

Re: Bandwidth on passive host

Post 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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Bandwidth on passive host

Post 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:
Former Nagios Employee.
me.
Jam1987
Posts: 54
Joined: Mon Jul 27, 2015 2:06 pm

Re: Bandwidth on passive host

Post 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?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Bandwidth on passive host

Post 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.
Former Nagios Employee.
me.
Locked