Re: get without request
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
Re: get without request
On 01/28/2013 01:47 AM, Dave Shield wrote: 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. Hi Dave, Yes, I think so. 'inform' and crontab would solve my simple problem. Thanks, Nguyen Quoc Dinh -- 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
get without request
Hi all, For some specific reasons, I want to update agent sensor value without get-request. That's to say the agent periodically send monitoring data to the monitor-host. 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? Any suggestion or comment would be highly appreciated and value to me. Many thanks. Nguyen Quoc Dinh -- 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