Solved

SNMP error No Such Object available on this agent at this OID

Posted on 2016-08-16
3
439 Views
Last Modified: 2016-08-18
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
mibs +VENUS-DSU-MIB

Open in new window

To file /etc/snmp/snmp.conf

1.3) I tried command
user1@snmp-manager:~$ snmpget -v2c -c public localhost VENUS-DSU-MIB::dsuSitename.0

Open in new window

I have got
Timeout: No Response from localhost.

Open in new window


*** Does this indicate OID name VENUS-DSU-MIB::dsuSitename exist but no set value?

1.4) I tried command
user1@snmp-manager:~$ snmptranslate -On  VENUS-DSU-MIB::dsuSitename

Open in new window

I have got
.1.3.6.1.4.1.77777.1.1.1

Open in new window


*** Does this indocate OID name VENUS-DSU-MIB::dsuSitename correct?

1.5) I tried command
user1@snmp-manager:~$ snmpset -v2c -c public localhost s .1.3.6.1.4.1.77777.1.1.1

Open in new window

I have got
s: Bad object type: .

Open in new window


*** 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
0
Comment
Question by:trazodone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 41760904
the no response means either you did not start snmpd
ps -ef | grep snmpd.
try running snmpwalk first.

usually, public is a restricted community returnning minimum entries with the one you specify is unlikely to be one of them.

edit /etc/snmp/snmp.conf and add a read-only and a read/write community and that should fix your problem.
for access

Merely adding a mib does not  mean the snmpd have the reference,
you have to add the non-standard OID to snmp.conf
1
 

Author Comment

by:trazodone
ID: 41761686
Thank you
0
 

Author Closing Comment

by:trazodone
ID: 41761687
Thank you.
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco 4400 will not take SFP module ? SFP 10 GB module 1 89
Coding for the first time 9 100
Looking for a program called HoneyMine. 3 117
AT&T sip management portal 7 28
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Transparency shows that a company is the kind of business that it wants people to think it is.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question