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
Nagios still monitoring
Re: Nagios still monitoring
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
}
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
}
Re: Nagios still monitoring
The command you are using is a local command: "check_local_load"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
}
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.
"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.