Hey guys,
Can somebody tell me if I have this OK:
I configure an item to check for this:
Where serviceName is the name of the service.
According to the help that should give me:
Specifically for state: 0 - running, 1 - paused, 2 - start pending, 3 - pause pending, 4 - continue pending, 5 - stop pending, 6 - stopped, 7 - unknown, 255 - no such service; Specifically for startup: 0 - automatic, 1 - automatic delayed, 2 - manual, 3 - disabled, 4 - unknown
So I created a Trigger when that Item is >0 to send me a warning.
Did I do it correctly?
Thanks
Can somebody tell me if I have this OK:
I configure an item to check for this:
Code:
service.info[[I]serviceName[/I],state]
According to the help that should give me:
Specifically for state: 0 - running, 1 - paused, 2 - start pending, 3 - pause pending, 4 - continue pending, 5 - stop pending, 6 - stopped, 7 - unknown, 255 - no such service; Specifically for startup: 0 - automatic, 1 - automatic delayed, 2 - manual, 3 - disabled, 4 - unknown
So I created a Trigger when that Item is >0 to send me a warning.
Did I do it correctly?
Thanks
Comment