Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-5367

custom oid rrd rejected - scientific notation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Graphs, Poller
    • Debian 13
      Observium 26.10.15440 (stable)

    Description

      Version: Observium 26.10.15440 (stable)

      Issue: Created custom OIDs to graph vsup100 cards that are used for CGN inside Huawei M8000 M8 routers. Due to specific OIDs being Counter64, they are read correctly however rejected by RRD due to being written in scientific notation, so not graphing.

      You can see the debug here:

      CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ir -OQUvnt -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'cgn-01.hr.OBFUSCATED.hr':'161' .1.3.6.1.4.1.2011.5.25.306.1.26.1.5.7]
      RRD /opt/observium/rrd/cgn-01.hr.OBFUSCATED.hr/oid-.1.3.6.1.4.1.2011.5.25.306.1.26.1.5.7-COUNTER.rrd already exists - no need to create.
      RRD CMD[update /opt/observium/rrd/cgn-01.hr.OBFUSCATED.hr/oid-.1.3.6.1.4.1.2011.5.25.306.1.26.1.5.7-COUNTER.rrd N:4.5396318570735E+16]
      CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ir -OQUvnt -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'cgn-01.hr.OBFUSCATED.hr':'161' .1.3.6.1.4.1.2011.5.25.306.1.26.1.7.7]
      RRD /opt/observium/rrd/cgn-01.hr.OBFUSCATED.hr/oid-.1.3.6.1.4.1.2011.5.25.306.1.26.1.7.7-COUNTER.rrd already exists - no need to create.
      RRD CMD[update /opt/observium/rrd/cgn-01.hr.OBFUSCATED.hr/oid-.1.3.6.1.4.1.2011.5.25.306.1.26.1.7.7-COUNTER.rrd N:6.6796751798152E+17]

       

      For now I have manually switched rrd files from 

      type = "COUNTER"

        to 

      type = "DCOUNTER"

       and now it works as expected, but I guess would make sense to get it fixed in upstream for others and to avoid manual rrd fixing if I add more custom OIDs, or other devices.

       

      Also unsure how to set THRESHOLDS for custom oid's, can't find it in documentation, if you would be so kind to point me in right direction would be great.

       

      Attachments

        Activity

          People

            landy Mike Stupalov
            jduricic Josip Duricic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: