On Fri, Jun 11, 2010 at 02:06:42PM +0200, Dijk, Sebastian van wrote:
>  When I enable the debug on the api.rrdtool I get these results :
> 
>  /usr/bin/rrdtool graph '/opt/jffnms/engine/temp/4c121adec5bb8.dat' 
> --imgformat=PNG --start=1276168320 --end=1276254720 --base=1000 
> --lower-limit=1 --title='WWW_06 Ams CPUHardware: x86 Family 6 Model 15 
> Stepping 8 AT/AT COMPATIBLE  2010-06-11 13:13:01' --alt-autoscale-max 
> --color=GRID#CCCCCC --color=MGRID#777777 --height=175 --width=500 
> --font=DEFAULT:7:/opt/jffnms/engine/fonts/LucidaTypewriterRegular.ttf 
> --vertical-label='CPU Utilization %' --rigid --upper-limit=100 
> DEF:cpu=/opt/jffnms/rrd/interface-2316-0.rrd:data:AVERAGE HRULE:100#FF0000: 
> AREA:cpu#00CC00:'CPU Utilization ' LINE1:cpu#0000FF:'' 
> GPRINT:cpu:MAX:'Max\:%8.2lf %%' GPRINT:cpu:AVERAGE:'Average\:%8.2lf %%' 
> GPRINT:cpu:LAST:'Last\:%8.2lf %%'

Copy and paste that into a command line as the www-data user and it will 
probably tell you what is going wrong.
For me this would be 
  su -s /bin/sh -c "/usr/bin/rrdtool ...blahblahblah..." www-data

I need to use " as ' is used on the command line.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to