Chris,
Right, sorry, change the line 6 to:
$opts_DEF = rrdtool_get_def($data,array("temp_c"=>"temperature"));Javier
Chris Epler wrote:
On Fri, 30 Jul 2004 18:01:06 -0300, Javier Szyszlican <[EMAIL PROTECTED]> wrote:
I now remember this, edit engine/graph/temperature.inc.php and change "temperature" to "temp_c" at line 6.
That should fix the problem.
Still no go, checking the debug output and pasting that to command line gets:
[EMAIL PROTECTED] root]# /usr/bin/rrdtool graph '/opt/jffnms/engine/temp/410ab8bad2774.dat' --imgformat=PNG --start=-86400 --end=-420 --base=1000 --lower-limit=1 --title='Pen1 Pencader Temperature1 Site RSP(2) Inlet 2004-07-30 17:05:18' --alt-autoscale-max --color=GRID#CCCCCC --color=MGRID#777777 --height=180 --width=500 --vertical-label='Temperature' CDEF:temperature=temp_c,1,* AREA:temperature#FF0000:'Temperature in degrees Celcius\:' GPRINT:temperature:MAX:'Max\:%5.0lf' GPRINT:temperature:AVERAGE:'Average\:%5.0lf' GPRINT:temperature:LAST:'Last\:%5.0lf \n' ERROR: invalid rpn expression 'temp_c,1,*'
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
