> > ----- Original Message ----- > From: "IuliaN" <[EMAIL PROTECTED]> > To: "Romanian Linux Users Group" <[email protected]> > Sent: Monday, May 08, 2006 10:53 AM > Subject: [rlug] mrtg on Kubuntu > > >> Incerc sa pun mrtg-ul sa faca niste poze cu trafic(n-am mai facut), >> si >> nu-mi afiseaza nimic(mai exact arata ca si cum traficul e zero)! >> Folosesc Kubuntu! >> >> #/etc/mrtg: >> # Global configuration >> WorkDir: /var/www/mrtg >> WriteExpires: Yes >> >> Title[^]: Traffic Analysis for >> >> # 128K leased line >> # ---------------- >> #Title[leased]: a 128K leased line >> #PageTop[leased]: <H1>Our 128K link to the outside world</H1> >> #Target[leased]: 1:[EMAIL PROTECTED] >> #MaxBytes[leased]: 16000 >> >> Title[eth]: br0 eth >> Target[eth]: 1:[EMAIL PROTECTED] >> MaxBytes[eth]: 3000000 >> Options[eth]: bits,growright >> >> Title[2eth]: 2 br0 >> Target[2eth]: 2:[EMAIL PROTECTED] >> MaxBytes[2eth]: 3000000 >> Options[2eth]: bits,growright >> ---------------------------------------- >> >> /etc/snmp/snmpd.conf >> >> com2sec localro default public >> >> group MyROSystem v1 localro >> group MyROSystem v2c localro >> group MyROSystem usm localro >> >> group MyROGroup v1 readonly >> group MyROGroup v2c readonly >> group MyROGroup usm readonly >> group MyRWGroup v1 readwrite >> group MyRWGroup v2c readwrite >> group MyRWGroup usm readwrite >> >> view all included .1 80 >> view system included .iso.org.dod.internet.mgmt.mib-2.system >> >> access MyROSystem "" any noauth exact system none none >> access MyROGroup "" any noauth exact all none none >> access MyRWGroup "" any noauth exact all all none >> ------------------------- >> >> >> env LANG=C /usr/bin/mrtg /etc/mrtg.cfg >> SNMP Error: >> Received SNMP response with error code >> error status: noSuchName >> index 2 (OID: 1.3.6.1.2.1.2.2.1.16.1) >> SNMPv1_Session (remote host: "192.168.0.55" [192.168.0.55].161) >> community: "public" >> request ID: 108926461 >> PDU bufsize: 8000 bytes >> timeout: 2s >> retries: 5 >> backoff: 1) >> at /usr/share/perl5/SNMP_util.pm line 490 >> SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on >> [EMAIL PROTECTED]::::::v4only >> at /usr/bin/mrtg line 1925 >> SNMP Error: >> no response received >> SNMPv1_Session (remote host: "192.168.0.2" [192.168.0.2].161) >> community: "public" >> request ID: 592489591 >> PDU bufsize: 8000 bytes >> timeout: 2s >> retries: 5 >> backoff: 1) >> at /usr/share/perl5/SNMP_util.pm line 490 >> SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on >> [EMAIL PROTECTED]::::::v4only >> at /usr/bin/mrtg line 1925 >> WARNING: skipping because at least the query for ifInOctets.2 on >> 192.168.0.2 did not succeed >> WARNING: no data for ifInOctets&ifOutOctets:[EMAIL PROTECTED] >> Skipping >> further queries for Host 192.168.0.2 in this round. >> ERROR: Target[eth][_IN_] ' $target->[0]{$mode} ' did not eval into >> defined >> data >> ERROR: Target[eth][_OUT_] ' $target->[0]{$mode} ' did not eval into >> defined data >> ERROR: Target[2eth][_IN_] ' $target->[1]{$mode} ' did not eval into >> defined data >> ERROR: Target[2eth][_OUT_] ' $target->[1]{$mode} ' did not eval into >> defined data >> >> >> Multumesc >> > > cauta linia (in snmpd.conf) > #view rwview included > interfaces.ifTable.ifEntry.ifAdminStatus > scoate commentu si restarteaza snmpd
in conf-ul de snmpd nu am asa ceva, am adaugat linia de care povestesti tu in snmpd.conf, restartat daemonul in cauza ...si ...la fel..aceeeasi eroare! > > > > > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug > _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
