Community
Zenoss Newsletter

Monitored by Zenoss
SourceForge.net Logo
Views

Edit history

Edit: -1 of 1
Time: 2008-09-18 07:29:45
Note: /production/www/portal/public-website/community/manage_importObject

changed:
-
<p>
Windows events often repeat themselves and Windows tells you how many times. Unfortunately Zenoss sees each occurrence as a separate event. Here is how to rename the event to make Zenoss aware that this is just a duplicate of another event:
</p>
 
<p>
<code>
import re<br>
evt.summary = re.sub('It has done this [0-9]+ time\(s\).', '', evt.message)
</code>
</p>