Hi Greeting:

   On the man page of "snmptrap" I found there is type for counter32 but no 
counter64 
  ###
        The TYPE is a single character, one of:
              i  INTEGER
              u  UNSIGNED
              c  COUNTER32
              s  STRING
              x  HEX STRING
              d  DECIMAL STRING
              n  NULLOBJ
              o  OBJID
              t  TIMETICKS
              a  IPADDR
 #####
   Because there's no type for counter64 I could use so I used "c" for 
counter64. My trap command failed and prompted the following error message -
   "1.3.6.1.4.1.9926.1.21.1.4.1.1.11: Bad variable type (Type of attribute is 
Counter64, not Counter32)"
 My trap command is :
snmptrap -v 2c -c genie 192.168.8.20 trapoid 1.3.6.1.4.1.9926.1.21.1.7.3 
1.3.6.1.4.1.9926.1.21.1.4.1.1.1 u 765 1.3.6.1.4.1.9926.1.21.1.4.1.1.2 u 5120001 
1.3.6.1.4.1.9926.1.21.1.4.1.1.6 i 3 1.3.6.1.4.1.9926.1.21.1.4.1.1.7 s customer\ 
105 1.3.6.1.4.1.9926.1.21.1.4.1.1.8 i 1 1.3.6.1.4.1.9926.1.21.1.4.1.1.4 i 3 
1.3.6.1.4.1.9926.1.21.1.4.1.1.5 i 2 1.3.6.1.4.1.9926.1.21.1.4.1.1.13 i 16 
1.3.6.1.4.1.9926.1.21.1.4.1.1.3 t 1125392640 1.3.6.1.4.1.9926.1.21.1.4.1.1.11 c 
10 1.3.6.1.4.1.9926.1.21.1.4.1.1.14 i 2 1.3.6.1.4.1.9926.1.21.1.4.1.1.10 c 0 
1.3.6.1.4.1.9926.1.21.1.4.1.1.9 i 2 

 I would like to know if there is any solution for this. The value for this oid 
is very big so I have to use counter64 not counter32.
 I'd appreciate any point and tip. Thanks in advance.

-Jim

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 2005/8/29
 

Reply via email to