[mrtg] Re: Ecartis command results: appsub mrtgScott_Rochford at DELL.com 3DF5CDEC:5141.1:zegt

PAUL WILLIAMSON pwilliamson at mandtbank.com
Tue Dec 10 14:18:13 MET 2002


This can be one of two problems:

1 - You should be using gauge
2 - You get less than 300 scans per 5 minute interval.

Either one can be fixed.  The first would just be to add Options[ezwf]: gauge
and the second one has to do with setting either a perminute or perhour 
directive and doing some multiplication if needed.

Paul

>>> <Scott_Rochford at DELL.com> 12/10/02 06:30AM >>>

Hi,

I've encountered a very frustrating problem using MRTG 2.9.10.  The below is
a sample from my .cfg file of two very similar parameters I'm trying to
graph.  The first works fine, the second always shows values of 0.0.

Below I've included samples of running the actual commands.  p34c0 is the
MRTG system, p33c0 is the monitored host.   

I've also included a head of each of the respective MRTG log files.  For
some reason the log file for the second parameter only ever updates the top
line of the the log file with the most recent value.  Both of them are
cumulative parameters.

Someone please tell me what I'm missing!!  8-/

Regards,

--
Scott Rochford
UNIX Systems Administrator
Dell Computers, Montpellier

---------------------------------- 8< --------------------------------------
WorkDir: /home/httpd/html/mrtg/work/gostats
IconDir: ..
WriteExpires: Yes
Interval: 15

MaxBytes[_]: 999999999999
WithPeak[_]: wmy

Target[gostats_usercalls]: `rsh xxx.yyy.76.92 /usr/local/bin/gostats2mrtg
usercalls`
Title[gostats_usercalls]: Number of user calls
PageTop[gostats_usercalls]: <H1>User calls</H1>
Options[gostats_usercalls]: growright noinfo nopercent
YLegend[gostats_usercalls]: Calls
ShortLegend[gostats_usercalls]: calls
Legend1[gostats_usercalls]: Number of user calls
Legend2[gostats_usercalls]:
Legend3[gostats_usercalls]: Peak number of user calls
Legend4[gostats_usercalls]:
LegendI[gostats_usercalls]: &nbsp;calls:
LegendO[gostats_usercalls]:
Colours[gostats_usercalls]: SEAWEED#008040, SEAWEED#008040,
RADIOACTIVE#00FF80, RADIOACTIVE#00FF80

Target[gostats_tablescans]: `rsh xxx.yyy.76.92 /usr/local/bin/gostats2mrtg
tablescans`
Title[gostats_tablescans]: Number of table scans
PageTop[gostats_tablescans]: <H1>Table scans</H1>
Options[gostats_tablescans]: growright noinfo nopercent
YLegend[gostats_tablescans]: Scans
ShortLegend[gostats_tablescans]: scans
Legend1[gostats_tablescans]: Number of table scans
Legend2[gostats_tablescans]:
Legend3[gostats_tablescans]: Peak number of table scans
Legend4[gostats_tablescans]:
LegendI[gostats_tablescans]: &nbsp;scans:
LegendO[gostats_tablescans]:
Colours[gostats_tablescans]: SEAWEED#008040, SEAWEED#008040,
RADIOACTIVE#00FF80, RADIOACTIVE#00FF80
---------------------------------- 8< --------------------------------------

p34c0:mrtg:/home/mrtg/config> rsh xxx.yyy.76.92 /usr/local/bin/gostats2mrtg
usercalls
1694018103
1694018103

p33c0
p34c0:mrtg:/home/mrtg/config> rsh xxx.yyy.76.92 /usr/local/bin/gostats2mrtg
tablescans
134030
134030

p33c0
p34c0:mrtg:/home/httpd/html/mrtg/work/gostats> head gostats_usercalls.log
1039518197 1690683491 1690683491
1039518197 5059 1891144 5059 1891144
1039517303 5077 0 5077 0
1039517100 5077 0 5077 0
1039516800 5077 0 5077 0
1039516500 5110 0 5126 0
1039516200 5126 0 5126 0
1039515900 5126 0 5126 0
1039515600 5109 0 5126 0
1039515300 5100 0 5100 0



p34c0:mrtg:/home/httpd/html/mrtg/work/gostats> head gostats_tablescans.log
1039518200 133826 133826
1039518200 0 0 0 0
1039517305 0 0 0 0
1039517100 0 0 0 0
1039516800 0 0 0 0
1039516500 0 0 0 0
1039516200 0 0 0 0
1039515900 0 0 0 0
1039515600 0 0 0 0
1039515300 0 0 0 0


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


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