![]() |
![]() |
Subject: | IIS Service xxxxxxxxxxxx is in Running state |
Author: | [Not Specified] |
Posted: | 2015-06-22 01:49 |
Hello,
On every check for the IIS service I get an information alarm that the service is in Running state.
Is it possible to not to get informed when Service is in Running state and only to receive an alarm when is down
The default transformation is the below:
import re
@transact
def change_properties(currentstate):
if getattr(component, 'status') != currentstate:
setattr(component, 'status', currentstate)
msg = evt.summary
summaryObj = re.match(r'IIS Service (.*) is in (.*) state(.*)', msg)
change_properties(summaryObj.group(2))
Thank You.
< |
Previous Unable to start Redis service |
Next getZenProperty |
> |