Re: Help regarding snmpset operation

This is a discussion on Re: Help regarding snmpset operation within the SNMP Users forums, part of the Networking and Network Related category; Hi, I am planning to implement this set functionality in the sub-agent side. After going through example files i ...


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-08-2005
Sasikumar Bodathula
 
Posts: n/a
Default Re: Help regarding snmpset operation

Hi,
I am planning to implement this set functionality in the sub-agent
side. After going through example files i modified the file which i
generated through mib2c with few printf statements to understand the
flow. When i did set operation control is coming to MODE_SET_RESERVE1
here i am checking for the type and value range after this control is
coming to MODE_SET_FREE and giving the following error message.

Request Failed: Get Response PDU received from 127.0.0.1
Error Indication in response: A not writable error occured.
Errindex: 1

In the mib i defined this test object as Truth Value this is a scalar
object having read-write access.

On Tue, 2005-06-07 at 20:12, Dave Shield wrote:
> On Tue, 2005-06-07 at 15:42, Sasikumar Bodathula wrote:
> > > > Where can i find example file or tutorial as reference
> > > > for my snmpset implementation.
> > >
> > > apps/snmpset.c

>
> > I generated the code using mib2c mib2c.scalar.conf

>
> Oh - you meant *agent* side SET implementation?
> Sorry, I misunderstood what you were asking for.
>
>
> > is there any sample
> > code which i can compile and run the same for learning.

>
> There's a whole lot of code under 'agent/mibgroups'
> Some of which is more useful as an example than others.
>
> Have a look at the 'examples' directory, as a reasonable
> starting point, and work out from there.
>
> Dave
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> 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




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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 01:12 AM.


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