Re: snmpget problem

"Artem Fedko" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks a lot for your advices!

FAQ is realy helped with sysLocation ;)

>
> > Groupe "priv" have read-write permission (in snmpd.conf -> rwcommunity  priv  )
> > but allways when I've tried to change value of  arttest.0, I've got
> > next message:
> >
> > $ snmpset -v 2c -c priv 127.0.0.1 ART-MIB::arttest.0 u 5
> > Error in packet.
> > Reason: notWritable (That object does not support modification)
> > Failed object: ART-MIB::arttest.0
>
> How have you implemented this object?

I've implemented it in next way:

1) create MIB file and put it in /usr/local/share/snmp/mibs
2) use mib2c -c mib2c.scalar.conf ART-MIB::arttest
3) put arttest.c and h files in /home/art/net-snmp-5.2.1.2/agent/mibgroup
4) ./configure
5) make
6) make install

Is it OK?

Artem

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.