Oct 15, 2012 10:30 AM
perf interface % transform not working in 4.2
-
Like (0)
Anyone else having issues with the transform documented below in version 4.2?
I have been using that tranform for years on older versions but on 4.2 my events are still showing the old values. Can't seem to find much in logs or other reports...
Thanks
~Robert
i use this:
import re
match = re.search('threshold of high utilization [^:]+: current value ([\d\.]+)', evt.message)
if match and device:
ifaces = [ i for i in device.os.interfaces() if i.name() == evt.component ]
if len(ifaces) > 0:
current = float(match.groups()[0]) * 8
speed = ifaces[0].speed
util = (current / speed) * 100
evt.summary = "Network interface utilization at %3.1f%%" % (util,)
I am also experiencing this same issue after migrating from 3.2 to 4.2.
Anyone have any ideas?
same here... but weird thing for me is that it works for some devices but not others. All devices are Cisco though.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||