[mrtg] Re: Mrtg to monitor FTP traffic
Daniel J McDonald
dan.mcdonald at austinenergy.com
Fri May 30 14:30:08 MEST 2003
On Fri, 2003-05-30 at 05:06, Fülöp Márton wrote:
> Thanks but it coultd't help:(
>
> I only want to configure MTRG to monitor traffic through 21 port.
> Could this be possible?
Not terribly likely.
> I tried using cfgmaker with --snpm-options:21 but it did't work.
> Maybe I use wrong syntaxis.
That would look for an snmp daemon answering on UDP port 21 - I doubt
that's what you had in mind.
MRTG is not magic. MRTG needs to have a counter to poll. If there is
no counter that states "this many bytes have been transmitted for X so
far" then MRTG will not be able to produce graphs.
So, how do you create the counter? You can, on the FTP box, create a
firewall rule that counts bytes and monitor it. You can, on a Cisco
Router, right a rule using CAR or the Modular QOS rules that somehow
identifies the appropriate traffic and provides a counter. You can,
using a Cisco or Juniper router, export netflow records and correlate
them with a package like flow-tools and write a gnarly script to come up
with traffic stats from that.
None of those activities are trivial to undertake - they all require
in-depth knowledge of the box being monitored, the middle-ware tools,
and MRTG.
>
> Thanks again
>
> Marci
>
> to monitor FTP traffic
>
> Fülöp Márton said:
> > Hi!
> >
> > How can I monitor FTP traffic on 21 port on 123.456.678.789 Ip address?
> > Can somebody tell me how to make cfg fort this?
>
> configure your firewall for traffic accounting and pass that data
> to MRTG.
>
> keep in mind ftp often uses random ports for data transfer.
>
> nate
>
>
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Daniel J McDonald <dan.mcdonald at austinenergy.com>
Austin Energy
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list