Knowledge Base FAQ Items
|Browse "Alert Actions" Questions:|
Q7620040: I have an Action Script (.cmd batch script) that is launched when a check fails. It is working from the command prompt when I test it, but it is not working when used within ActiveXperts. What could be the reason?
When the scripts is in ActiveXperts as an Action Script, a different user context is used; it is the ActiveXpert Network Monitor service account context. So it can be a credentials issue. Besides that, there's no desktop interaction from the service. Make sure you have logging enabled, and make sure you redirect all error messages to that log file too, i.e. redirect stderr to stdout like this: 2>&1, like this in your .cmd batch script. For example @echo off set logfile=C:\ProgramData\Act...
Network Monitor > Alert Actions
Q7620035: We're trying to get the action "Reboot this server after failure" to restart a computer on the network and
it's not working. Network Monitor logs the following error:
"Reboot Server command is NOT sent to computer, error=[Unable to initiate a shutdown]"
Q7620030: Can I restart multiple services after a failure?
Q7620010: Can I start a .NET executable when a check fails, just like a normal executable?
Q7620025: I want to restart services after failure, but I want to do this dynamically, i.e. at runtime will be decided which services to start. How can I achieve this?
Q7620015: To restart a service after failure, what name should be used?
Q7620020: Can I restart multiple services after a failure?