![]() |
![]() |
Subject: | The threshold high utilization in template ethernetCsmacd has caused an exception |
Author: | Paul Manno |
Posted: | 2015-07-31 11:57 |
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: "
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
Subject: | Modified template and still error |
Author: | Paul Manno |
Posted: | 2015-07-31 12:41 |
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...
Subject: | what version of Zenoss are |
Author: | Andrew Kirch |
Posted: | 2015-08-03 09:16 |
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
Subject: | Zenoss Zenoss 4.2.5 |
Author: | Paul Manno |
Posted: | 2015-08-03 10:32 |
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
Subject: | Well, latest ZenUp applied |
Author: | Paul Manno |
Posted: | 2015-08-04 16:13 |
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
Subject: | I have open a jira with this |
Author: | [Not Specified] |
Posted: | 2016-02-12 03:46 |
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
Subject: | Hello Jmorcar, could you fix |
Author: | Joan |
Posted: | 2017-02-13 10:15 |
Hello Jmorcar, could you fix it I can't seem to access your ticket and I'm on the same situation as you
Subject: | Fixed in 5.2 |
Author: | John Boyle |
Posted: | 2017-02-13 10:37 |
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
Subject: | RE: The threshold high utilization in template ethernetCsmacd has caused an exception |
Author: | Donatas |
Posted: | 2019-03-26 05:54 |
< |
Previous MinMaxThreshold not creating events |
Next Event Class mapping not working as expected. |
> |