Re: Help: Can not set a mib variable to a value in the range.
"George Li" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Dave! -George On 7/30/07, Dave Shield <[email protected]> wrote: > > On 30/07/07, George Li <[email protected]> wrote: > > I have a mib variable which has range (0..130). I can set the variable > to > > anything from 1 to 130 (including 1 and 130). But when I was trying to > set > > the variable to 0, I got an error like: > > > > Error in packet. > > Reason: wrongValue (The set value is illegal or unsupported in some way) > > > > Could anybody tell me why this happens? > > You'd need to look at the code that implements this object. > > > > When an SNMP SET request is received by > > snmpd, which agent is checking the range of the value to be set? is it > > master agent (snmpd)? or subagent? > > If the object is implemented by a subagent, then it would be the > subagent that checks whether the new value is valid. The master > agent wouldn't know anything about it (other than which subagent > to pass the request on to). > > Dave > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users