Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
craigusza
New Contributor

SNMP Generic Error from specific interface index

Hi there,

 

Device : 1500D

Firmware : 5.0.12

Background.  I do an auto discovery of interfaces though SNMP on a weekly basis to update monitoring on any new customers being provisioned and provide visibility on these new interfaces.  I removed an IPSec tunnel that was not longer in use the other day and this seems to have caused a problem on SNMP Walks on the device.  When I now query this SNMP interface index that was removed it returns a Generic error (#5) this halts the SNMP walk as opposed to a No such instance (SNMP Error #223) for when such an index does not exist.  

 

I went and tracked down this SNMP index in backups of the firewall from before this IPSec was removed and it seems to be the only instance thereof for this index number.  Below is what the SNMP outputs for that specific OID.  The below is just for the query on the Interface index values, If I query a different interface value such as MTU on that interface index it returns a NO_SUCH_Instance which is correct.   Any ideas?  Would changing a unused interface to SNMP Index 341 potentially resolve this problem.

 

Thanks in Advance,

Gus

 

----------------------- New Test ----------------------- Paessler SNMP Tester 5.2.1 3/1/2016 5:08:33 PM (9 ms) : Device: 3/1/2016 5:08:33 PM (13 ms) : SNMP V2c 3/1/2016 5:08:33 PM (20 ms) : Custom OID 1.3.6.1.2.1.2.2.1.1.340 3/1/2016 5:08:33 PM (29 ms) : SNMP Datatype: ASN_INTEGER 3/1/2016 5:08:33 PM (34 ms) : ------- 3/1/2016 5:08:34 PM (38 ms) : Value: 340 3/1/2016 5:08:34 PM (42 ms) : Done

----------------------- New Test ----------------------- Paessler SNMP Tester 5.2.1 3/1/2016 5:08:37 PM (9 ms) : Device: 3/1/2016 5:08:37 PM (12 ms) : SNMP V2c 3/1/2016 5:08:37 PM (17 ms) : Custom OID 1.3.6.1.2.1.2.2.1.1.341 3/1/2016 5:08:37 PM (25 ms) : SNMP Datatype: ASN_PRIMITIVE 3/1/2016 5:08:37 PM (29 ms) : ------- 3/1/2016 5:08:37 PM (32 ms) : Value: Generic Error (SNMP error # 5) 3/1/2016 5:08:37 PM (36 ms) : Done

----------------------- New Test ----------------------- Paessler SNMP Tester 5.2.1 3/1/2016 5:10:52 PM (8 ms) : Device: 3/1/2016 5:10:52 PM (11 ms) : SNMP V2c 3/1/2016 5:10:52 PM (15 ms) : Custom OID 1.3.6.1.2.1.2.2.1.1.342 3/1/2016 5:10:52 PM (23 ms) : SNMP Datatype: ASN_INTEGER 3/1/2016 5:10:52 PM (27 ms) : ------- 3/1/2016 5:10:52 PM (31 ms) : Value: 342 3/1/2016 5:10:52 PM (34 ms) : Done

----------------------- New Test ----------------------- Paessler SNMP Tester 5.2.1 3/1/2016 5:11:01 PM (8 ms) : Device: 3/1/2016 5:11:01 PM (13 ms) : SNMP V2c 3/1/2016 5:11:01 PM (18 ms) : Custom OID 1.3.6.1.2.1.2.2.1.1.560 3/1/2016 5:11:01 PM (26 ms) : SNMP Datatype: SNMP_EXCEPTION_NOSUCHINSTANCE 3/1/2016 5:11:01 PM (29 ms) : ------- 3/1/2016 5:11:01 PM (33 ms) : Value: No such instance (SNMP error # 223) 3/1/2016 5:11:01 PM (37 ms) : Done

 

0 REPLIES 0