Support Center > Search Results > SecureKnowledge Details
"Wrong Type (should be INTEGER)" errors when querying SNMP OID 'vsxCountersTable' on VSX Gateway
Symptoms
  • "Wrong Type (should be INTEGER)" errors when querying SNMP OID 'vsxCountersTable' (.1.3.6.1.4.1.2620.1.16.23.1) on VSX Gateway.

    Show / Hide examples
    • [Expert@HostName:0]# snmpwalk -v2c -c public localhost -m $CPDIR/lib/snmp/chkpnt.mib .1.3.6.1.4.1.2620.1.16.23.1 | grep 'Wrong Type'
      CHECKPOINT-MIB::vsxVsSupported.0 = Wrong Type (should be INTEGER): Counter32: 25
      CHECKPOINT-MIB::vsxVsConfigured.0 = Wrong Type (should be INTEGER): Counter32: 2
      CHECKPOINT-MIB::vsxVsInstalled.0 = Wrong Type (should be INTEGER): Counter32: 2
      CHECKPOINT-MIB::vsxStatusVSId.1.0 = Wrong Type (should be Gauge32 or Unsigned32): Counter32: 0
      ... ...
      CHECKPOINT-MIB::vsxStatusCPUUsageVSId.1.0 = Wrong Type (should be INTEGER): Counter32: 0
      ... ...
      
    • [Expert@HostName:0]# snmptable -v2c -c public localhost -m $CPDIR/lib/snmp/chkpnt.mib .1.3.6.1.4.1.2620.1.16.23.1
      SNMP table: CHECKPOINT-MIB::vsxCountersTable
      
                         vsxCountersVSId                 vsxCountersConnNum               vsxCountersConnPeakNum             vsxCountersConnTableLimit vsxCountersPackets vsxCountersDroppedTotal vsxCountersAcceptedTotal vsxCountersRejectedTotal vsxCountersBytesAcceptedTotal vsxCountersBytesDroppedTotal vsxCountersBytesRejectedTotal vsxCountersLoggedTotal                     vsxCountersIsDataValid
       Wrong Type (should be INTEGER): 0 Wrong Type (should be INTEGER): 53 Wrong Type (should be INTEGER): 3226 Wrong Type (should be INTEGER): 14900              44141                       0                    44141                        0                      21486472                            0                             0                     19          Wrong Type (should be INTEGER): 1
      [Expert@HostName:0]#
      
Cause

Relevant counters in the MIB file are incorrectly defined as "Integer" type.


Solution
Note: To view this solution you need to Sign In .