[mrtg] Re: extrapolate/forecasting scripts.
Jerry Heidtke
jheidtke at fmlh.edu
Wed Aug 28 19:35:51 MEST 2002
One problem is that you missed the part of the documentation where it says
"MRTG needs to graph two variables, so you need to specify two OID's such as
temperature and humidity or error input and error output." You're only
graphing one variable.
Another problem is the single quotes around your OID. What's that for?
Try this target:
Target[65.19.16.5_users]:
.1.3.6.1.4.1.429.1.26.5.1.1.10.4000&.1.3.6.1.4.1.429.1.26.5.1.1.10.4000 + \
.1.3.6.1.4.1.429.1.26.5.1.1.10.5000&.1.3.6.1.4.1.429.1.26.5.1.1.10.5000
+ \
.1.3.6.1.4.1.429.1.26.5.1.1.10.6000&.1.3.6.1.4.1.429.1.26.5.1.1.10.6000
+ \
.1.3.6.1.4.1.429.1.26.5.1.1.10.7000&.1.3.6.1.4.1.429.1.26.5.1.1.10.7000
+ \
.1.3.6.1.4.1.429.1.26.5.1.1.10.8000&.1.3.6.1.4.1.429.1.26.5.1.1.10.8000
+ \
.1.3.6.1.4.1.429.1.26.5.1.1.10.11000&.1.3.6.1.4.1.429.1.26.5.1.1.10.11000:XX
XX at 65.19.16.5
This should all be on one line, without the "\" that indicate the line is
continued.
You'll need to specify something for your legends; right now they're all
commented out.
Are you sure the total number of users will never exceed 216? If not, try a
higher MaxBytes until you know.
Hope this helps.
Jerry
-----Original Message-----
From: hackerwacker [mailto:hackerwacker at cybermesa.com]
Sent: Wednesday, August 28, 2002 12:25 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: extrapolate/forecasting scripts.
I have a 3COM box, trying to get # of users. This is the correct OID, I can
query each card and get correct # of users. Just having
trouble with the math to add them all up. There are a mix of single T-1
cards and quad T-1 cards in this chassis.
What is wrong here ?
james
Target[65.19.16.5_users]:'1.3.6.1.4.1.429.1.26.5.1.1.10.4000 +
1.3.6.1.4.1.429.1.26.5.1.1.10.5000 + 1
.3.6.1.4.1.429.1.26.5.1.1.10.6000 + 1.3.6.1.4.1.429.1.26.5.1.1.10.7000 +
1.3.6.1.4.1.429.1.26.5.1.1.1
0.8000 + 1.3.6.1.4.1.429.1.26.5.1.1.10.11000':XXXX at 65.19.16.5
MaxBytes[65.19.16.5_users]: 216
AbsMax[65.19.16.5_users]: 216
Options[65.19.16.5_users]: gauge,nopercent,growright
#Unscaled[65.19.16.5_users]: dwmy
YLegend[65.19.16.5_users]: # of users
ShortLegend[65.19.16.5_users]: F
#LegendI[65.19.16.5_users]: 1 Min:
#LegendO[65.19.16.5]: 5 Min:
#Legend1[65.19.1.2_t]: # of users
#Legend2[65.19.1.2_t]: # of users
#Legend3[65.19.1.2]: AvgBusy 10 Min
#Legend4[65.19.1.2]:
Title[65.19.16.5_users]: Numbers fo users on SF modem bank
PageTop[65.19.16.5_users]: <H1># of users sf-usr</H1>
[root at tarpit cfg]# ERROR: Target[65.19.16.5_users][_IN_]
''1.3.6.1.4.1.429.1.26.5.1.1.10.4000 + 1.3.6.1.4.1.429.1.26.5.1.1.10.5000 +
1.3.6.1.4.1.429.1.26.5.1.1.10.6000 + 1.3.6.1.4.1.429.1.26.5.1.1.10.7000 +
1.3.6.1.4.1.429.1.26.5.1.1.10.8000 +
1.3.6.1.4.1.429.1.26.5.1.1.10.11000':gdrobin at 65.19.16.5' (warn): Array found
where operator expected at (eval 6) line 1, at end of line
ERROR: Target[65.19.16.5_users][_OUT_] ''1.3.6.1.4.1.429.1.26.5.1.1.10.4000
+ 1.3.6.1.4.1.429.1.26.5.1.1.10.5000 + 1.3.6.1.4.1.429.1.26.5.1.1.10.6000 +
1.3.6.1.4.1.429.1.26.5.1.1.10.7000 + 1.3.6.1.4.1.429.1.26.5.1.1.10.8000 +
1.3.6.1.4.1.429.1.26.5.1.1.10.11000':XXXX at 65.19.16.5' (warn): Array found
where operator expected at (eval 7) line 1, at end of line
WARNING: Skipping Update of 65.19.16.5_users, inlast is not defined
WARNING: Skipping Update of 65.19.16.5_users, outlast is not defined
--
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
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--
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