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

mibs module says during discovery.php run: "Empty oids passed to snmp_command(). THIS SHOULD NOT HAPPEN. PLEASE REPORT TO DEVELOPERS."

    XMLWordPrintable

Details

    • Help
    • Resolution: Cannot Reproduce
    • Major
    • None
    • CE-21.10
    • Discovery

    Description

      Hello!

      I could really use some help. We noticed most of our graphs had disappeared. Unfortunately, exactly what went on to break this is a mystery for now and I'm trying to unravel the issue and fix it.

      While manually running a discovery on all devices, I saw this error in the mibs module output for every single device:

       

      Empty oids passed to snmp_command(). THIS SHOULD NOT HAPPEN. PLEASE REPORT TO DEVELOPERS.

       

      The system hosting Observium can snmpwalk any of our devices as normal, but the "mibs" module in Observium is unable to do the walks needed during a run of discovery.php. The result is all of our traffic graphs for all devices have basically disappeared and I just can't see why calls to the snmp_command() function is failing.

      All the usual mibs are in the /opt/observium/mibs directory and permissions are all readable.

      I've run out of ideas and need help on where to look next. Any clues would be super appreciated! If any other information is needed to figure this out, please let me know and I'll post.

      Thanks!

       

       

      Example of an snmpwalk working just fine outside Observium on one of our faithful old switches:

      [root@nms observium]# snmpwalk -v1 -c redacted switch01 sysDescr
      SNMPv2-MIB::sysDescr.0 = STRING: Juniper Networks, Inc. ex2200-48t-4g Ethernet Switch, kernel JUNOS 12.3R12.4, Build date: 2016-01-20 05:01:04 UTC Copyright (c) 1996-2016 Juniper Networks, Inc.
      

       

      An example of one specific device running against only the mibs module, for output brevity's sake:

      [root@nms observium]# /opt/observium/discovery.php -h 80 -m mibs
        ___   _                              _
       / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
      | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
      | |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
       \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                          Observium Community Edition 21.10.11666
                                        https://www.observium.org
      #####  Starting discovery run at 2022-04-26 11:34:00  #####
      #####  switch01 [80]  #####
      +-------------+--+
      | OID         |  |
      +-------------+--+
      | sysDescr    |  |
      | sysObjectID |  |
      +-------------+--+
       o OS Type              generic
       o OS Group             unix
       o SNMP Version         v1
       o Last discovery       2022-04-26 11:33:46
       o Last duration        2.53 seconds
       
      #####  Module Start: mibs  #####
      Empty oids passed to snmp_command(). THIS SHOULD NOT HAPPEN. PLEASE REPORT TO DEVELOPERS.
       o MIBs discovered      <empty>
       o Duration             0.325s
       
      #####  switch01 [80] completed discovery modules at 2022-04-26 11:34:01  #####
       o Discovery time       0.5958 seconds
       
      #####  Finished discovery run at 2022-04-26 11:34:01  #####
       o Devices Discovered   1
       o Discovery Time       0.627 secs
       o Memory usage         32.5MB (peak: 32.5MB)
       o MySQL Usage          Cell[2/0s] Row[5/0.001s] Rows[6/0.002s] Column[1/0s] Update[1/0.002s] Insert[1/0.002s] Delete[2/0.002s]
       o RRDTool Usage
      

      Attachments

        Activity

          People

            landy Mike Stupalov
            vic-sb Vic Breen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: