Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Process Runtime

Rating
0 votes
Favoured:
0
Hits
150040
Files:
FileDescription
process_runtime.vbsUnknown Tag: 'FileDesc1'
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check the runtime of process on a windows machine
This VB Script checks if a process is running and how long it is running. You get an OK if the process is not running or a certain runtime is not exceeded. else the script gives you a CRITICAL status

Time values need to be given and are presented in minutes

Output could be like:

PROCESS RUNTIME OK - Process is not running
PROCESS RUNTIME OK - Process: calc.exe = 1 Minutes
PROCESS RUNTIME CRITICAL - Process: calc.exe = 3 Minutes