LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2006, 05:10 PM   #1
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
SNMP client for linux


hello,

my router does not support SNMP. Are there any applications that can compensate for this?

example an SNMP application on my linux box?

thanks
drag
 
Old 11-12-2006, 05:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what do you actually want to achieve?? not sure how running snmp on a server will compensate for a router not supporting it... you do know what SNMP is? it's just an abstracted protocol to report data. any data at all. you can run a net-snmp server on a linux server and track server uptime, disk usage, cpu usage, how many files there are in a directory, how many people are logged in, how many times your firefox history contains urls to porn... anything.
 
Old 11-12-2006, 05:25 PM   #3
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
what do you actually want to achieve?? not sure how running snmp on a server will compensate for a router not supporting it... you do know what SNMP is? it's just an abstracted protocol to report data. any data at all. you can run a net-snmp server on a linux server and track server uptime, disk usage, cpu usage, how many files there are in a directory, how many people are logged in, how many times your firefox history contains urls to porn... anything.
thx for ur reply.

yes basically i kno that SNMP is a monitoring protocol, however, all I need is network monitoring on my linux box. does net-snmp work even though i dnt have SNMP enabled on the router?

thanks
 
Old 11-13-2006, 03:53 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
if you run net-snmp on the linux box you will be able to poll the throughput of the ethernet interfaces on the linux box. this has no relation to a seperate router... are yo usomehow expecting the linux box to tell you how busy the router is??
 
Old 11-13-2006, 07:39 AM   #5
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
if you run net-snmp on the linux box you will be able to poll the throughput of the ethernet interfaces on the linux box. this has no relation to a seperate router... are yo usomehow expecting the linux box to tell you how busy the router is??
nope. all i need is the traffic flowing in/out of the linux box. i have installed net-snmp. started the snmpd service, however when i run snmpwalk -v 2c localhost -c public .1.3.6.1.4.1.2021.2

Code:
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
iso.3.6.1.4.1.2021.2 = No more variables left in this MIB View (It is past the end of the MIB tree)
thx
 
Old 11-13-2006, 08:11 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ok, so you have no mibs by the look of it... normally they'd live in /usr/share/mibs/ or something. i think the mib path is normally defined in /etc/snmp/snmp.conf or similar, but that's for the client, not the server, which i don't think needs to care at all.
 
Old 11-13-2006, 10:02 AM   #7
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Original Poster
Rep: Reputation: 15
ok acid. thanks a lot for ur help. Ill do some research on snmp.conf then

thx again
drag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Easy SNMP Server and Client Configuration Steps LXer Syndicated Linux News 0 08-04-2006 03:21 PM
snmp server and client configuration sridhar11 Debian 0 08-02-2006 06:41 AM
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM


All times are GMT -5. The time now is 04:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration