Hi, How to monitor if custom Windows process (i.e. customprocess.exe) runs for more than 15 minutes and then get alert when it does. The normal situation is when the process is NOT running for long time. It runs for a short period of time but should never be stuck for more than 15 minutes. So I'd like to be notified when process runs for longer than it should. Thank you.


Article Comments

Dear kkuderko,

Thank you very much for your KB-Post.

Actually, this is not possible with our native sensors. As an alternative, you might want to try writing your own custom script or application that can be used with our EXE/Script (Advanced) sensor.

Unfortunately, we can't assist in writing custom script sensors for customers as it is too time consuming.

Further information about the sensors and what the expected output of the script/exe has to look like, can be found in the manual:

Kind regards,
Sven


Dec, 2016 - Permalink

Thanks for your advice. Ended up using a GetRunningProcess.vbs script from the thread https://helpdesk.paessler.com/en/support/solutions/articles/66068-check-if-process-is-not-running - sensor EXE/script parameters: customprocess.exe SERVERNAME - sensor security context: Use Windows credentials of parent device - enable Value channel limits > Upper Error Limit (#): 0.5 - enable Notifications: When sensor state is Down for at least 900 seconds perform Email

the solution does the job.


Jan, 2017 - Permalink