Hi to all,
I have nsclient rel 0.4.2.66 and over the host the command works fine
L client Enter command to inject or exit to terminate...
check_process process=explorer.exe "warn=handles > 100" "crit=handles > 800" "detail-syntax=${exe} handles: ${handles}"
L client WARNING: explorer.exe handles: 530
L client Performance data: 'explorer.exe handle count'=530;100;800
From the Nagios side I have nrpe version 2.14 and 2.15, if try to use the same command I see the output without the WARNING or CRITICAL messages
/usr/local/nagios/libexec# ./check_nrpe_new -H 172.30.200.201 -p 5666 -c check_process -a process=explorer.exe 'warn=handles > 100' 'crit=handles > 600' 'detail-syntax=${exe} handles: ${handles}'
explorer.exe handles: 515|'explorer.exe handle count'=515;100;600
Any idea ?
Windows Process handles via nrpe & nsclient
Re: Windows Process handles via nrpe & nsclient
Can you show us how the "check_process" command is defined in the "nsclient.ini" file on the Windows box?
Be sure to check out our Knowledgebase for helpful articles and solutions!