Re: Generating a trap with table infomation

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Fri, 13 Aug 2010 14:28:32 +0200, Norasyikin MD Ali <[email protected]> said:

NMA> So in my code, i'll have to match each varbind with an OID. In short, 
NMA> get an OID for each column which is proving quite messy (meaning I don't 
NMA> know how to do it). Is there a function to create a varlist for the 
NMA> whole table?

No, there isn't at this time.

However, you should be able to create a single OID for the first column,
add it and then just change the column number spot in the OID and leave
the rest of it the same in order to add the next variable to the varbind list.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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.