[mrtg] Re: Problem with MRTG counter - Help!
Seiya Lin
cloudd at asia1.com
Fri Mar 15 02:48:16 MET 2002
I tried that too, but it does not work. All I get is
97 100
97 100 97 100
97 100 97 100
97 100 97 100
when in another script where I monitor FECN/BECN I can see the
FECN/BECN pkts are increasing.
Seiya Lin
---- Begin Original Message ----
From: rgsantos at hiwireasia.com
Sent: Fri, 15 Mar 2002 09:51:30 +0800
To: "Seiya Lin" <cloudd at asia1.com>
CC: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Problem with MRTG counter - Help!
I have just solved the same problem, just add gauge in the target
options
option[target] gauge, ....
Reden G. Santos
Systems Administrator
Century Asia Corporation.
Tel:+63 2 8788500, +63 2 8307643
Fax: +63 2 8788555
http://www.hiwireasia.com
http://www.hiwire.net.ph
"Seiya
Lin"
<cloudd at asia1.com To:
mrtg at list.ee.ethz.ch
>
cc:
Sent by: Subject: [mrtg]
Problem with MRTG counter - Help!
mrtg-
bounce at list.
ee.ethz.ch
03/15/2002
09:39
AM
Hi all,
I am trying to monitor our frame relay link performance by the FECN &
BECN. I used math to get the percentage.
When I monitor FECN & BECN only, I can monitor them using normal
counter.
But when I included the formula, I can't get the correct data.
I have experimented using all other counter options but they either
gave me no datas at all or they returned the first value over & over
again.
When I look @ the log, say, it looks like this now:
1016156238 98 100
1016156238 0 0 0 0
1016155938 0 0 0 0
1016155800 0 0 0 0
10 minutes later it will look like this:
1016156838 98 100
1016156838 0 0 0 0
1016156538 0 0 0 0
1016156238 0 0 0 0
1016155938 0 0 0 0
1016155800 0 0 0 0
Formula: (Sent Frames - FECN) / Sent Frames * 100%
Below is my script. Can anyone tell me what is wrong with this
scripts because I simply can't understand why it just doesn't work
when I included them in the formula. I'm quite frustrated trying to
figure this out.
Desperate,
Seiya Lin.
====================
# =======MRTG version 2.9.18pre1
WorkDir: C:\mrtg\log\FECN
RunAsDaemon: yes
# This script is intended to Compare FECN & BECN against in & Out
pkts.
# ============== Per Country Target ================
Options[_]: nobanner, growright, unknaszero, nopercent, gauge
Target[MEL]: ( 1 -
(frCircuitReceivedBECNs.17.110&frCircuitReceivedFECNs.17.110:public at 12
7.0.0.1/
frCircuitReceivedFrames.17.110&frCircuitSentFrames.17.110:public at 127.0
.0.1))*100
MaxBytes[MEL]: 100
Title[MEL]: Link Performance by FECN
PageTop[MEL]: Congestion rate</font></H1>
<TABLE>
</TABLE>
______________________________________________________________
For the latest news, go to http://www.asia1.com
--
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
---- End Original Message ----
______________________________________________________________
For the latest news, go to http://www.asia1.com
--
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