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
check_npre error
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_npre error
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
I would also like to add the following document:
http://assets.nagios.com/downloads/nagi ... utions.pdf
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.
"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.
Re: check_npre error
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.
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
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
all processes:
disk usage
apache Webserver
CPU stats
load
memmort usage .....etc
disk usage
apache Webserver
CPU stats
load
memmort usage .....etc
Re: check_npre error
How did you you install nrpe?
a. Agent download in XI wizard
b. Source
c. Distro Repo
d. Else?
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.
"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.
Re: check_npre error
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??
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.
Reason: Please edit your previous post to add information/questions if you are the last poster.
Re: check_npre error
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)
a. Install from the agent (./fullinstall) This includes nrpe and the plugins.
b. Install from source (nrpe and nagios-plugins)
Either reinstall the box cleanly, or remove all of what you did and =just do one of the two above (I suggest a)kai8174 wrote:should I try uninstalling and re-installing??
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.
"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.
Re: check_npre error
thanks i'll try option A, thanks