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
Activity
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Pending Response [ 10000 ] | New: In Progress [ 3 ] |
Labels | Original: poller | New: db poller |
Comment |
[ Please make and attach additional information about the device: * full snmp dump from device: {noformat} snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk {noformat} _If device not support SNMP version 2c, replace -v2c with -v1._ * If you have problems with discovery or poller processes, please do and attach these debugs: {noformat} ./discovery.php -d -h <device> ./poller.php -d -h <device> {noformat} * additionally attach device and/or vendor specific MIB files {color:#505F79}_Note, this comment is added automatically._{color} ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |