Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4126

Thresholdvalue in scientific notation not displayed/stored correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 1.8.3
    • 1.8.13, 1.9.90
    • Thresholding
    • Security Level: Default (Default Security Scheme)
    • None
    • Operating System: All
      Platform: PC
    • 4103

    Description

      Thresholding with scientific notation such as 1.0E-6 works but threshold-value is not stored correctly in database:

      Debug-Output from collectd:
      DEBUG [CollectdScheduler-50 Pool-fiber1] SnmpAttribute: Visiting attribute node[23].interfaceSnmp[Radio_Interface__0].CerRfuStatRadioBER [.1.3.6.1.4.1.2281.10.5.1.1.5] = 1e-6
      DEBUG [CollectdScheduler-50 Pool-fiber1] CollectorThresholdingSet: hasThresholds: if@CerRfuStatRadioBER? true
      DEBUG [CollectdScheduler-50 Pool-fiber1] ThresholdingVisitor: visitAttribute: storing value 1.0E-6 for attribute named CerRfuStatRadioBER
      INFO [CollectdScheduler-50 Pool-fiber1] CollectorThresholdingSet: applyThresholds: Processing threshold CerRfuStatRadioBER : {evaluator=high, dsName=CerRfuStatRadioBER, dsType=if, evaluators=[

      {ds=CerRfuStatRadioBER, value=1.0E-6, rearm=1.0E-13, trigger=1}

      ]}

      corresponding eventparms in database
      "ifLabel=Radio_Interface_0(string,text);ifIndex=1(string,text);label=Radio_Interface_0(string,text);ds=CerRfuStatRadioBER(string,text);value=?(string,text);instance=1(string,text);trigger=1(string,text);rearm=1.0E-13(string,text);threshold=1.0E-6(string,text);reason=Configuration has been changed(string,text)"

      Version: 1.8.3
      Server Time: Fri Sep 10 09:03:04 CEST 2010
      Client Time: Fri Sep 10 2010 09:03:04 GMT+0200
      Java Version: 1.6.0_12 Sun Microsystems Inc.
      Java Virtual Machine: 11.2-b01 Sun Microsystems Inc.
      Operating System: Linux 2.6.26-2-686 (i386)
      Servlet Container: jetty/6.1.24 (Servlet Spec 2.5)
      User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 GTB7.1 (.NET CLR 3.5.30729)

      Attachments

        Activity

          People

            agalue Alejandro Galue
            mlaercher Martin Laercher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: