Issue with SNMP


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Issue with SNMP
# 1  
Old 09-17-2014
Issue with SNMP

Hi,

I have a strange issue with snmwpalk.
If I do snmpget on yyy.977.4.3.1.3.1006 I get the following successfull output :

yyy.977.4.3.1.3.1006 = INTEGER: 206

This is what I was excepting for, now I want to look for other snmp addresses Under yyy.977.4.3.1.3.xxxx.

If I do snmpwalk on yyy.977.4.3.1.3 I get the following output :

yyy.977.4.3.1.3 = INTEGER: 0

But I am clearly excepting to walk through all snmp adresses possible for 3.xxxx ...

What is even stranger is this
If I do snmpwalk yyy.977.4.3.1 I get the following output :

yyy.977.4.3.1 = No Such Object available on this agent at this OID

But I am crearly excepting to walk through all snmp adresses possible for 3.1.1.xxxx, 3.1.2.xxxx, 3.1.3.xxxx, 3.1.4.xxxx [...], 3.1.9.xxxx

And If I do snmpwalk on yyy.977 it successfully go through all snmp addresses except yyy.977.4 !
How can snmpwalk go through all adresses except yyy.977.4 despite yyy.977.4 is clearly working (see first command) and this is excacly where I need to look ...

Either I do not anderstand how snmp works or I am doing something wrong.

Thank you in advance if you could help me with this.
FFedo
# 2  
Old 09-17-2014
What version of SNMP are you using? What is the FULL command you are using? What platform are you on?
# 3  
Old 09-18-2014
Thank you for answering.
SNMP Version is 2c, plateform is CentOS 6.5 x64
command is :

snmpwalk -v2c -c CommunityName IP_Address 1.3.6.1.4.1.31977.4.3.1.3.1006

returns me a value I was expecting for.

but

snmpwalk -v2c -c CommunityName IP_Address 1.3.6.1.4.1.31977.4.3.1

returns me "SNMPv2-SMI::enterprises.31977.4.3.1 = No Such Object available on this agent at this OID"

This morning I browsed the MiB with a tool I have from ManageEngine (monitoring solution), if I browse to 1.3.6.1.4.1.31977.4.3.1.3 the tool returns me "No data available in this sub-tree"
# 4  
Old 09-18-2014
Thanks for providing the information requested. There are a number of things which could be causing your problem.

There are two basic reasons why a request may go unanswered. Either the management application does not like the request so never sends it, or the agent does not like the request so never responds. The simplest way to distinguish between the two is to run snmpwalk with debugging enabled and look at the output. Hopefully your version of snmpwalk allows you to enable debugging output.

Other possibilities to consider:

The agent may return a response to the original query but the management application may not like this response, and refuse to display it. The typical symptoms of this would be that the debugging option would display a sequence of sending and received packet dumps, with the same contents each time.

The agent may simply not support the MIB objects being requested. This is most commonly seen when using snmpwalk. Debugging output would show two pairs of raw packet dumps - one a GETNEXT request, followed by a GET request.

The agent is taking too long to respond and timing out (unusual)

Poorly implemented enterprise MIB

I believe that RHEL, on which CentOS is based, uses the NET-SNMP toolset (Net-SNMP). There is an excellent FAQ there which will assist you in further debugging your problem.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies

2. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

3. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

4. Shell Programming and Scripting

Snmp Process Monitoring Issue

Can someone please explain to me how come snmpwalk doesn't always find a running process that's on a remote server? I prefer to use snmp to monitor processes remotely because this doesn't require me to put a script on that remote box. but the problem is, there are times that my snmp command... (2 Replies)
Discussion started by: SkySmart
2 Replies

5. Infrastructure Monitoring

SNMP Issue

When my server is restarted, SNMP does not start automatically. It needs to be started manually everytime the server is restarted. (1 Reply)
Discussion started by: shahdeo
1 Replies

6. Infrastructure Monitoring

net-snmp issue

When I run a script that polls a router I get the following error from net-snmp. I can not seem to find a straight answer. Could my mib files be corrupt? xxx-xxx:/etc/sma/snmp/mibs# perl /export/home/user/perl/test.pl Unlinked OID in SNMPv2-MIB: snmp ::= { mib-2 11 } Undefined identifier:... (2 Replies)
Discussion started by: mrlayance
2 Replies

7. Infrastructure Monitoring

net-snmp - restarting too quickly issue

on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode: ... (1 Reply)
Discussion started by: pupp
1 Replies

8. Solaris

Net-SNMP-5.4.2.1 issue on Sun Solaris

Hi, I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled: /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
Discussion started by: tisha
2 Replies

9. Solaris

Net-snmp issue in Solaris 8

Hi there, I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions. My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies

10. UNIX and Linux Applications

SNMP Change keys Issue

Hi All I have been facing a problem with snmpusm for creation of a new user from an existing user through cloning during Key Change. The Existing user has been created using Passphrase and I intend to create the new user with a Auth and Encryption Keys rather that passphrases. The documentation... (0 Replies)
Discussion started by: anand_rage
0 Replies
Login or Register to Ask a Question