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
149708
Files:
FileDescription
process_runtime.vbsUnknown Tag: 'FileDesc1'
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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