trap information interchange: in text format

"Joao Miguel Ferreira" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello all,

I need to find a suitable string format for receiving information to be
sent as traps. I have an 'snmp aware' application than can not send
traps, from our project partner. This application will send me a string
with all the info I need to send the trap. We are trying to figure out
what fields should be present in that string.

I'dd like to get your opinions about if the following string would be
enough to store all the information I will need to later use
"send_easy_trap()" or "send_v2trap()".

Here goes:

---------------------------------------------------------
TRAP_OID=".1.3.6.1.2.1.1.x.y.z" TRAP_TYPE="Integer" TRAP_VALUE="1234"
VARBIND_OID=".1.3.6.1.2.1.a.b.c.d.e" VARBIND_TYPE="Integer"
VARBIND_VALUE="1000" VARBIND_OID=".1.3.6.1.2.13.45.w.v.z.q"
VARBIND_TYPE="Srting" VARBIND_VALUE="Hello World"
----------------------------------------------------------

Note: the string will be parsed by a program in Perl. I have no problem
there. I just need to define the string format with my project partners.
My question is: Are the fields (KEY="value") in the string suficient or
should there be other fields too, for a greater coverage of all the
possible traps.

Additionally if any field is irrelevant could you please tell me.


Thank you so much. This is really important.

Joao
jmf

-------------------------------------------------------------------------
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

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.