This is a discussion on RE: Gracefully restart an agent within the SNMP Users forums, part of the Networking and Network Related category; I tried that - The agent I built includes the UCD-SNMP-MIB, and I can see the value get SET ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I tried that -
The agent I built includes the UCD-SNMP-MIB, and I can see the value get SET to 1 (any subsequent GETs on the agent show the value as 0), however my agent isn't reset to default values.. i.e. I SET a string prior to setting the versionRestartAgent, and a minute after, I do a GET on the string, which responds with the same value I set it to, not the default.. I'm using 5.4 on a Win32 build Any ideas? -----Original Message----- From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, June 14, 2007 4:21 AM To: Marinec, Peter Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Gracefully restart an agent On 13/06/07, Marinec, Peter <peter.marinec@lmco.com> wrote: > Are there any tutorials or documentation in net-snmp v5.4 (for win32) > that show how to gracefully restart an Agent, possibly via an SNMP-SET > message to a dummy OID? See UCD-SNMP-MIB.txt: versionRestartAgent OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Set to 1 to restart the agent." ::= { version 12 } Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/...net-snmp-users |