Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: GetBulkMessage and GetTable
snmpuser

From: beijing
Posts: 21
Member Since: 06/11/09
posted July 13, 2009 11:46 PM

I have some questions:
(1) To get table values, should I use GetBulkMessage in SNMPv2 and v3, and GetTable in SNMPv1?
(2) When I use the sample Agent and sample Manager to do a GetTable test, a error with "No variables in response" message occurred. Here is the steps:
2-a) start sample Agent and Manager
2-b) select the sample Agent from the agent list in the Manager
2-c) Click "Get Table" button
 Is there any problem in the above steps? How can I get the value of a table?
(3) I'm programming a SNMP monitor(manager) to monitor the status of the managed devices in the network and the customer request to monitor SNMP variables via a poll-response mechanism. Can I use GetBulkMessage or GetTable to get table values in a poll? (I'm afraid that a large amounts of data will cause problems)
Many Thanks!
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted July 14, 2009 5:42 PM

1. GetBulkMessage is more efficient than GetTable, however there is a GetTable overload that uses GetBulkMessage and returns the results in an array.

2. You're getting this message because the agent's table is empty. The Agent sample's table is a history of all the set requests sent to the Agent so to populate it oy must make at least 1 set request. If you do this and the get the table you should receive a table and not the "No variables in response" message.

3. You should be able to use these in a poll. GetBulkMessage or the GetTable overload that uses GetBulkMessage would be more efficient then individual Get or GetNext (GetTable for snmpv1 just uses GetNext messages) messages for getting a table. Of course if they only want to monitor one row or column in a table then you should only use a Get message on the correct OID for the desired data.
snmpuser

From: beijing
Posts: 21
Member Since: 06/11/09
posted September 2, 2009 2:26 AM

Could you please provide a sample to show how to get one row and one column data in a table?

Thanks!
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 21, 2009 4:32 PM

Hi,
We will definitely consider adding examples of this to future releases of the product.
This has been reported as feature request #5131.

If this is an immediate need, please contact Jamie Powell (beyondSupport@dart.com) to discuss the possibility of a custom sample.

Thanks,
-ken
Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX