[mrtg] Re: AW: AW: mrtg help

GUARENO at FORDHAM.EDU GUARENO at FORDHAM.EDU
Mon Jun 24 23:28:23 MEST 2002



 Hey...
Thanks a million for your help.  Everything works fine. now.
I'm sorry if I keep bothering with these questions, but I have one more.
Now I'm tryin to obtain information pertaining to: Users, Call Duration,
etc...
I got "getif" and ran it on our Ascend MAX 6000 and it pulled out
thounsands of OIDs
and I'm trying to make sense out of them.
Quick overview of what I did:

#---------------------------------------------------------------
#!c:\perl\bin\perl
# 56K modem pool
#
#RunAsDaemon: yes
#LoadMIBs: c:\mrtg\mrtg2\bin\ascend.mib
WorkDir: c:\mrtgdata\testdata
Target[56k]: 1.3.6.1.4.1.529.callStatusGroup.callActiveStartingTimeStamp
:community at 1.1.1.1
MaxBytes[56k]: 2500000
RouterUptime[56k]: Community1 at 150.108.x.x
Title[56k]: Ascend MAX 6000 234.2
PageTop[56k]: <H3>MAX 6000</H3>
 <TABLE>
    <TR><TD>callActiveStartingTimeStamp</TD>""</TD</TR>
 </TABLE>
Unscaled[56k]: d
Options[56k]: noinfo
YLegend[56k]: Modems
ShortLegend[56k]: Time
Legend1[56k]: Modems
LegendI[56k]: &nbsp;
LegendO[56k]:

Target[56k]: 1.3.6.1.4.1.529.callStatusGroup.callActiveStartingTimeStamp
(or 1.3.6.1.4.1.529.11.???what here)
After running the script I get these errors:


C:\mrtgCopy\bin>perl mrtg testcfg.cfg
ERROR: Target[56k][_IN_]
'1.3.6.1.4.1.529.callStatusGroup.callActiveStartingTime
Stamp:community at 150.108.x.x' (warn): Array found where operator expected at
(
eval 6) line 1, at end of line
ERROR: Target[56k][_OUT_]
'1.3.6.1.4.1.529.callStatusGroup.callActiveStartingTim
eStamp:community at 150.108.x.x' (warn): Array found where operator expected
at
(eval 7) line 1, at end of line
WARNING: Skipping Update of 56k, inlast is not defined
WARNING: Skipping Update of 56k, outlast is not defined


is this the right way of doing this.  Is there another way of using the
OIDs obtained throught "getif"... If not how.
Also, how do I print this info on the HTML page?
Thanks in advance.
Nick Guareno

--
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