LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   looking for help on MRTG (https://www.linuxquestions.org/questions/linux-networking-3/looking-for-help-on-mrtg-138506/)

AZIMBD03 01-25-2004 01:37 PM

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.....

rstory 03-19-2004 10:15 PM

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

sir_September 03-20-2004 12:17 AM

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.

AZIMBD03 03-22-2004 03:37 AM

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:mad:

mardanian 03-25-2004 12:21 AM

try this tutorial

http://people.ee.ethz.ch/~oetiker/we...nix-guide.html

spank 04-08-2004 01:36 PM

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



All times are GMT -5. The time now is 08:45 AM.