Re:snmpset not working
Dinesh GH <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Jieng,
Thanks for offering me help... Please find the snmpd.conf below...
# rwuser: a SNMPv3 read-write user
# arguments: user [noauth|auth|priv] [restriction_oid]
rocommunity public
rwcommunity private
rwuser root
master no
master no
# agentuser: The system user that the agent runs as.
# arguments: name|#uid
agentuser root
agentuser bin
syscontact dchandra
trap2sink localhost:162 public
See below the comments from snmpset command
./snmpset -v1 -c public localhost system.sysLocation.0 s "right here"
Error in packet.
tail -f /var/snmp/snmpd.log
Received SNMP packet(s) from 127.0.0.1
GET message
-- DISMAN-EVENT-MIB::sysUpTimeInstance
-- SNMPv2-MIB::sysContact.0
Sending 67 bytes to 127.0.0.1
0000: 30 41 02 01 00 04 06 70 75 62 6C 69 63 A2 34 02 0A.....public¢4.
0016: 04 36 AE B0 9C 02 01 00 02 01 00 30 26 30 0E 06 .6®°.......0&0..
0032: 08 2B 06 01 02 01 01 03 00 43 02 0B 78 30 14 06 .+.......C..x0..
0048: 08 2B 06 01 02 01 01 04 00 04 08 64 63 68 61 6E .+.........dchan
0064: 64 72 61 dra
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
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