Ticket #152 (reopened enhancement)
CheckProcState with param
| Reported by: | anonymous | Owned by: | MickeM |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.0 |
| Component: | Core | Version: | 0.3.1 |
| Severity: | Feature Requests | Keywords: | |
| Cc: |
Description
With CheckProcState i can only check one process "cmd.exe". If more than one cmd.exe is running it should be possible to qualify the correct process on the basis of the paramter (any *.cmd) with cmd.exe was startet. All process are listet in OID '1.3.6.1.2.1.25.4.2.1' and the corresponding parameter in '1.3.6.1.2.1.25.4.2.1.5'. Thanks
Change History
comment:2 Changed 4 years ago by anonymous
Options cmdLine and match=regexp works very fine!
Exactly what i need!
Thanks
comment:3 Changed 4 years ago by anonymous2
I'm having problems getting a match on processes are I know is running similar to "DRT_java.exe". I've tried the following combinations:
check_nt!PROCSTATE -l match=regexp,*java\.exe -d SHOWALL check_nt!PROCSTATE -l match=regexp,.*java\.exe -d SHOWALL check_nt!PROCSTATE -l match=regexp,(.*java\.exe) -d SHOWALL check_nt!PROCSTATE -l match=regexp,.*java.* -d SHOWALL check_nt!PROCSTATE -l match=regexp,java -d SHOWALL check_nt!PROCSTATE -l match=regexp,java.exe -d SHOWALL check_nt!PROCSTATE -l match=regexp,.*java.exe -d SHOWALL
Is my syntax wrong?
comment:4 Changed 4 years ago by anonymous
only supported in the latest nightly (it is a feature scheduled for 0.4.0 not 0.3.1)
MickeM
comment:5 Changed 4 years ago by anonymous
- Status changed from closed to reopened
- Resolution fixed deleted
It's possible to extend CheckProcState once more?
I want to check two identical processes (v.exe) that differ only in WorkingDir? (OID '1.3.6.1.2.1.25.4.2.1.4') which was started from.
A new option 'workDir" like 'cmdLine'?
Thanks








Added this in the latest nightly, this has a few breaking changes so keep a look out and let me know if this is what you want:
From change log