[mrtg] Re: MRTG and SNMP V2c

andrew at urbanclimber.com andrew at urbanclimber.com
Mon Jun 16 16:25:11 MEST 2003


So then here is my problem, I am recieving the following 
errors when using the config below. Can anyone point me to a 
reference that might tell me what I am doing wrong? I had 
assumed that MRTG did not like the 64 bit counters, but as I 
have heard back from the list, this should not be a problem.

?Andy


C:\scripts\mrtg-2.9.29>perl bin\mrtg hostx.cfg
ERROR: Target[connrate][_IN_] ' $$target[0]{$mode} ' did not 
eval into defined d
ata
ERROR: Target[connrate][_OUT_] ' $$target[0]{$mode} ' did not 
eval into defined
data
WARNING: Skipping Update of connrate, inlast is not defined
WARNING: Skipping Update of connrate, outlast is not defined
ERROR: Target[conn][_IN_] ' $$target[1]{$mode} ' did not eval 
into defined data
ERROR: Target[conn][_OUT_] ' $$target[1]{$mode} ' did not 
eval into defined data

WARNING: Skipping Update of conn, inlast is not defined
WARNING: Skipping Update of conn, outlast is not defined
ERROR: Target[io][_IN_] ' $$target[2]{$mode}  * 8' (warn): 
Use of uninitialized
value in multiplication (*) at (eval 16) line 1.
ERROR: Target[io][_OUT_] ' $$target[2]{$mode}  * 8' (warn): 
Use of uninitialized
 value in multiplication (*) at (eval 17) line 1.
WARNING: Skipping Update of io, inlast is not defined
WARNING: Skipping Update of io, outlast is not defined



********************CFG***********************

WorkDir: D:\WEB\MRTG\
Options[$]: , transparent, noborder, noarrow, nobanner
WithPeak[_]: wmy
XSize[_]: 300
YSize[_]: 100
Directory[_]: HOSTX01
Title[^]: HOSTTX01 -

##############################################################
#################
#
# System-wide statistics
#
##############################################################
#################

##############################################################
#################   
# Total sessions & requests

Target[connrate]: 
1.3.6.1.4.1.6213.1.1.2.1.2&1.3.6.1.4.1.6213.1.1.2.2.2:priv at my.
host.com:::::2
MaxBytes[connrate]: 100000
AbsMax[connrate]: 1000000
Options[connrate]: growright, nopercent

YLegend[connrate]: Sessions/s & Requests/s
ShortLegend[connrate]: sess/s,req/s
Legend1[connrate]: Session Rate in Sessions per Second
Legend2[connrate]: Request Rate in Sessions per Second
Legend3[connrate]: Maximal 5 Minute Session Rate
Legend4[connrate]: Maximal 5 Minute Request Rate
LegendI[connrate]: sess/s:
LegendO[connrate]: req/s

Title[connrate]: Sessions per Second
PageTop[connrate]: <H1>Sessions per Second</H1>
  <TABLE>
    <TR><TD>System:</TD><TD>HOSTIP</TD></TR>
    <TR><TD>Maintainer:</TD><TD>Myself</TD></TR>
    
<TR><TD>Object:</TD><TD>enterprises.redline.redlineProduct.tx.
stats.sessions.sessTotal</TD></TR>
    
<TR><TD>Object:</TD><TD>enterprises.redline.redlineProduct.tx.
stats.requests.reqTotal</TD></TR>    
  </TABLE>
  
##############################################################
#################  
# Current sessions & requests

Target[conn]: 
1.3.6.1.4.1.6213.1.1.2.1.1&1.3.6.1.4.1.6213.1.1.2.2.1:priv at my.
host.com:::::2
MaxBytes[conn]: 100000
AbsMax[conn]: 1000000
Options[conn]: growright, gauge, nopercent

YLegend[conn]: Sessions & Requests
ShortLegend[conn]: sess,req
Legend1[conn]: Current Sessions
Legend2[conn]: Current Requests
Legend3[conn]: Maximal 5 Minute Current Sessions
Legend4[conn]: Maximal 5 Minute Current Requests
LegendI[conn]: sess:
LegendO[conn]: req:

Title[conn]: Current Sessions & Requests
PageTop[conn]: <H1>Current Sessions & Requests</H1>
  <TABLE>
    <TR><TD>System:</TD><TD>HOSTIP</TD></TR>
    <TR><TD>Maintainer:</TD><TD>Myself</TD></TR>
    
<TR><TD>Object:</TD><TD>enterprises.redline.redlineProduct.tx.
stats.sessions.sessActive</TD></TR>
    
<TR><TD>Object:</TD><TD>enterprises.redline.redlineProduct.tx.
stats.requests.reqActive</TD></TR>
  </TABLE>
    
##############################################################
#################    
# Traffic on 'external' interface

Target[io]: 
1.3.6.1.4.1.6213.1.1.2.3.1&1.3.6.1.4.1.6213.1.1.2.3.2:priv at my.
host.com:::::2 * 8
MaxBytes[io]: 100000000
AbsMax[io]: 100000000
Options[io]: growright, nopercent

YLegend[io]: bits/sec
ShortLegend[io]: bits/s
Legend1[io]: bits/sec In
Legend2[io]: bits/sec Out
Legend3[io]: Maximal 5 Minute bits/sec In
Legend4[io]: Maximal 5 Minute bits/sec Out
LegendI[io]: b/s in:
LegendO[io]: b/s out:

Title[io]: bits/sec
PageTop[io]: <H1>Bits/sec</H1>
  <TABLE>
    <TR><TD>System:</TD><TD>HOSTIP</TD></TR>
    <TR><TD>Maintainer:</TD><TD>Myself</TD></TR>
    
<TR><TD>Object:</TD><TD>enterprises.redline.redlineProduct.tx.
stats.bytes.bytesIn</TD></TR>
    
<TR><TD>Object:</TD><TD>enterprises.redline.redlineProduct.tx.
stats.bytes.bytesOut</TD></TR>
  </TABLE>




---- Original message ----
>Date: Sun, 15 Jun 2003 18:48:06 -0000
>From: "dslowry2003" <dan.lowry at attbi.com>  
>Subject: Re: MRTG and SNMP V2c  
>To: <andrew at urbanclimber.com>
>
>Yes, in your mrtg.cfg file specify the following:
>
>Target[ezwf]: 2:public at router1:::::2
>The 2 at the end instructs MRTG to use version 2.
>
>This was taken from the reference at:
>http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.htm
l
>
>--- In mrtg at yahoogroups.com, <andrew at u...> wrote:
>> Can anyone tell me if it is possible to use MRTG with SNMP 
>> 2c? I need to collect from 64 bit counters on the host....
>> 
>> Thanks
>> 
>> --
>> Unsubscribe mailto:mrtg-request at l...?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