check_proc_age.sh not connecting to remote host
Posted: Thu Sep 12, 2013 6:12 am
Goal: Check the running time of a java process and alert on it.
From the Nagios Exchange I got the check_proc_age.sh script.
From the cli on the host it runs great and gives me the output I'm expecting.
# /admin/nagios_plugins/check_proc_age.sh -p java -w 21600 -c 43200
WARNING: there are 2 process java, oldest has got 6 Hours 30 minutes age
from Nagios XI when I run the command is isn't connecting out to the remote host I want monitored. it is only checking the nagios xi server.
Ok
OK: there is no process matching java
The command being run from Nagios is:
check_process_age!-p java !-w 21600 -c 43200!!!!!!
The Exchange page doesn't explain how to configure in XI. Or I'm missing it.
http://exchange.nagios.org/directory/Pl ... sh/details
I'm missing something and I'm guessing it is a pretty basic thing. If anybody could point me to the doc or forum page explaining how to set this up I would appreciate it.
thanks
-pete
From the Nagios Exchange I got the check_proc_age.sh script.
From the cli on the host it runs great and gives me the output I'm expecting.
# /admin/nagios_plugins/check_proc_age.sh -p java -w 21600 -c 43200
WARNING: there are 2 process java, oldest has got 6 Hours 30 minutes age
from Nagios XI when I run the command is isn't connecting out to the remote host I want monitored. it is only checking the nagios xi server.
Ok
OK: there is no process matching java
The command being run from Nagios is:
check_process_age!-p java !-w 21600 -c 43200!!!!!!
The Exchange page doesn't explain how to configure in XI. Or I'm missing it.
http://exchange.nagios.org/directory/Pl ... sh/details
I'm missing something and I'm guessing it is a pretty basic thing. If anybody could point me to the doc or forum page explaining how to set this up I would appreciate it.
thanks
-pete