What is the ouput of cscript //nologo usedMem.vbs ronts2lapl04 from the command line?
I'm willing to bet anything that the result is one number. If this is the case, just change it to output two numbers and your program should start working. Paul >>> "Guillermo Hechem" <[EMAIL PROTECTED]> 2/16/2005 3:23:16 PM >>> Hi, I´m using MRTG to graph the amount of free RAM memory a server has. The graphs seem to be fine; the only problem is that I don´t get the Current/Average/Max values in each graph. I´m currently using MRTG with rrdtool, but I also tried with MRTG alone and the result is the same. I´m using a script (usedMem.vbs) to query the values of RAM through WMI. My configuration file is: Workdir: \mrtg\logs\ LogFormat: rrdtool PathAdd: c:\rrdtool\bin LibAdd: C:\Perl\site\lib\ppm-conf Title[rosql04-mw]: Available MBytes Pagetop[rosql04-mw]: <H1>Available MBytes</H1> MaxBytes[rosql04-mw]: 8388608 Options[rosql04-mw]: gauge, nopercent Target[rosql04-mw]: `cscript //nologo usedMem.vbs ronts2kapl04` YLegend[rosql04-mw]: MB XSize[rosql04-mw]: 600 YSize[rosql04-mw]: 200 ShortLegend[rosql04-mw]: LegendO[rosql04-mw]: LegendI[rosql04-mw]: Legend2[rosql04-mw]: Legend1[rosql04-mw]: Interval: 1 Any help will be appreciated. -- Unsubscribe mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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
