[mrtg] Re: using operands
Larry Sheldon
lsheldon at creighton.edu
Tue Oct 19 14:58:59 MEST 1999
> No. It only supports addition and subtraction (as best as I can tell).
> You'll have to write a script that gets these numbers and does the math and
> feeds it to MRTG.
Well, had me fooled--wonder what MRTG is doing with this--it looks (see URL
below) to like it is working!
Target[creighton-fr.mem.nuse]: 100 - 1.3.6.1.4.1.9.2.1.8.0&1.3.6.1.4.1.9.2.1.8.0
:public at creighton-fr.creighton.edu * 100 / 40387624
AbsMax[creighton-fr.mem.nuse]: 4048016400
MaxBytes[creighton-fr.mem.nuse]: 100
Colours[creighton-fr.mem.nuse]: GREEN#00eb0c,GREEN#00eb0c,DARK GREEN#006600,DARK
GREEN#006600
WithPeak[creighton-fr.mem.nuse]: wym
YLegend[creighton-fr.mem.nuse]: Mem. in use %
LegendI[creighton-fr.mem.nuse]: Memory in use %:
LegendO[creighton-fr.mem.nuse]: Memory in use%:
Legend1[creighton-fr.mem.nuse]: Memory in Use %
Legend2[creighton-fr.mem.nuse]: Memory in Use %
Legend3[creighton-fr.mem.nuse]: Peak 5 Minutes--Memory in Use %
Legend4[creighton-fr.mem.nuse]: Peak 5 Minutes--Memory in Use %
ShortLegend[creighton-fr.mem.nuse]: %
Options[creighton-fr.mem.nuse]: nopercent gauge
Unscaled[creighton-fr.mem.nuse]: dwym
Title[creighton-fr.mem.nuse]: Creighton-FR (): Creighton-FR Memory
>
> Ken
>
>
> > -----Original Message-----
> > From: Eggsie21 at aol.com [mailto:Eggsie21 at aol.com]
> > Sent: Monday, October 18, 1999 11:13 PM
> > To: mrtg at list.ee.ethz.ch
> > Subject: [mrtg] using operands
> >
> >
> > Greetings;
> >
> > Can this be done with MRTG?
> > Target deviceA OID1 - OID2 \ OID1 * 100
> >
> > Meaning maxmemory - usedmemory \ maxmemory * 100 to get percent
> >
> > regards
> >
> > --
> > * To unsubscribe from the mrtg mailing list, send a message with the
> > subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> > * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> >
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
>
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
. .
- L. F. (Larry) Sheldon, Jr. -
. Unix Systems and Network Administration .
- Creighton University Computer Center-Old Gym -
. 2500 California Plaza .
- Omaha, Nebraska, U.S.A. 68178 Two identifying characterstics -
. lsheldon at creighton.edu of System Administrators: .
- 402 280-2254 (work) Infallibility, and the ability to -
. 402 681-4726 (cellular) learn from their mistakes. .
- 402 332-4622 (residence) -
. http://www.creighton.edu/~lsheldon Adapted from Stephen Pinker .
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list