Page 1 of 2
check_npre error
Posted: Wed Sep 04, 2013 1:52 pm
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
Re: check_npre error
Posted: Wed Sep 04, 2013 2:02 pm
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?
Re: check_npre error
Posted: Wed Sep 04, 2013 2:04 pm
by abrist
Re: check_npre error
Posted: Wed Sep 04, 2013 2:28 pm
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.
Re: check_npre error
Posted: Wed Sep 04, 2013 2:30 pm
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.
Re: check_npre error
Posted: Wed Sep 04, 2013 2:34 pm
by kai8174
all processes:
disk usage
apache Webserver
CPU stats
load
memmort usage .....etc
Re: check_npre error
Posted: Wed Sep 04, 2013 2:47 pm
by abrist
How did you you install nrpe?
a. Agent download in XI wizard
b. Source
c. Distro Repo
d. Else?
Re: check_npre error
Posted: Wed Sep 04, 2013 3:00 pm
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??
Re: check_npre error
Posted: Wed Sep 04, 2013 3:19 pm
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)
Re: check_npre error
Posted: Wed Sep 04, 2013 3:20 pm
by kai8174
thanks i'll try option A, thanks