Home
Products
Network Performance Monitor (NPM)
Alert- batch file, VB, EXE
JakeRutski
We've been trying to get an alert that not only sends us an email, but also attempts to restart a service.
We have a very touchy piece of software that likes to randomly stop itself...all you've got to do is restart the service- So I figured why not have Orion Monitor with Application monitor, and try to restart it as soon as it goes down.
Tried a few things-
External EXE: a batch file that ran sc.exe to start the service remotely.
*
@echo
off
C:\Windows\System32\sc.exe \\sundb start BTXSERV
*
External VBScript: to launch the bat file.
*
dim shell
set shell=createobject("wscript.shell")
shell.run "C:\btxstart.bat"
set shell=nothing
*
Both the .bat file and the .vbs work in the orion alerter, but not in the beta alert manager...When I test fire the alert in orion, it works fine, and there's no way to test fire through the alert manager.
I have an email alert to ensure that it is triggered- which it is...I'm out of ideas.
Running Orion version 7.8.5
NET PERF MON Engine version 7.8.172
Alert Manager Version 8.1.25 (beta)
Find more posts tagged with
Accepted answers
All comments
Network_Guru
Hi Jake, welcome to Solarwinds.
I did a search in this forum and found the following which appears to pertain to your issue:
www2.solarwinds.net/.../topic.asp
-=Cheers=-
NG
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of