Привет! Скажтите как с попощью MRTG правельно считывать трафик. Сfgmaker создал конфиг-файл и можно вести учет, но только по портам. В библеотеке MRTG есть cisco_ipaccounting, но он выдает ошибкуC:\MRTG\contrib\cisco_ipaccounting>perl cisco_ip_acc_collect.pl
Accounting table overflow - 351786232 bytes lost.
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.9.2.4.11.0)
SNMPv1_Session (remote host: "адрес_рутора" [адрес_рутора].44)
community: "public"
request ID: 1019361136
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at c:/mrtg/lib/mrtg2/SNMP_util.pm line 684Подскажите что можно сделать. Спасибо!
do you have smth like this:interface Ethernet0
ip accounting output-packetsinterface Loopback0
ip accounting output-packetssnmp-server community public RO
Yes on router in all interfaces I set
ip accounting output-packets
and
snmp-server community public RO
I run cisco_ip_acc_collect.pl script like this
C:\www\cisco_ipaccounting>perl cisco_ip_acc_collect.pl
in the readme file I read that This Script gets IP-accounting data from a Cisco Router and generates output in log_Xnetwork that can be fed into MRTGafter running script I have error like this
C:\www\cisco_ipaccounting>perl cisco_ip_acc_collect.pl
Accounting table overflow - 230117548 bytes lost.
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.9.2.4.11.0)
SNMPv1_Session (remote host: "router_IP" [router_IP].45) {45 is last num of my IP}
community: "public"
request ID: 1763748350
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at c:/MRTG/lib/mrtg2/SNMP_util.pm line 684and in the log_Xnetwork I see
0
0Xnetwork
ja panimaju i po ruskiIt seems snmp problem. Not mrtg. Try sniffing and look what you get.
Я нашел отличную вещь и MRTG не нужен
http://cipaf.sourceforge.net/about.shtml