mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
More specific test for sid (Paul Allen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
ce1d727ac7
commit
0bd9615bd2
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ case "$cmd" in
|
|||
}'
|
||||
;;
|
||||
--db)
|
||||
pmonchk=`ps -ef | grep -v grep | grep ${2}$ | grep -c pmon`
|
||||
pmonchk=`ps -ef | grep -v grep | grep "^${2}$" | grep -c pmon`
|
||||
if [ ${pmonchk} -ge 1 ] ; then
|
||||
echo "${2} OK - ${pmonchk} PMON process(es) running"
|
||||
exit $STATE_OK
|
||||
|
|
|
|||
Loading…
Reference in a new issue