check_npre error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kai8174
Posts: 13
Joined: Tue May 28, 2013 9:00 am

check_npre error

Post by kai8174 »

I am receiving the following error on my nagios admin screen next to all of the server processes:

CHECK_NRPE:received 0 bytes for daemon. check the remote server logs for error messages.

first I could not find the server logs and I did some references to this error out on the internet and I made sure that NRPE is running and all the ip addresses are correct. I am not sure what to do regarding this error. please assist.

thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_npre error

Post by slansing »

Did you make sure that allow_arguments is set to 1 in your remote nrpe.cfg? Are you sure the handlers are set up properly for the commands there as well?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_npre error

Post by abrist »

I would also like to add the following document:
http://assets.nagios.com/downloads/nagi ... utions.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
kai8174
Posts: 13
Joined: Tue May 28, 2013 9:00 am

Re: check_npre error

Post by kai8174 »

yes I checked the dont_blame_nrpe=1, setting, but I am not sure what you mean by "Are you sure the handlers are set up properly for the commands there as well",
can you tell me what I shoul be looking for.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_npre error

Post by slansing »

Alrighty, so what is the check you are receiving that status on? Is it a standard process / memory / cpu check, etc? Or is it a custom check? It may be possible the command on the other end "remote NRPE" is not entered properly, thus can't return valid data.
kai8174
Posts: 13
Joined: Tue May 28, 2013 9:00 am

Re: check_npre error

Post by kai8174 »

all processes:
disk usage
apache Webserver
CPU stats
load
memmort usage .....etc
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_npre error

Post by abrist »

How did you you install nrpe?
a. Agent download in XI wizard
b. Source
c. Distro Repo
d. Else?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
kai8174
Posts: 13
Joined: Tue May 28, 2013 9:00 am

Re: check_npre error

Post by kai8174 »

I installed this using the
linux-nrpe-agent.tar I ran the fullinstall command
nagios-plugins-1.4.16.tar I ran the ./confgure make and make install
nrpe-2.14.tar I ran make install


should I try uninstalling and re-installing??
Last edited by slansing on Wed Sep 04, 2013 3:19 pm, edited 1 time in total.
Reason: Please edit your previous post to add information/questions if you are the last poster.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_npre error

Post by abrist »

You should only choose to do one of the following:
a. Install from the agent (./fullinstall) This includes nrpe and the plugins.
b. Install from source (nrpe and nagios-plugins)
kai8174 wrote:should I try uninstalling and re-installing??
Either reinstall the box cleanly, or remove all of what you did and =just do one of the two above (I suggest a)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
kai8174
Posts: 13
Joined: Tue May 28, 2013 9:00 am

Re: check_npre error

Post by kai8174 »

thanks i'll try option A, thanks
Locked