'************************************************************************************************** '* File : check_processes.ini '* '* Usage : Read from check_processes.vbs in same directory '* '* Syntax : Create a section for each process to monitor '* '* [process] '* '* Where is a number starting with 1 and incremented for each process to monitor '* '* Each section should have to parameters : '* '* name="" '* instances="" '* criticity="" '* '* Where : is the name of the process to monitor as specified in task manager '* '* is either "=" or ">" or "<" to specify the if the number of instances of '* the given process should be respectively equal, higher or smaller than the '* '* is the number of allowed instances of the given process '* '* '* is the criticity of the alarm reported to nagios if the number of '* instances of the process is not in allowed range (WARNING or CRITICAL) '* '* Double quote should be used around each parameters value '* '* Example : [process1] '* name="StorageArchive.exe" '* instances="<6" '* criticity="WARNING" '* '* [process2] '* name="sqlservr.exe" '* instances=">0" '* criticity="CRITICAL" '* '* '* This example will report a warning alert to nagios if 6 or more processes storageArchive.exe are running '* '* This example will report a critical alert to nagios if process sqlserver.exe is not running '* '************************************************************************************************** [process1] name="StorageArchive.exe" instances="<6" criticity="WARNING" [process2] name="sqlservr.exe" instances=">0" criticity="CRITICAL"