Does anyone have a basic Windows Service start script for NAS that I can call as an auto operator?
you could do something like
<nas_cmd_test> active = yes action = command C:\Program Files (x86)\Another Space\nas.cmd overdue = on_arrival level = clear,information,warning,minor,major,critical visible = 0 order = 5 break = no </nas_cmd_test>
nas.cmd: net start <ServiceName>
Works great for local, but not remote.
I would use a batch or VB script on the remote system via an nexec profile and then use LUA to execute the nexec profile through a callback. Or if the ntservices probe is deployed, use its callbacks to restart the service.
Retrieving data ...