Specific process

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Specific process

Post by Kris »

Hiya all,

We have a process that tends to hang every now and then.
Would it be possible to do the following:

a) test if this specific process (MyProcess.exe) is running on a remote computer
b) If yes, check every 1 minute if cpu and memory usage have changed
c) If cpu and memory usage haven't changed 3 consecutive tests, it's a BAD...

Thanks!
Kris
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you need to check CPU and Memory usage, you need 2 test items.
Then you may use "Optional status processing" options to set Warning status when '%SuggestedReply%'=='%Reply%' and start action after 3rd consecutive bad (warning) result.

Another (more complicated) option - create script that will check all parameters and use Shell Script test method...

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Hi Alex,

I solved it by creating a WMI test for the specific executable in Win32Process.
It checks the 'OtherOperationCount' value, which has to increase significantly on a per-minute check.
If the process exists and the 'OtherOperationCount' is stuck I call it a BAD after 5 consecutive checks...

8)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If this counter works for your application, that's great :)

Regards
Alex
Post Reply