[rrd-users] NaN/NaN for some parameters

Chris Friedline cfriedline at mcvh-vcu.edu
Mon Mar 13 19:55:43 MET 2006


Hello,
I'm using MRTG/RRDTool to collect WMI information from our Windows 
environment here.  CPU and Memory collection and display via RRDTool are 
working fine, but I'm having trouble with NIC stats showing on graphs up 
as -1.#J.

Running a test cfg file with debug on, shows the following.  I don't 
understand why data seems to be going in, but no data is fetched out 
(--log: got: NaN/NaN).  Can someone help?

Thanks,
Chris

C:\mrtg-2.13.2\bin>perl mrtg mrtgtest.cfg --debug=log,base
--base: Creating Lockfiles mrtgtest.cfg_l,mrtgtest.cfg_l_2844
--base: Reading Config File: mrtgtest.cfg
--base: Reading Interface Config cache
--base: Checking Config File
--base: Loading RRD support
--base: Loading default Locale
--base: Starting main Loop
--base: Populate Target object by polling SNMP and external Datasources
--base: Act on Router/Target server-net
--base: Get Current values: in:9124, out:47089, up:18 days, 21 hours, 23 
minutes
, 58 seconds , name:server, time:1142275190
--base: Create Graphics
--base: start RRDtool section
--base: maxi:12500000, maxo:12500000
--log: Called: RRDs::tune(C:\inetpub\wwwroot\mrtg\server-net.rrd -a 
ds0:125
00000 -a ds1:12500000 -d ds0:GAUGE -d ds1:GAUGE)
--log: Calling: RRDs::update(C:\inetpub\wwwroot\mrtg\server-net.rrd, 
'11422
75190:9124:47089')
--log: Called: RRDs::info(C:\inetpub\wwwroot\mrtg\server-net.rrd)
--log: Called: 
RRDs::fetch(C:\inetpub\wwwroot\mrtg\server-net.rrd,'AVERAGE'
,'-s',1142274600,'-e',1142274600)
--log:   got: NaN/NaN
--base: Check for Thresholds
--base: Exit main Loop
--base: Remove Lock Files
--base: Store Interface Config Cache

cfg file entry is below:

WorkDir: C:\inetpub\wwwroot\mrtg\
RunAsDaemon: no
PathAdd: C:\rrdtool-1.2.10-win32-perl58\rrdtool\Release\
LibAdd: C:\Perl\site\lib\
LogFormat: rrdtool
Interval: 10

Target[server-net]: `cscript //nologo getmetric.vbs server net`
PageTop[server-net]: <H1>server Network</H1>
Title[server-net]: server Network
MaxBytes[server-net]: 12500000
Options[server-net]: gauge,printrouter,growright
Legend1[server-net]: Received
Legend2[server-net]: Sent
LegendI[server-net]: Received
LegendO[server-net]: Sent
YLegend[server-net]: Bits/Sec
ShortLegend[server-net]: b/s

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list