Hello
I have an alert on an application that I'm monitoring across 980 Windows 10 workstations, seems on around 20/25 of them the application monitor notices the service is not running, this then triggers an alert.
I get the email for the alerts that do fire, but the alert should also trigger an external program;
echooff
date /t && time /t >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
echo Targetting %1 for Product-Prep-startilation .. engage! >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
whoami >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
sc \\%1 qc "Product Prep Service" >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
sc \\%1 config "Product Prep Service" start= delayed-auto >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
sc \\%1 start "Product Prep Service" >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
sc \\%1 qc "Product Prep Service" >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
echo ******************************************************************************* >> D:\scripts\sw-alert-scripts\boh-app-alert\product-prep-script-log.txt
Checking the prodoct-prep-script-log.txt it doesnt look like the external program is firing on all of the alerts ? Are there limits to how many external programs can be fired at once?
Regards