Hola estoy configurando MRTG sobre un una maquina con
debian que actua como bridge entre el router (100MB) y
los servidores dedicados y la LAN. En este bridge
estoy implementando MRTG para monitoriar el trafico
que pasa por el.

La eth0 esta conectada al Router en el que dispongo de
100 Mb y la eth1 a un Switch con servidores dedicados
y a un router que hace DHCP y NAT para la red interna.

Tengo problemas con los graficos que me genera MRTG, y
creo que la falla puede estar en la opcion Maxbytes.

Segun la pagina de MRTG si el ancho de banda es de
100MB esta opcion debe estar seteada de la siguiente
manera en /etc/mrtg.cfg

MaxBytes[web]: 12500000

mejor pego mi MRTG.CFG

Target[web]: `/root/portstat.web`
Title[web]: Tráfico Web
PageTop[web]: <h1>Tráfico Web</h1>
MaxBytes[web]: 12500000
YLegend[web]: Mbytes/s
ShortLegend[web]: B/s

Alguna sugerencia.



                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
From [EMAIL PROTECTED]  Tue Jul  4 13:22:38 2006
From: [EMAIL PROTECTED] (Giorgio Zunino)
Date: Tue Jul  4 13:48:10 2006
Subject: problemas al iniciar squid
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

ya lo solucione!!!!!!

para los que deseen saber de todas formas:

el problema se debe a que faltaba configurar un parametro en
/etc/squid.conf, este parametro es:

visible_hostname [hostname]

y eso esra todo.

salu2.

2006/7/4, Giorgio Zunino <[EMAIL PROTECTED]>:
>
> hola a todos:
>
> tengo el siguiente problema: cada vez que quiero iniciar el squid me da el
> siguiente error:
>
> init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162:  2262
> Abortado                $SQUID -z -F -D 2>/dev/null
> Iniciando squid: /etc/init.d/squid: line 162:  2263
> Abortado                $SQUID $SQUID_OPTS 2>/dev/null       [ERROR]
>
> alguien sabe de que se trata o que me falta???
> como puedo solucionarlo????
>
> estoy sobre una maquina con fedora core 1 y esta instalado en "minimo".
>
> agradezco todos los comentarios.
> --
> GZM.
>



-- 
GZM.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: 
http://listas.inf.utfsm.cl/pipermail/linux/attachments/20060704/e3aa8009/attachment.html
From [EMAIL PROTECTED]  Tue Jul  4 14:20:35 2006
From: [EMAIL PROTECTED] (Horst von Brand)
Date: Tue Jul  4 14:17:45 2006
Subject: Problemas con Subdominios en Bind9 
In-Reply-To: Your message of "Tue, 04 Jul 2006 11:03:48 -0400."
        <[EMAIL PROTECTED]> 
Message-ID: <[EMAIL PROTECTED]>

Cristian Rojas R. <[EMAIL PROTECTED]> wrote:
> > ¿Es humano el receptor final de [EMAIL PROTECTED]

> Alguien usa realmente esa direccion? (en lo que a dns corresponde)

Claro que si...

> > > IN NS secundario.nic.cl.

> > ¿secundario.nic.cl está enterado que debe trabajar como secundario?
> > ¿habilitado el xfer entre secundario y primario?

> Si, también puede haber sido algún problema de refresco entre el
> primario y el secundario. Le aumentaste el serial a tu zona cuando
> hiciste los cambios?
> 
> > > dominio.cl. IN A 200.200.200.200

> > muy utilizado pero ilegal. registros A son para nombres de hosts, no de
> > dominios.

> En estricto rigor los de tipo "host.dominio.cl" son en realidad
> dominios de 3er nivel. Por lo mismo no estoy tan seguro de que no se
> deba usar. Tendré que remitirme al RFC

Hay un RFC con recomendaciones/errores tipicos, no recuerdo el numero.
Y tener una maquina en el dominio es raro. Generalmente tendras registros
MX y etc, pero no direcciones IP.

> > > localhost IN A 127.0.0.1

> > fuera de la zona dominio.cl!! no hace daño ya que bind lo ignorará, pero 
> > se
> > ve feo.

> Eso no es cierto. Bind no lo ignora. Crea un host de nombre
> localhost.dominio.cl que apunta a la ip 127.0.0.1 como debe ser. De
> hecho lo acabo de probar con un bind 9.3.1

Asi es. Dan~o no hace.

> > > chasqui IN NS 200.200.200.201

> > eso no me suena.

> Efectivamente, está malo.
> Los Resource Recors (NS, MX) DEBEN apuntar a hombres de hosts y no a
> ips. Por lo mismo, la sugerencia que te hicieron anteriormente fue
> correcta.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
From [EMAIL PROTECTED]  Tue Jul  4 13:05:12 2006
From: [EMAIL PROTECTED] (Giorgio Zunino)
Date: Tue Jul  4 14:17:54 2006
Subject: problemas al iniciar squid
Message-ID: <[EMAIL PROTECTED]>

hola a todos:

tengo el siguiente problema: cada vez que quiero iniciar el squid me da el
siguiente error:

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162:  2262
Abortado                $SQUID -z -F -D 2>/dev/null
Iniciando squid: /etc/init.d/squid: line 162:  2263 Abortado
$SQUID $SQUID_OPTS 2>/dev/null       [ERROR]

alguien sabe de que se trata o que me falta???
como puedo solucionarlo????

estoy sobre una maquina con fedora core 1 y esta instalado en "minimo".

agradezco todos los comentarios.
-- 
GZM.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: 
http://listas.inf.utfsm.cl/pipermail/linux/attachments/20060704/01b07788/attachment.html
From [EMAIL PROTECTED]  Tue Jul  4 13:33:13 2006
From: [EMAIL PROTECTED] (Roberto =?iso-8859-1?q?Acu=F1a?=)
Date: Tue Jul  4 15:06:01 2006
Subject: ext3 error
Message-ID: <[EMAIL PROTECTED]>

desde hace tiempo que estoy teniendo este problema... y es que a veces 
derepente la partición del raíz (/dev/hda2) se remonta (remount) en sólo 
escritura... y lo tengo que hacerle un fsck al reinicio.... es muy raro 
porque en otros pcs con linux nunca me había pasado, y hasta ahora ni rtfm ni 
stfw me han servido... a lo único que llego es a fsck, pero la idea es que no 
me vuelva a pasar lo mismo.... aquí adjunto los logs...

antes pasaba bien seguido, pero ahora con el 2.6.17 pensé que el problema se 
había ido pero a las casi dos semanas de uso habitual el problema volvió.

dmesg log:
(al inicio lo que dice del disco duro)
Probing IDE interface ide0...
hda: HITACHI_DK23DA-20B, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...

...
(después de que manda el error)

EXT3-fs error (device hda2): ext3_new_block: Allocating block in system zone - 
blocks from 3, length 1
Aborting journal on device hda2.
ext3_abort called.
EXT3-fs error (device hda2): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
EXT3-fs error (device hda2): ext3_free_blocks: Freeing blocks in system zones 
- Block = 3, count = 1
EXT3-fs error (device hda2) in ext3_free_blocks_sb: Journal has aborted
__journal_remove_journal_head: freeing b_committed_data
__journal_remove_journal_head: freeing b_committed_data

Después hice un smartctl -t long /dev/hda, que me dijo que el test terminaría 
en 19 minutos, luego de los cuales hice un smartctl -a /dev/hda
y esto es lo que salió:

smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: HITACHI_DK23DA-20B
Serial Number: 13K175
Firmware Version: 00J2A0B6
User Capacity: 20,003,880,960 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 3
Local Time is: Tue Jul 4 12:24:04 2006 CLT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (1090) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 19) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000d 100 100 050 Pre-fail Offline - 8589934595
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 4000
3 Spin_Up_Time 0x0007 100 100 050 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1697
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 3
7 Seek_Error_Rate 0x000f 100 100 050 Pre-fail Always - 342
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 1266
9 Power_On_Minutes 0x0032 094 094 000 Old_age Always - 3110h+44m
10 Spin_Retry_Count 0x0013 100 100 050 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1120
191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 44
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 38
193 Load_Cycle_Count 0x0032 064 064 000 Old_age Always - 219215/219176
194 Temperature_Celsius 0x0022 054 034 000 Old_age Always - 63 (Lifetime 
Min/Max 4/73)
195 Hardware_ECC_Recovered 0x001a 100 035 000 Old_age Always - 88
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 3
197 Current_Pending_Sector 0x0032 100 099 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
223 Load_Retry_Count 0x0012 100 100 000 Old_age Always - 0
230 Head_Amplitude 0x0032 096 096 000 Old_age Always - 146496
250 Read_Error_Retry_Rate 0x000a 100 040 000 Old_age Always - 571

SMART Error Log Version: 1
ATA Error Count: 41 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mmS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 41 occurred at disk power-on lifetime: 2668 hours (111 days + 4 hours)
When the command that caused the error occurred, the device was active or 
idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 10 b1 27 1c e0 Error: UNC at LBA = 0x001c27b1 = 1845169

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c4 ff 20 a1 27 1c e0 00 00:18:45.660 READ MULTIPLE
c8 ff 20 a1 27 1c e0 00 00:18:43.800 READ DMA
ef 03 45 ff ff 00 e0 00 00:18:43.150 SET FEATURES [Set transfer mode]
ef 03 0c ff ff 00 e0 00 00:18:43.150 SET FEATURES [Set transfer mode]
c6 ff 10 ff ff 00 e0 00 00:18:43.150 SET MULTIPLE MODE

Error 40 occurred at disk power-on lifetime: 2668 hours (111 days + 4 hours)
When the command that caused the error occurred, the device was active or 
idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 10 b1 27 1c e0 Error: UNC 16 sectors at LBA = 0x001c27b1 = 1845169

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 ff 20 a1 27 1c e0 00 00:18:43.800 READ DMA
ef 03 45 ff ff 00 e0 00 00:18:43.150 SET FEATURES [Set transfer mode]
ef 03 0c ff ff 00 e0 00 00:18:43.150 SET FEATURES [Set transfer mode]
c6 ff 10 ff ff 00 e0 00 00:18:43.150 SET MULTIPLE MODE
10 ff 50 3f 6b b1 e0 00 00:18:43.150 RECALIBRATE [OBS-4]

Error 39 occurred at disk power-on lifetime: 2668 hours (111 days + 4 hours)
When the command that caused the error occurred, the device was active or 
idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 10 b1 27 1c e0 Error: UNC at LBA = 0x001c27b1 = 1845169

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c4 ff 20 a1 27 1c e0 00 00:18:41.250 READ MULTIPLE
c8 ff 20 a1 27 1c e0 00 00:18:39.390 READ DMA
ef 03 45 ff ff 00 e0 00 00:18:38.740 SET FEATURES [Set transfer mode]
ef 03 0c ff ff 00 e0 00 00:18:38.740 SET FEATURES [Set transfer mode]
c6 ff 10 ff ff 00 e0 00 00:18:38.740 SET MULTIPLE MODE

Error 38 occurred at disk power-on lifetime: 2668 hours (111 days + 4 hours)
When the command that caused the error occurred, the device was active or 
idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 10 b1 27 1c e0 Error: UNC 16 sectors at LBA = 0x001c27b1 = 1845169

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 ff 20 a1 27 1c e0 00 00:18:39.390 READ DMA
ef 03 45 ff ff 00 e0 00 00:18:38.740 SET FEATURES [Set transfer mode]
ef 03 0c ff ff 00 e0 00 00:18:38.740 SET FEATURES [Set transfer mode]
c6 ff 10 ff ff 00 e0 00 00:18:38.740 SET MULTIPLE MODE
10 ff 50 3f 6b b1 e0 00 00:18:38.740 RECALIBRATE [OBS-4]

Error 37 occurred at disk power-on lifetime: 2668 hours (111 days + 4 hours)
When the command that caused the error occurred, the device was active or 
idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 10 b1 27 1c e0 Error: UNC at LBA = 0x001c27b1 = 1845169

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c4 ff 20 a1 27 1c e0 00 00:18:36.860 READ MULTIPLE
c8 ff 20 a1 27 1c e0 00 00:18:35.000 READ DMA
ef 03 45 ff ff 00 e0 00 00:18:34.350 SET FEATURES [Set transfer mode]
ef 03 0c ff ff 00 e0 00 00:18:34.350 SET FEATURES [Set transfer mode]
c6 ff 10 ff ff 00 e0 00 00:18:34.350 SET MULTIPLE MODE

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 3110 -
# 2 Extended offline Completed without error 00% 3050 -

Device does not support Selective Self Tests/Logging


Espero recibir respuestas a mi problema, y si es de hardware para ver si puedo 
hacer uso de la garantía... 

desde ya 

gracias

atte

Racuna
  • MRTG Maxbytes fernando villarroel

Responder a