how to check a specific process in AIX
Posted: Mon Jan 11, 2016 10:40 am
I would like to monitor some processes on AIX servers. For example the TSM BA Client (dsmc schedule)
I found a script on Nagios Exchange:
check_procs2
I added to the nrpe.cfg as shown below. I am testing to monitor TSM B Client ‘dsmc’:
command[check_dsmc]=/usr/local/nagios/libexec/check_procs2 dsmc ge 2
but have this error when run from Nagios server:
Testing check from command line...
COMMAND: /usr/local/nagios/libexec/check_nrpe -H roberts -t 30 -c check_procs2 -n
OUTPUT: NRPE: Command 'check_procs2' not defined
We have this two command in the nrpe.cfg:
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
If I am using the wrong script would be great if you can help and advice how to monitor specific processes in AIX
thank you
I found a script on Nagios Exchange:
check_procs2
I added to the nrpe.cfg as shown below. I am testing to monitor TSM B Client ‘dsmc’:
command[check_dsmc]=/usr/local/nagios/libexec/check_procs2 dsmc ge 2
but have this error when run from Nagios server:
Testing check from command line...
COMMAND: /usr/local/nagios/libexec/check_nrpe -H roberts -t 30 -c check_procs2 -n
OUTPUT: NRPE: Command 'check_procs2' not defined
We have this two command in the nrpe.cfg:
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
If I am using the wrong script would be great if you can help and advice how to monitor specific processes in AIX
thank you