trazodone
asked on
SNMP error No Such Object available on this agent at this OID
Hello Experts,
I am newbie to SNMP and I currently working on project to implement SNMP to Embedded Linux. I setup 2 VM servers as Ubuntu Linux to prove if I can read/write value using snmpset and snmpget between SNMP Manager server ans SNMP Agent server. To my knowledge I learned some important basic of SNMP BTW I wish you may fulfill my question by sharing your idea. I did some basic command and seems working well.
What I want to do next is
1) Implement MIB file to servers (manager or agent)
2) Set some string value to some OID from manager to agent
3) Retrieve string value from OID on agent
4) Write some script to frequently set value to many OIDs (To let other SNMPmanager to retrieve value)
File VENUS-DSU-MIB2.txt in attachment will be use for this evaluation.
The first server name is snmp-manager installed snmp and snmp-mibs-downloader
The second server name is snmp-agent installed snmpd
1)Implement MIB file to servers
On snmp-manager server:
1.1)I put file VENUS-DSU-MIB.txt to path /usr/share/snmp/mibs/
1.2)I add line
1.3) I tried command
*** Does this indicate OID name VENUS-DSU-MIB::dsuSitename exist but no set value?
1.4) I tried command
*** Does this indocate OID name VENUS-DSU-MIB::dsuSitename correct?
1.5) I tried command
*** I wish to success testing on snmp-manager first then continue on snmp-agent server.
I tried hard to read from net-snmp website but I don't know much about C example. If you have good example/tutorial to test MIB please let me know.
Thanks all.
VENUS-DSU-MIB2.txt
I am newbie to SNMP and I currently working on project to implement SNMP to Embedded Linux. I setup 2 VM servers as Ubuntu Linux to prove if I can read/write value using snmpset and snmpget between SNMP Manager server ans SNMP Agent server. To my knowledge I learned some important basic of SNMP BTW I wish you may fulfill my question by sharing your idea. I did some basic command and seems working well.
What I want to do next is
1) Implement MIB file to servers (manager or agent)
2) Set some string value to some OID from manager to agent
3) Retrieve string value from OID on agent
4) Write some script to frequently set value to many OIDs (To let other SNMPmanager to retrieve value)
File VENUS-DSU-MIB2.txt in attachment will be use for this evaluation.
The first server name is snmp-manager installed snmp and snmp-mibs-downloader
The second server name is snmp-agent installed snmpd
1)Implement MIB file to servers
On snmp-manager server:
1.1)I put file VENUS-DSU-MIB.txt to path /usr/share/snmp/mibs/
1.2)I add line
mibs +VENUS-DSU-MIB
To file /etc/snmp/snmp.conf1.3) I tried command
user1@snmp-manager:~$ snmpget -v2c -c public localhost VENUS-DSU-MIB::dsuSitename.0
I have gotTimeout: No Response from localhost.
*** Does this indicate OID name VENUS-DSU-MIB::dsuSitename
1.4) I tried command
user1@snmp-manager:~$ snmptranslate -On VENUS-DSU-MIB::dsuSitename
I have got.1.3.6.1.4.1.77777.1.1.1
*** Does this indocate OID name VENUS-DSU-MIB::dsuSitename
1.5) I tried command
user1@snmp-manager:~$ snmpset -v2c -c public localhost s .1.3.6.1.4.1.77777.1.1.1
I have gots: Bad object type: .
*** I wish to success testing on snmp-manager first then continue on snmp-agent server.
I tried hard to read from net-snmp website but I don't know much about C example. If you have good example/tutorial to test MIB please let me know.
Thanks all.
VENUS-DSU-MIB2.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you.
ASKER