[mrtg] Re: Mrtg only takes the first value when monitoring tcp connections and threads

Dijk, Sebastian van sebastian.van.dijk at vecozo.com
Thu Dec 15 14:56:43 MET 2005


Hi Jan, 

That solved the problem :) !
I get several responses from people from this list but they are send to
my personal address and not to the mailing list :)



Met vriendelijke groet, 
 
 
Sebastian van Dijk
Systeembeheer 

-----Oorspronkelijk bericht-----
Van: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
Namens Koelstra, J. (Jan)
Verzonden: donderdag 15 december 2005 14:49
Aan: Dijk, Sebastian van; mrtg at list.ee.ethz.ch
Onderwerp: [mrtg] Re: Mrtg only takes the first value when monitoring
tcp connections and threads


Hi Sebastiaan,

The oid's you use are probably of the 'gauge' type.
If you want to graph these values you have to add 'gauge' at the options
line.
The reason:
By default MRTG calculates the rate per second: ((current value -
previous value) / number of elapsed seconds) Because usualy gauge values
don't change by more than 300 in a 5 minutepoll interval the result is
an empty graph if you don't use the gauge option.

Any mibbrowser can tell you what type of oid you are dealing with
(Integer32, Gauge, timeticks, etc.)

Hth,

Jan.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Dijk, Sebastian van
Sent: Thursday, December 15, 2005 1:50 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Mrtg only takes the first value when monitoring tcp
connections and threads


Hi !

I am trying to graph 2 items, tcp connections and threads  :

Target[TCP_CONN_WWW06]:
.1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.9.0:read_vecozo at 192.168.30.60
Options[TCP_CONN_WWW06]: noo, growright, nobanner, nopercent
MaxBytes[TCP_CONN_WWW06]: 10000
#MaxBytes1[TCP_CONN_WWW06]: 100
#MaxBytes2[TCP_CONN_WWW06]: 100
#AbsMax[TCP_CONN_WWW06]: 150
#XSize[TCP_CONN_WWW06]: 400
#YSize[TCP_CONN_WWW06]: 100
#Kilo[TCP_CONN_WWW06]: 1000
UnScaled[TCP_CONN_WWW06]: DWMY
Withpeak[TCP_CONN_WWW06]: DWMY
YLegend[TCP_CONN_WWW06]: LOGONS
ShortLegend[TCP_CONN_WWW06]: #
#Legend1[TCP_CONN_WWW06]: TCP CONN
#Legend2[TCP_CONN_WWW06]:
#Legend3[TCP_CONN_WWW06]: Max TCP CONN
#Legend4[TCP_CONN_WWW06]:
LegendI[TCP_CONN_WWW06]:  CONN:
#LegendO[TCP_CONN_WWW06]:  :
#Colours[TCP_CONN_WWW06]:
GREEN#00eb0c,BLUE#1000ff,RED#F90000,VIOLET#ff00ff
#Background[TCP_CONN_WWW06]: #a0a0a0a
Title[TCP_CONN_WWW06]: TCP CONN
#PageTop[TCP_CONN_WWW06]: Traffic Analysis for # <TABLE>
#    <TR><TD>System:</TD>     <TD></TD></TR>
#    <TR><TD>Maintainer:</TD> <TD></TD></TR>
#    <TR><TD>Description:</TD><TD></TD></TR>
#  </TABLE>
########################################################################
##################################################################
Target[THREADS_WWW06]:
.1.3.6.1.4.1.9600.1.1.4.2.0&.1.3.6.1.4.1.9600.1.1.4.2.0:read_vecozo at 192.
168.30.60
Options[THREADS_WWW06]: noo, growright, nobanner, nopercent
MaxBytes[THREADS_WWW06]: 10000
#MaxBytes1[THREADS_WWW06]: 100
#MaxBytes2[THREADS_WWW06]: 100
#AbsMax[THREADS_WWW06]: 150
#XSize[THREADS_WWW06]: 400
#YSize[THREADS_WWW06]: 100
#Kilo[THREADS_WWW06]: 1000
UnScaled[THREADS_WWW06]: DWMY
Withpeak[THREADS_WWW06]: DWMY
YLegend[THREADS_WWW06]: LOGONS
ShortLegend[THREADS_WWW06]: #
#Legend1[THREADS_WWW06]: THREADS
#Legend2[THREADS_WWW06]:
#Legend3[THREADS_WWW06]: MAX THREADS
#Legend4[THREADS_WWW06]:
LegendI[THREADS_WWW06]: &nbsp;THREADS:
#LegendO[THREADS_WWW06]: &nbsp;:
#Colours[THREADS_WWW06]:
GREEN#00eb0c,BLUE#1000ff,RED#F90000,VIOLET#ff00ff
#Background[THREADS_WWW06]: #a0a0a0a
Title[THREADS_WWW06]: THREADS
#PageTop[THREADS_WWW06]: Traffic Analysis for # <TABLE>
#    <TR><TD>System:</TD>     <TD></TD></TR>
#    <TR><TD>Maintainer:</TD> <TD></TD></TR>
#    <TR><TD>Description:</TD><TD></TD></TR>
#  </TABLE>
However, the first time MRTG grabs the data, it gets values. but after
that it does not return any value.

1134650711 670 670
1134650711 0 0 0 0
1134650411 0 0 0 0
1134650400 0 0 0 0
1134650100 0 0 0 0
1134649800 0 0 0 0
1134649500 0 0 0 0
1134649200 0 0 0 0
1134648900 0 0 0 0

1134650711 63 63
1134650711 0 0 0 0
1134650411 0 0 0 0
1134650400 0 0 0 0
1134650100 0 0 0 0
1134649800 0 0 0 0
1134649500 0 0 0 0

What is wrong here ?





Met vriendelijke groet,


Sebastian van Dijk


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


_________________________________________________________

Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke
aansprakelijkheid uit in verband met het niet juist, onvolledig of niet
tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te
melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________

The ministry of Social Affairs and Employment is not liable for any
incorrect or incomplete transmission of the information in this e-mail
or for any delay in its receipt.
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately
and delete its content.
_________________________________________________________

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list