Hey, Not sure if I put this in under the correct topic....
I am attempting to use the mrtg-pnsclinet.pl with the following config.
# Defaults
routers.cgi*Mode[_]: generic
PathAdd: c:\mrtg\rrdtool
LogFormat: rrdtool
workdir: c:\mrtg/wwwroot
###############################################
# Targets
# CPU
Target[CRIRAS-cpu]: 'mrtg-pnsclient.pl -H 192.168.1.1 -v CPULOAD -l 5 -l 15'
Title[CRIRAS-cpu]: RAS CPU Activity
MaxBytes[CRIRAS-cpu]: 100
PageTop[CRIRAS-cpu]: null
LegendI[CRIRAS-cpu]: 5min :
LegendO[CRIRAS-cpu]: 15min:
Options[CRIRAS-cpu]: gauge growright
Ylegend[CRIRAS-cpu]: percent
ShortLegend[CRIRAS-cpu]: %
Legend1[CRIRAS-cpu]: 5minute average
Legend2[CRIRAS-cpu]: 15minute average
Legend3[CRIRAS-cpu]: Peak 5min average
Legend4[CRIRAS-cpu]: Peak 15min average
SetEnv[CRIRAS-cpu]: MRTG_INT_DESCR="CPU"
routers.cgi*Options[CRIRAS-cpu]: fixunit nototal nopercent
routers.cgi*Icon[CRIRAS-cpu]: chip-sm.gif
And when I attempt to run the script manually I recieve the following error:
ERROR: Target[ras-cpu][_IN_] ''mrtg-pnsclient.pl -H 192.168.1.1 -
v CPULOAD -l 5 -l 15'' evaluated to 'mrtg-pnsclient.pl -H 192.168.1.1 -v CPULOAD -l 5 -l 15' instead of a number
Perhaps I have put my mrtg-pnsclient.pl in the incorrect spot?
Oh, and if I run mrtg-pnsclient.pl manuall, I do recieve a numerical value back....
Any hints would be appreciated!
-Don
mccallum@nemsys.com