[mrtg] MRTG, rrdtool Win2k and Perfmon issue ?

Lockwood, Jason lockwoodjm at qal.com.au
Tue Jan 21 07:03:26 MET 2003


Inconsistencies in DATA.
 
Any ideas in what could cause the following ?
 
I have successfully implemented MRTG-2.9.25, RRDtool 1.0.40, Active Perl 5.6 and Routers2.cgi with logging through Perfmon via  getlog.pl
 
MRTG is running as a daemon interval 5 mins, and perfmon is logging the data in 5 min intervals to a .csv log file
 
It is currently  logging multiple servers and some desktops  with most counters showing pretty well the same as perfmon does.
 
Most of the stuff I'm logging is gauge type stuff.  free mem, hdd space free, cpu time, and interface traffic.
 
However I have just tried to implement MS print server monitoring.
It monitors all the above on the print server ok
But I have tried to monitor 2 counters that are totals since server was booted
These being total pages printed, and total jobs printed both implemented as counters.
 
getlog.pl is returning the correct data when called.
 
However when outputting the data from rrdtool I get some weird  results ( fraction results rather than integer) 
 
Some sample data for this counter  is shown below. You can see the log file is a steady incremental count of pages printed.
Its not large so I would expect it to be rolling over the values. I'm lost at to what it is doing here.
 
 
the e+00x result (larger than 1)  in the rrd seems to recur about every 7 hours.
I have noticed that in other graphs there is the opposite about every 7 hours where the counter has a surge spike the gauges have a dropout spike
it appears that the log file could be cycling at a similar time as the mrtg is attempting to grab data so no result is recorded.
 
however for the period the results are being correctly recorded --- why is the counter not recording a correct value (i.e. something like 23 pages printed in the last 5 mins)
rather than some weird value. i.e.. less than 1
 
Can anyone shed some light on this  for me ?
 
 
Thanks,
 
Jason
 
 
File Extracts Etc
--------------------------------
  
mrtg.cfg file extract:  
Target[17qal-10]: `perl getlog.pl c:\inetpub\wwwroot\mrtg\17qal\17qal.csv "  <file://\\17qal\Print Queue(_Total)\Total Pages Printed> \\17qal\Print Queue(_Total)\Total Pages Printed"`

MaxBytes[17qal-10]: 500000

AbsMax[17qal-10]: 1000000

Options[17qal-10]: integer, nopercent, growright, noi

routers.cgi*Options[17qal-10]: noi 

getlog.pl basically returns 4 values -  0, data, 0, 0 being the most recent data in the perfmon log file

   perfmon log file info returned by getlog.pl 

34539	
34557	
34582	
34601	
34638	
 
sample data from rrdtool, rrdtool fetch 17qal-9.rrd MAX
 
1043117700: 0.0000000000e+000 1.1322000000e+002
1043118000: 0.0000000000e+000 1.1020416656e+002
1043118300: 0.0000000000e+000 1.2595339948e-001
1043118600: 0.0000000000e+000 1.1299115570e-001
1043118900: 0.0000000000e+000 8.6311111111e-002
1043119200: 0.0000000000e+000 7.3777777778e-002
1043119500: 0.0000000000e+000 8.9194684385e-002
1043119800: 0.0000000000e+000 6.0971982281e-002
1043120100: 0.0000000000e+000 1.0930000000e-001
1043120400: 0.0000000000e+000 8.2722222222e-002
1043120700: 0.0000000000e+000 1.9634134367e-001
1043121000: 0.0000000000e+000 1.8086976744e-001
1043121300: 0.0000000000e+000 9.0533333333e-002
1043121600: 0.0000000000e+000 1.1732336656e-001
1043121900: 0.0000000000e+000 1.4823218900e-001
1043122200: 0.0000000000e+000 9.3985280152e-002
1043122500: 0.0000000000e+000 9.3985280152e-002
1043122800: 0.0000000000e+000 1.0467211227e-001
1043123100: 0.0000000000e+000 1.2014621632e-001
1043123400: 0.0000000000e+000 7.0091452991e-002
1043123700: 0.0000000000e+000 7.9551920947e-002
1043124000: 0.0000000000e+000 6.6601925207e-002
1043124300: 0.0000000000e+000 1.1381889428e-001
1043124600: 0.0000000000e+000 2.0760247324e-001
1043124900: 0.0000000000e+000 1.9011709402e-001
1043125200: -1.#IND000000e+000 -1.#IND000000e+000
 
 
 
 
   ---------------------------------------
   Jason Lockwood 
   E-Mail: lockwoodjm at qal.com.au
   ------------------------------------------------
 

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