[mrtg] Re: about the term
Rippe, Mark (CCI-Warwick)
Mark.Rippe at cox.com
Mon Jun 4 14:25:48 MEST 2001
why not make the cronrun a shell file and the shell will run mrtg.
i.e:
#! /bin/sh
cd /usr/local/mrtg-2.9.4/bin
./mrtg /usr/local/mrtg-2.9.4/www/machine1.cfg
./mrtg /usr/local/mrtg-2.9.4/www/machine2.cfg
./mrtg /usr/local/mrtg-2.9.4/www/machine3.cfg
pause 20
./mrtg /usr/local/mrtg-2.9.4/www/machine1.cfg
./mrtg /usr/local/mrtg-2.9.4/www/machine2.cfg
./mrtg /usr/local/mrtg-2.9.4/www/machine3.cfg
pause 20
./mrtg /usr/local/mrtg-2.9.4/www/machine1.cfg
./mrtg /usr/local/mrtg-2.9.4/www/machine2.cfg
./mrtg /usr/local/mrtg-2.9.4/www/machine3.cfg
set the cron to run this file every minute.
this is crude but it will run the tests every 20 seconds.
> -----Original Message-----
> From: sato [SMTP:sato at grandsphere.com]
> Sent: Monday, June 04, 2001 5:05 AM
> To: Grendel
> Cc: MRTG Mailing List (E-mail)
> Subject: [mrtg] Re: about the term
>
>
> Hi,
>
> > Hello,
> > Both the cron method and the daemon method have a limit of once every
> > minute, and even going that fast required that you either modify mrtg or
> > use rrdtool. Real-time resolution that tight is not what MRTG is meant
> > for, I'm afraid.
>
> Thank you so much for replying so quick.
>
> Yes, I understand that.
> But I would like to know this if anybody every has tried this and make it.
>
> Thank you.
>
>
>
>
>
> >
> > Best regards,
> > James
> >
> >
> >
> > sato wrote:
> > >
> > > Hi, folks,
> > >
> > > I am trying to make the term on the graf shorter (like every 5
> seconds)
> and
> > > make the cron shorter(I know the minimum setting time of cron is "1
> > > minute") because I need to do stress test to the web server and check
> the
> > > every performance at the same time to check out what is going on .
> > >
> > > How do I do to make term shorter on the graf ?
> > >
> > > Do I have any other way to get value on the graf every 5 seconds (I
> mean
> > > less than 1 minitute , which is the shortest time to set cron )
> > >
> > > --
> > > 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
> >
> >
>
>
> --
> 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
More information about the mrtg
mailing list