On 26 January 2013 03:39, Nguyen Quoc Dinh <nguyen.quocd...@zing.vn> wrote:
> Since I still want to adopt snmp program at agents, is there any way to
> omit snmp-get-request, but to have snmp-get-response?

No.
The 'Response' PDU is only sent in response to an explicit
request PDU, be that a Get, GetNext, GetBulk or Set request.
The clue is in the name "response" :-)


The appropriate mechanism for the agent to independently notify
a management station of some information would be to use one
of the notification PDUs - i.e. 'trap' or 'inform'
   They are most typically used to report some form of error condition
or fault,  but they could equally well be used to implement a regular
polling mechanism.

There should be some example code in the source tree that
implements a 'heartbeat' trap, which might be a suitable starting point for you.

Dave

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to