Discussion:
perf interface % transform not working in 4.2
bobrmr
2012-10-15 14:30:32 UTC
Permalink
bobrmr [http://community.zenoss.org/people/bobrmr] created the discussion

"perf interface % transform not working in 4.2"

To view the discussion, visit: http://community.zenoss.org/message/69178#69178

--------------------------------------------------------------
Anyone else having issues with the transform documented below in version 4.2?
http://community.zenoss.org/docs/DOC-2557 http://community.zenoss.org/docs/DOC-2557

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
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69178#69178]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
rebelinux
2012-10-17 15:02:53 UTC
Permalink
rebelinux [http://community.zenoss.org/people/rebelinux] created the discussion

"Re: perf interface % transform not working in 4.2"

To view the discussion, visit: http://community.zenoss.org/message/69294#69294

--------------------------------------------------------------
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,)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69294#69294]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Justin Simmons
2013-01-08 21:47:58 UTC
Permalink
Justin Simmons [http://community.zenoss.org/people/jmsimmons] created the discussion

"Re: perf interface % transform not working in 4.2"

To view the discussion, visit: http://community.zenoss.org/message/70838#70838

--------------------------------------------------------------
I am also experiencing this same issue after migrating from 3.2 to 4.2.

Anyone have any ideas?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70838#70838]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
richardbergen
2013-01-10 04:20:57 UTC
Permalink
richardbergen [http://community.zenoss.org/people/richardbergen] created the discussion

"Re: perf interface % transform not working in 4.2"

To view the discussion, visit: http://community.zenoss.org/message/70908#70908

--------------------------------------------------------------
same here... but weird thing for me is that it works for some devices but not others. All devices are Cisco though.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70908#70908]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...