[AGENT++] decomposing the trap pdu

Frank Fock fock at agentpp.com
Fri Sep 17 07:14:51 CEST 2004


Ramin,

You will have to extract the SNMPv1 specific information
about generic trap ID and specific trap ID from the notification
ID. But the question is, why do you want to extract these IDs,
when you can have the complete notification ID by calling
Pdu::get_notify_id(..)?

Best regards,
Frank

Ramin Dousti wrote:

>Hi,
>
>I'd like to decompose the trap pdu (more specifically I'd like to
>have):
>
>Enterprise           Pdu::get_notify_enterprise()
>Generic trap type    Pdu::get_type()  ?? (is this the right member func?)
>Specific trap code   ?????
>
>Can someone help please.
>
>Ramin
>
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>  
>





More information about the AGENTPP mailing list