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

Db errors when polling Huawei switches

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Poller

    Description

      Hi,
      On polling huawei switches many throw this error into db.log

      [2021/09/09 22:49:19 +0200] poller.php(1723869): Failed dbQuery (#1062 - Duplicate entry '2548-5--HUAWEI-SYS-MAN-MIB-hwPatchOperateState' for key 'error_index'), Query: INSERT INTO `snmp_errors` (`device_id`,`error_count`,`error_code`,`error_reason`,`snmp_cmd_exitcode`,`snmp_cmd`,`snmp_options`,`mib`,`mib_dir`,`oid`,`added`,`updated`)  VALUES ('2548','1','5','GETNEXT empty response','0','snmpgetnext','-OQUs','HUAWEI-SYS-MAN-MIB','/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei','hwPatchOperateState','1631220559','1631220559')
      [2021/09/09 22:49:26 +0200] poller.php(1725846): Failed dbQuery (#1062 - Duplicate entry '2623-5--HUAWEI-SYS-MAN-MIB-hwPatchOperateState' for key 'error_index'), Query: INSERT INTO `snmp_errors` (`device_id`,`error_count`,`error_code`,`error_reason`,`snmp_cmd_exitcode`,`snmp_cmd`,`snmp_options`,`mib`,`mib_dir`,`oid`,`added`,`updated`)  VALUES ('2623','1','5','GETNEXT empty response','0','snmpgetnext','-OQUs','HUAWEI-SYS-MAN-MIB','/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei','hwPatchOperateState','1631220566','1631220566')
      [2021/09/09 22:49:55 +0200] poller.php(1730180): Failed dbQuery (#1062 - Duplicate entry '2563-5--HUAWEI-SYS-MAN-MIB-hwPatchOperateState' for key 'error_index'), Query: INSERT INTO `snmp_errors` (`device_id`,`error_count`,`error_code`,`error_reason`,`snmp_cmd_exitcode`,`snmp_cmd`,`snmp_options`,`mib`,`mib_dir`,`oid`,`added`,`updated`)  VALUES ('2563','1','5','GETNEXT empty response','0','snmpgetnext','-OQUs','HUAWEI-SYS-MAN-MIB','/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei','hwPatchOperateState','1631220595','1631220595')
      

      Attached is a poller debug

      Attachments

        1. huaswidebug.txt
          317 kB
          Kent Johannessen

        Activity

          People

            landy Mike Stupalov
            kentbjoh Kent Johannessen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: