Configuration & Administration

 View Only
  • 1.  The threshold high utilization in template ethernetCsmacd has caused an exception

    Posted 08-03-2015 09:32 AM

    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



  • 2.  Modified template and still error

    Posted 07-31-2015 11:41 AM

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



  • 3.  what version of Zenoss are

    Posted 08-03-2015 08:16 AM

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

    Andrew Kirch

    logoheader.png


    GoVanguard Logohttp://zenoss/sites/default/files/styles/forum_images/public/logoheader.... />




    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



  • 4.  Zenoss Zenoss 4.2.5

    Posted 08-03-2015 09:32 AM

    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



  • 5.  Well, latest ZenUp applied

    Posted 08-04-2015 03:13 PM

    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



  • 6.  I have open a jira with this

    Posted 02-12-2016 02:46 AM

    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



  • 7.  Hello Jmorcar, could you fix

    Posted 02-13-2017 09:15 AM

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



  • 8.  Fixed in 5.2

    Posted 02-13-2017 09:37 AM

    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



  • 9.  RE: The threshold high utilization in template ethernetCsmacd has caused an exception

    Posted 03-26-2019 04:54 AM
    Edited by Donatas 03-26-2019 04:54 AM
    Hello,

    I have just installed Zenoss Core 6.1.2 version and got the same error. "User-supplied Python expression ((here.speed or 1e9) / 8 * .75) for maximum value caused error: ['ifInOctets_ifInOctets', 'ifOutOctets_ifOutOctets']" for different switches. It had to be fixed in v5.2, or is it a new problem?


    Donatas