My nagios core 4.1.1 server is running on Ubuntu 14.04 and was compiled from source.
Client I am trying to monitor is running Ubuntu 14.04 and the NRPE package was used.
I created a command to check the state of the chrome web browser in /etc/nagios/nrpe.cfg command
Code: Select all
[check_chrome]=/usr/lib/nagios/plugins/check_procs -C chromeCode: Select all
./check_nrpe -H 10.0.4.44 -c check_ chrome Code: Select all
PROCS OK: 4 processes with command name 'chrome' | procs=4;;;0;Code: Select all
(Return code of 255 is out of bounds)Code: Select all
define host {
use linux-server
host_name <NOT REAL NAME>
alias Room 102
address 10.0.4.44
hostgroups XXX
max_check_attempts 5
check_period 24x7
notification_interval 30
notification_period 24x7
}
define service{
use local-service
host_name <NOT REAL NAME>
service_description Check Chrome
check_command check_nrpe!check_chrome
check_interval 1
}