If its a HEX string then it should be a matter of putting in the function we 
have to convert HEX strings.

I'll put this in my TODO list.

Javier

LIMA David wrote:
> I'm trying to manage traps of a Qlogic Fibre Channel device into JFFNMS. 
> Traps are well catched by the trap_receiver.sh script but I think that they 
> are not well inserted into the DB if I compare the trap* tables to snmptrapd 
> logs.
> 
> 
> For example, I received a trap telling that a FC port changes status.
> 
> Nov 13 10:38:13 ntsncnms1 snmptrapd[4298]: 2006-11-13 10:38:13 
> 10.96.10.25(via UDP: [10.96.10.25]:32771) TRAP, S
> NMP v1, community public        SNMPv2-SMI::enterprises.1663.1.1.1.1.34 
> Enterprise Specific Trap (4) Uptime: 52
> days, 5:07:27.93        
> SNMPv2-SMI::experimental.94.1.11.1.3.16.0.0.192.221.7.68.99.0.0.0.0.0.0.0.0.1 
> = INTEGER:
>  1128   
> SNMPv2-SMI::experimental.94.1.11.1.7.16.0.0.192.221.7.68.99.0.0.0.0.0.0.0.0.1 
> = INTEGER: 3      SNMPv2-S
> MI::experimental.94.1.11.1.8.16.0.0.192.221.7.68.99.0.0.0.0.0.0.0.0.1 = OID: 
> SNMPv2-SMI::experimental.94.1.10.1.
> 23.16.0.0.192.221.7.68.99.0.0.0.0.0.0.0.0.10    
> SNMPv2-SMI::experimental.94.1.11.1.9.16.0.0.192.221.7.68.99.0.0.
> 0.0.0.0.0.0.1 = STRING: "29;1128;0;0;0;[Mon Sep 11 10:07:26 UTC 
> 2006][0][0x0][Port HW state change. Port:9]"
> 
> 
> On the DB, I don't have same varbinds
> 
> mysql> select * from traps_varbinds where trapid=6;
> +-----+--------+--------------------------------------------------------------------------------+----------------------------------------------------------------------------------+-------+
> | id  | trapid | trap_oid                                                     
>                   | value                                                     
>                        | oidid |
> +-----+--------+--------------------------------------------------------------------------------+----------------------------------------------------------------------------------+-------+
> | 348 |      6 | SNMP-COMMUNITY-MIB::snmpTrapCommunity.0                      
>                   | public                                                    
>                        |     5 |
> | 347 |      6 | SNMP-COMMUNITY-MIB::snmpTrapAddress.0                        
>                   | 10.96.10.24                                               
>                        |     4 |
> | 346 |      6 | 
> SNMPv2-SMI::experimental.94.1.11.1.8.16.0.0.192.221.12.79.49.0.0.0.0.0.0.0.0.1
>  | 
> SNMPv2-SMI::experimental.94.1.10.1.23.16.0.0.192.221.12.79.49.0.0.0.0.0.0.0.0.10
>  |     3 |
> | 345 |      6 | 
> SNMPv2-SMI::experimental.94.1.11.1.7.16.0.0.192.221.12.79.49.0.0.0.0.0.0.0.0.1
>  | 3                                                                          
>       |     2 |
> | 344 |      6 | 
> SNMPv2-SMI::experimental.94.1.11.1.3.16.0.0.192.221.12.79.49.0.0.0.0.0.0.0.0.1
>  | 1128   
> 
> 
> When browsing the MIB, the trap indicates that the string is in Hex format. 
> The JFFNMS trap receiver only prints the number of the events and not the 
> complete string.
> 
> I don't where the problem can be ...
> 
> TIA
> 
> 
>   _______________
> David LIMA
> Professional Services
> www.scc.com
>  
>  
> 
> 
> 
> ______________________________________________________________________
> Ce message contient des informations dont le contenu est susceptible d'etre 
> confidentiel.
> Il est destine au(x) destinataire(s) indique(s) exclusivement.
> 
> A moins que vous ne fassiez partie de la liste des destinataires, ou que vous 
> soyez habilite a recevoir le mail a leur place, il vous est interdit de le 
> copier, de l'utiliser ou de devoiler son contenu a un tiers.
> 
> Si vous avez recu cet email par erreur, merci de prendre contact avec 
> l'emetteur.
> 
> Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne 
> refletent pas necessairement celles de l'entreprise.
> 
> Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir 
> des virus qui pourraient endommager votre systeme informatique.
> 
> La compagnie a pris toutes dispositions afin de minimiser ce risque et 
> decline toute responsabilite pour toute perte ou dommage resultant 
> directement ou indirectement de l'utilisation de cet email ou de son contenu.
> 
> Il vous appartient d'effectuer vos propres controles anti-virus avant 
> d'ouvrir la ou les pieces jointes.
> ______________________________________________________________________
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jffnms-users mailing list
> jffnms-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jffnms-users

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to