nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

snmpwalk to remote address gives timeout

This is a discussion on snmpwalk to remote address gives timeout within the Networking, Firewalls and Security forums, part of the Mastering Servers category; If i run "snmpwalk -v 1 -c public localhost system" at the snmp box I get the results what expect. ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-13-2007, 10:20 PM
Junior Member
User
 
Join Date: Jun 2007
My distro: Centos & Freebsd
Posts: 15
Rep Power: 0
manish_2479 is on a distinguished road
Send a message via AIM to manish_2479 Send a message via MSN to manish_2479 Send a message via Yahoo to manish_2479
Default snmpwalk to remote address gives timeout

Quote:
If i run "snmpwalk -v 1 -c public localhost system" at the snmp box I get the results what expect.
But when I run at for remote system
Quote:
snmpwalk -v 1 -c public 192.168.1.36
system on the web-01 box, with 192.168.1.36 the IP address of the web-01 box, i get:
HTML Code:
 Timeout: No Response from 192.168.1.36
snmpd is up and running, I can ping both ways, there are no firewalls in place. What could be wrong? And same thing with the cfgmaker for the remote system gives me SNMP error: no response received


Thanking you Manish
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-14-2007, 12:28 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 557
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Did you configured snmpd on web-01? You need something as follows in snmd.conf (adjust subnetmask as per your setup)

Code:
com2sec local     127.0.0.1/32    public
com2sec local     10.10.10.0/24   public

group MyROGroup v1         local
group MyROGroup v2c        local
group MyROGroup usm        local

view all    included  .1                               80

access MyROGroup ""      any       noauth    exact  all    none   none

syslocation MyLocation
syscontact Me <xzz@19.mum-vasi-vsnl.in>
Restart snmpd and run command again.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 06-14-2007, 04:47 AM
Junior Member
User
 
Join Date: Jun 2007
My distro: Centos & Freebsd
Posts: 15
Rep Power: 0
manish_2479 is on a distinguished road
Send a message via AIM to manish_2479 Send a message via MSN to manish_2479 Send a message via Yahoo to manish_2479
Default

well so you mean to say that on all of the server I have to configure the snmpd.conf file with the same Community name and the com2sec source as the main SNMP server with MRTG and RRDTOOL . Well and I also wan't to know how to do snmp ans MRTG for CISCO router and Switches .

Thanking you
Manish
Reply With Quote
  #4 (permalink)  
Old 06-15-2007, 03:56 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 910
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to have snmpd on all devices. MOst router, network switch do have inbuilt snmpd so no need to install anything just configure them using telnet or web access. And you are done!

For Linux / UNIX / Windows servers you need to install and configure snmpd.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 07-10-2008, 02:59 AM
Junior Member
User
 
Join Date: Jul 2008
My distro: Debian
Posts: 1
Rep Power: 0
hlopezv is on a distinguished road
Default Thanks rockdalinux it works for me

Quote:
Originally Posted by rockdalinux View Post
Did you configured snmpd on web-01? You need something as follows in snmd.conf (adjust subnetmask as per your setup)

Code:
com2sec local     127.0.0.1/32    public
com2sec local     10.10.10.0/24   public

group MyROGroup v1         local
group MyROGroup v2c        local
group MyROGroup usm        local

view all    included  .1                               80

access MyROGroup ""      any       noauth    exact  all    none   none

syslocation MyLocation
syscontact Me <xzz@19.mum-vasi-vsnl.in>
Restart snmpd and run command again.
This solution works fine for me
Thanks rockdalinux
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Set Session Timeout Cichlid Mania CentOS / RHEL / Fedora 2 05-02-2008 02:09 AM
set timeout for ssh prompt vikas027 Shell scripting 0 04-23-2008 12:06 AM
hda: status timeout: status=0xd0 { Busy } surmandal Linux hardware 3 03-24-2008 08:16 PM
log mac address in squid log sunlinux Networking, Firewalls and Security 1 09-04-2007 02:32 AM
MRTG cfgmaker Error SNMPwalk problem manish_2479 Networking, Firewalls and Security 0 07-10-2007 08:31 PM


All times are GMT +5.5. The time now is 05:13 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36