Help with SNMPWALK


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with SNMPWALK
# 1  
Old 01-10-2012
Help with SNMPWALK

Hi

when I do the SNMPwalk, it doesn't seem to work. Please advice what I am doing wrong?

On my snmpd.conf file, I have this.

Code:
    rocommunity badboy xx.x.x.x # Traverse Server

Also I have MIB files under /usr/share/snmp/mibs


Code:
[root@nyus03 mibs]# service snmpd status

snmpd (pid 23756) is running...


Code:
[root@nyus03 mibs]# snmpwalk -v 1 -c badboy localhost interface

Timeout: No Response from localhost


Please advice. Thanks.
# 2  
Old 01-10-2012
Try using your actual hostname instead of localhost. I've run into that same problem in the past. If that doesn't work, do you have a firewall like iptables running?
Padow
# 3  
Old 01-11-2012
Thanks for your reply. I don't have any firewall running on this server. I also tried with the hostname instead of localhost. I get the error message.

Please advice how your snmpd.conf file looks like? Maybe I made some thing wrong on that file?
# 4  
Old 01-11-2012
Not sure what OS or version of SNMP you're using, but depending on the SNMP package you have installed it is accompanied with a few tools that assist with getting it setup correctly. One is the snmpconf command which helps get the snmpd.conf file setup correctly and another is the snmptest command to test the configuration and find inconsistencies.

Hope this helps.
This User Gave Thanks to in2nix4life For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

snmp genError with snmpwalk

Hi Admins, I am new member here. I am using IAX 5.3 trying to configure snmpv3. Conf file /etc/snmpdv3.conf contents given below VACM_GROUP group1 SNMPv1 public - VACM_GROUP group1 SNMPv1 sbmviking - VACM_VIEW defaultView internet - included -... (0 Replies)
Discussion started by: newaix
0 Replies

2. UNIX for Dummies Questions & Answers

trouble with snmpwalk script

I am using a line of code that I borrowed from someone else's script, in a script to monitor changes in my local network. It works but it takes too long to pick up the changes. snmpwalk -v 2c -c PASSWORD -Oq 10.0.1.1 RFC1213-MIB::atPhysAddress The snmp server is my apple router. If I monitor... (7 Replies)
Discussion started by: chancho
7 Replies

3. AIX

NET-SNMP not responding to snmpwalk

We are using net-snmp on AIX 5.3 TL12 with CACTi for monitoring. Recently we are facing a problem. When we start net-snmp the snmpwalk to the localhost is working. But after a few minutes the snmpwalk gives a timeout to localhost. The snmp process is running. We recently upgraded the TL on the... (1 Reply)
Discussion started by: wibhore
1 Replies

4. UNIX for Dummies Questions & Answers

snmpwalk or maximum connection

what is the simplest command to check if a server already reached it's maximum connection? ( regardless if it's database, mail, etc). system: solaris (9/20) machine: sparc/x86 thanks, larey (5 Replies)
Discussion started by: lhareigh890
5 Replies

5. Shell Programming and Scripting

snmpwalk timeout

can somoene please tell me how to tell snmpwalk how many seconds it has to timeout? i searched the web for this but i can't find it. i'm incorporating this into a script, and I'd like to have snmpwalk timeout within a certain amount of seconds. the -t option doesn't seem to work because... (1 Reply)
Discussion started by: SkySmart
1 Replies

6. Infrastructure Monitoring

snmpwalk on solaris 8

hello, I want to know how can I find the path of snmpwalk under sun solaris 5.8. I have snmp protocol installed.when I write this on a terminal I have this result: bash: snmpwalk: command not found but when I wrote this command At a distance,it works good. urgent please help me thanks (4 Replies)
Discussion started by: lamou23
4 Replies

7. Solaris

Net-SNMP v5.4 - sub-id not found in log, but can query with snmpget and snmpwalk

Hi everyone, I'm configuring Net-SNMP v5.4 on Solaris 10, sending traps to OpenNMS 1.2.9-0.20061212.0. I'm setting up disk monitoring (% of space free) for 5 directories. Here's what I'm working with: (snmpd.conf - disk and monitoring portions) # # Disk Usage monitoring: # disk / 20%... (0 Replies)
Discussion started by: Mariognarly
0 Replies

8. UNIX for Advanced & Expert Users

snmpget/snmpwalk for dskPercent not working.

snmpwalk -v1 -c myname {ip address} dskPercent. Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-SNMP-MIB::dskPercentNode snmpget -v1 -c myname {ip address} dskPercent.1 Error in packet Reason: (noSuchName) There is no such variable... (0 Replies)
Discussion started by: ynilesh
0 Replies
Login or Register to Ask a Question