Mi archivo de config esta as�

# Multi Router Traffic Grapher -- Sample Configuration File
######################################################################
# This file is for use with mrtg-2.5.4c

# Global configuration
WorkDir: /var/www/mrtg
WriteExpires: Yes

Title[^]: Traffic Analysis for

# 128K leased line
# ----------------
Title[in_packets]: a 128K leased line
Target[in_packets]: `/usr/local/mrtg/iptables-in`
MaxBytes[in_packets]: 1250000
PageTop[in_packets]: <h1> Inbound Packet stats</h1>

y `/usr/local/mrtg/iptables-in

#!/bin/bash
IPTABLES="/sbin/iptables"
UPTIME="/usr/bin/uptime"
$IPTABLES -nvxL | grep INPUT | awk '{ print $5 }'
$IPTABLES -nvxL | grep OUTPUT | awk '{ print $5 }'
$UPTIME | awk '{ print $3, $4, $5 }'
echo "Isis";


Con eso le puede ayudar mucho !!

----- Original Message ----- 
From: "Hernan Oliva Valero" <[EMAIL PROTECTED]>
To: "Linux COSTA RICA" <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 12:07 PM
Subject: Monitorear ancho de banda



>Quisiero monitoriar mi ancho de banda con mrtg con el objetivo de mantener
>gr�ficamente los reportes, algui�n me puede dar una idea de c�mo hacerlo.

>Saludos y gracias




-- 
Desuscripci�n: escriba a [EMAIL PROTECTED], tema 'unsubscribe'
Problemas a: [EMAIL PROTECTED]  http://www.linux.or.cr/listas

Responder a