All of lore.kernel.org
 help / color / mirror / Atom feed
From: bert hubert ahu@ds9a.nl
To: lartc@vger.kernel.org
Subject: [LARTC] IMPT!!! - What software to use to gauge if Bandwidth control is working/successful ??
Date: Thu, 11 Jan 2001 19:37:09 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416858@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416852@msgid-missing>

<PRE>On Thu, Jan 11, 2001 at 07:34:46PM +0100, Guy Van Den Bergh wrote:

&gt;<i> MRTG works with SNMP to get traffic statistics from remote routers.
</I>&gt;<i> How did you get SNMP to work on a Linux box? Have you already used MRTG 
</I>&gt;<i> to monitor linux routers?
</I>
Yes. You can install an snmp daemon on your Linux box, which will make it
respond to snmp commands a router would respond to as well. I don't like
this approach because my 8MB 486 router didn't have enough memory to run an
snmp daemon concurrently with mrtg.

The second way, which I like a lot better, is to have mrtg call an external
program which then creates the right numbers. Very easy to do:

 export PATH=$PATH:/usr/sbin
 ipchains -vx -L output | grep $1 | cut -b 9-19
 ipchains -vx -L input | grep $1 | cut -b 9-19
 uptime
 echo $1-router

This creates output mrtg can understand.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

  parent reply	other threads:[~2001-01-11 19:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-11 14:38 [LARTC] IMPT!!! - What software to use to gauge if Bandwidth control is working/successful ?? Rick
2001-01-11 14:46 ` bert
2001-01-11 18:34 ` Guy
2001-01-11 19:37 ` bert [this message]
2001-01-12 13:31 ` Rick
2001-01-12 14:37 ` bert
2001-01-12 14:57 ` Rick
2001-01-12 15:27 ` bert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373940416858@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.