I see, I thought this was a case where, when you polled a monitor (e.g., SNMP 
OID/mib entry) you were getting a counter value 10 or 100 times greater than 
expected (although you did mention a transform in your subject which I didn't 
exactly get).

Am still guessing a little bit about what you're trying to do; are you trying 
to transform the event message/summary.  If so, you're Python code might be 
something like this:

import re
m = re.search(r'(?i)(threshold of SNR not met: current value )([\d\.]+)', x)
if m:
    evt.summary = "%s %5.2f" % (m.group(1), (float(m.group(2))/10.))




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=39233#39233

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to