LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-25-2004, 02:37 PM   #1
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Rep: Reputation: 15
Question looking for help on MRTG


Dear all

Recently I have installed MRTG on my RH PC But Whenever I am trying run mrtg I have got following error


SNMP error : Recieved SNMP response with error code
error status : noSuchName
index 1 (OID 1.3.6.1.2.1.2.2.1.10.1)....



Plz anybody help me.....
 
Old 03-19-2004, 11:15 PM   #2
rstory
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by AZIMBD03
SNMP error : Recieved SNMP response with error code
error status : noSuchName
index 1 (OID 1.3.6.1.2.1.2.2.1.10.1)....
Does snmp work from the command line? Try

snmpwalk -v 2c -c public localhost ifTable
 
Old 03-20-2004, 01:17 AM   #3
sir_September
LQ Newbie
 
Registered: Mar 2004
Location: Australia
Distribution: Debian
Posts: 5

Rep: Reputation: 0
I have only started to use mrtg my self for Debian and have found that you need read/write rights for mrtg to work.

I could be wrong but it didn't work for me at first using read-only so I tried the read-write and it worked fine.
 
Old 03-22-2004, 04:37 AM   #4
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Original Poster
Rep: Reputation: 15
I have tried to see about snmp is working or not by using

snmpwalk -v 2c -c public localhost ifTable

and i got back the following massege


interfaces.ifTable = No more variables left in this MIB view


Please let me know whats my job now



thanks
 
Old 03-25-2004, 01:21 AM   #5
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
try this tutorial

http://people.ee.ethz.ch/~oetiker/we...nix-guide.html
 
Old 04-08-2004, 02:36 PM   #6
spank
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Rep: Reputation: 30
i get the same nosuchname error message but
Code:
 root@dumbrava /etc/snmp #  snmpwalk -v 2c -c public localhost ifTable
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 16436
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 10000000
IF-MIB::ifSpeed.3 = Gauge32: 10000000
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.2 = STRING: 0:6:29:f:ac:7f
IF-MIB::ifPhysAddress.3 = STRING: 0:e0:4c:77:d9:da
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifInOctets.1 = Counter32: 2511667
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 4729354
IF-MIB::ifInUcastPkts.1 = Counter32: 32805
IF-MIB::ifInUcastPkts.2 = Counter32: 0
IF-MIB::ifInUcastPkts.3 = Counter32: 63840
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 2513439
IF-MIB::ifOutOctets.2 = Counter32: 168
IF-MIB::ifOutOctets.3 = Counter32: 6702498
IF-MIB::ifOutUcastPkts.1 = Counter32: 32829
IF-MIB::ifOutUcastPkts.2 = Counter32: 4
IF-MIB::ifOutUcastPkts.3 = Counter32: 24924
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
 
  


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
rrd mrtg & mrtg-rrd.cgi ducati620 Linux - Newbie 0 06-03-2004 08:29 PM
can I use mrtg for this? ziggie216 Linux - Software 1 04-14-2004 02:34 PM
What do I need for MRTG? ivanatora Linux - Software 3 02-28-2004 05:22 PM
Mrtg Infynite Linux - Software 3 10-02-2003 02:49 AM
mrtg cristi1979 Linux - Networking 0 06-24-2003 04:21 PM


All times are GMT -5. The time now is 05:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration