RE: Gracefully restart an agent

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-14-2007
Marinec, Peter
 
Posts: n/a
Default RE: Gracefully restart an agent

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0