On Monday 08 May 2006 11:53, IuliaN wrote:
>   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!

Vad ca ai mai multe erori ... Uite aici un howto care e ok (ai tot ce trebuie 
ca sa o iei de la zero).

http://www.siliconvalleyccie.com/linux-hn/mrtg.htm

http://www.siliconvalleyccie.com/linux-hn/mrtg-advanced.htm

Alex

>
> #/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
>
>
> _______________________________________________
> RLUG mailing list
> [email protected]
> http://lists.lug.ro/mailman/listinfo/rlug

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui