LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2010, 06:19 AM   #1
tamilm
Member
 
Registered: Jun 2008
Posts: 43

Rep: Reputation: 15
how to send snmpwalk request from one system to another system


Hi

I have installed net-snmp-5.5 on linux pc.then i started snmp agent.i was able to snmpwalk for localhost on command line.

snmpwalk -v 2c -c public localhost sysLocation.0

then i am running snmpagent in one linux pc.i tried snmpwalk from remote machine.i stop the firewall.but i was not able to snmpwalk from remote system

snmpwalk -v 2c -c public remoteip sysLocation.0

below mentioned is snmpd.conf file

AGENT BEHAVIOUR:

agentAddress udp:127.0.0.1:161

SYSTEM INFORMATION:

sysLocation chennai
sysContact root@localhost
sysServices 72

ACCESS CONTROL:

view all included .1
rocommunity public localhost
rocommunity public 192.168.1.0/24
#rocommunity public default -V systemonly

how to send snmpwalk request from one system to another system where agent is running.

thanks and regards,

Tamil.M
 
Old 02-10-2010, 07:32 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by tamilm View Post
Hi

I have installed net-snmp-5.5 on linux pc.then i started snmp agent.i was able to snmpwalk for localhost on command line.

snmpwalk -v 2c -c public localhost sysLocation.0

then i am running snmpagent in one linux pc.i tried snmpwalk from remote machine.i stop the firewall.but i was not able to snmpwalk from remote system

snmpwalk -v 2c -c public remoteip sysLocation.0

below mentioned is snmpd.conf file

AGENT BEHAVIOUR:

agentAddress udp:127.0.0.1:161

SYSTEM INFORMATION:

sysLocation chennai
sysContact root@localhost
sysServices 72

ACCESS CONTROL:

view all included .1
rocommunity public localhost
rocommunity public 192.168.1.0/24
#rocommunity public default -V systemonly

how to send snmpwalk request from one system to another system where agent is running.

thanks and regards,

Tamil.M


The agent needs to listen on a specific ip or 0.0.0.0:161 or you have to be able to forward the requests to 127.0.0.1 if you must have it listening there
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Login & Password Request on Installation dcapewell Linux - Newbie 7 09-17-2009 10:58 AM
request tracker system tester^_^ Linux - Software 2 07-30-2008 04:02 PM
Has anyone used and/or installed OTRS (open ticket request system) on Slack agentc0re Slackware 1 05-01-2007 06:36 PM
LXer: How to install OTRS (Open source Ticket Request System) in Debian LXer Syndicated Linux News 0 04-04-2007 07:01 PM
LXer: Installing OTRS 2.14 (Open source Ticket Request System) on CentOS 4.4 LXer Syndicated Linux News 0 02-26-2007 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration