Nagios still monitoring

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.
Locked
mircica3d
Posts: 2
Joined: Tue Dec 30, 2014 1:10 pm

Nagios still monitoring

Post by mircica3d »

Hy,
I install nagios core on centos and nrpe and plugin on remote server. Nagios core working but when i stop nrpe service on remote computer nagios still ok status from remote server for http, ssh, and curent user. Why?
Thanks and sory for bad english
mircica3d
Posts: 2
Joined: Tue Dec 30, 2014 1:10 pm

Re: Nagios still monitoring

Post by mircica3d »

ex for checl load:
define service {
use generic-service
host_name printpliante.ro
service_description Current Load
check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
}
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios still monitoring

Post by abrist »

mircica3d wrote:define service {
use generic-service
host_name printpliante.ro
service_description Current Load
check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
}
The command you are using is a local command: "check_local_load"
I bet the command only runs locally. You need to use the check_nrpe command and then call the specific remote command that is configured in your remote host's nrpe.cfg using check_nrpe's -c switch.

See:
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

XI specific (but still useful):

http://assets.nagios.com/downloads/nagi ... ios-XI.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.
Locked