The threshold high utilization in template ethernetCsmacd has caused an exception

8 posts / 0 new
Last post
Paulmanno
Paulmanno's picture
Offline
Last seen: 1 year 6 months ago
Joined: 07/31/2015 - 11:49
Posts: 4
The threshold high utilization in template ethernetCsmacd has caused an exception

Hello,

Got this error:

2015-07-31 11:01:19,368 DEBUG zen.queuepublisher: About to publish this event to the raw event queue:uuid: "61ba6432-379d-11e5-bfd1-001e0b8d9474" created_time: 1438358479366 fingerprint: "zenhub|User-supplied Python expression ((here.speed or 1e9) / 8 * .75) for maximum value caused error: [\'ifInOctets_ifInOctets\', \'ifOutOctets_ifOutOctets\']" event_class: "/Status/Update" actor { element_type_id: DEVICE element_identifier: "<COMPUTERNAME>" element_sub_type_id: COMPONENT element_sub_identifier: "zenhub" } summary: "User-supplied Python expression ((here.speed or 1e9) / 8 * .75) for maximum value caused error: [\'ifInOctets_ifInOctets\', \'ifOutOctets_ifOutOctets\']" message: "The threshold high utilization in template /zport/dmd/Devices/rrdTemplates/ethernetCsmacd has caused an exception." severity: SEVERITY_WARNING event_key: "" details { name: "template" value: "/zport/dmd/Devices/rrdTemplates/ethernetCsmacd" } details { name: "threshold" value: "high utilization" } first_seen_time: 1438358479366 , with this routing key: zenoss.zenevent.status.update

But the weird thing is that the expression specified: "((here.speed or 1e9) / 8 * .75)" does not exist in the template ethernetCsmacd.  In the template the expression looks like: (here.speed or 1e9) / 8 * .75, without the extra parenthesis...  I've even cracked open zendmd, looking at every threshold, and there is none with that format.  Where could it be hiding, and how do I get rid of it?  I have restarted zenoss...

Thanks,
Paul

Paulmanno
Paulmanno's picture
Offline
Last seen: 1 year 6 months ago
Joined: 07/31/2015 - 11:49
Posts: 4
Modified template and still error

So, I modified the template formula to be like this:

getattr(here, "speed", 1e9) / 8 * 75

And it's still causing an exception. I see the new formula in the event, so I know the change happened... I don't understand how it could be throwing an exeption though, unless it's an overflow on an integer or something...

Trelane
Trelane's picture
Offline
Last seen: 18 hours 10 min ago
Joined: 12/28/2013 - 12:43
Posts: 1121
what version of Zenoss are

what version of Zenoss are you running and have you applied the latest ZenUp patch?

Andrew Kirch


akirch@gvit.com
Need Zenoss support, consulting or custom development? Look no further. Email or PM me!
Ready for Distributed Topology (collectors) for Zenoss 5? Coming May 1st from GoVanguard
Paulmanno
Paulmanno's picture
Offline
Last seen: 1 year 6 months ago
Joined: 07/31/2015 - 11:49
Posts: 4
Zenoss Zenoss 4.2.5

Zenoss Zenoss 4.2.5
OS Linux (x86_64) 2.6.18 (Linux 2.6.18-348.12.1.el5 #1 SMP Wed Jul 10 05:28:41 EDT 2013 x86_64)
Zope Zope 2.13.13
Python Python 2.7.2
Database MySQL 5.5.44 (5.5.44)
RRD RRDtool 1.4.7
Twisted Twisted 11.0.0
RabbitMQ RabbitMQ 2.8.6
Erlang Erlang 5.6.5
NetSnmp NetSnmp 5.3.2
PyNetSnmp PyNetSnmp 0.30.7

Haven't applied the latest ZenUp patch. Doing that now. I'll let you know if that fixes the issue.

Thanks,
Paul

Paulmanno
Paulmanno's picture
Offline
Last seen: 1 year 6 months ago
Joined: 07/31/2015 - 11:49
Posts: 4
Well, latest ZenUp applied

Well, latest ZenUp applied and I still have the issue.

zenhub|User-supplied Python expression (here.speed / 8 * .75) for maximum value caused error: ['ifHCInOctets_ifHCInOctets', 'ifHCOutOctets_ifHCOutOctets']

The threshold high utilization in template /zport/dmd/Devices/rrdTemplates/ethernetCsmacd_64 has caused an exception.

template
/zport/dmd/Devices/rrdTemplates/ethernetCsmacd_64

Jmorcar
Jmorcar's picture
Offline
Last seen: 2 months 1 week ago
Joined: 10/23/2015 - 06:47
Posts: 27
I have open a jira with this

I have open a jira with this problem... I have the same problem with Zenoss 5.0.9...

 

https://jira.zenoss.com/browse/ZEN-22001

Aseques
Aseques's picture
Offline
Last seen: 2 days 7 hours ago
Joined: 09/01/2014 - 02:08
Posts: 90
Hello Jmorcar, could you fix

Hello Jmorcar, could you fix it? I can't seem to access your ticket and I'm on the same situation as you

jboyle
jboyle's picture
Offline
Last seen: 16 hours 50 min ago
Joined: 07/13/2016 - 16:52
Posts: 50
Fixed in 5.2

Ticket is closed as it was fixed in v5.2 which is out now.

John Boyle
Zenoss Community Engineer/Manager
jboyle@zenoss.com
Twitter: @BrandFlair

Log in to post comments