|
Hi Steve,
Thanks for your suggestion and patience. I tried your advice and these are my observation.
1. From the access log of my web server, it has 'arch=yyyy-mm-dd' in the option.
2. The options being passed is the archive date I selected according to the access log.
3. Tested that the archive rrd file is accessible by the apache id by browsing the file in command line inside OS. Apache is the id that own the web server process. Tried to turn on the debug=1 in conf file, no error can be found in apache log again. When read the HTML source, the comment items are =============================================================== <!-- rrdtool graph /var/www/html/graphs/ClientServer1.cfg-Item1-d-l2.png --imgformat PNG --base 1024 --lazy --interlaced --units-exponent 0 --force-rules-legend --slope-mode -e 1357098900 -s end-2000m -u 0.1 -w 530 -h 200 --x-grid HOUR:1:HOUR:24:HOUR:2:0:%k --title Item1 --vertical-label Item 1 (%) --watermark Generated by routers2.cgi Version v2.22 DEF:in=/var/www/mrtg/ClientServer1-item1.rrd:ds0:AVERAGE DEF:out=/var/www/mrtg/ClientServer1-item1.rrd:ds1:AVERAGE CDEF:ffin=in,1,* CDEF:ffout=out,1,* DEF:min=/var/www/mrtg/ClientServer1-item1.rrd:ds0:MAX DEF:mout=/var/www/mrtg/ClientServer1-item1.rrd:ds1:MAX CDEF:ffmin=min,1,* CDEF:ffmout=mout,1,* CDEF:pcin=ffin,100,*,100,/ CDEF:mpcin=ffmin,100,*,100,/ CDEF:pcout=ffout,100,*,100,/ CDEF:mpcout=ffmout,100,*,100,/ CDEF:xffout=ffout CDEF:xffmout=ffmout AREA:ffin#00eb0c:Util(1st take) LINE1:xffout#1000ff:Util(2nd take)\l CDEF:down=in,UN,out,UN,+,2,EQ,INF,0,IF AREA:down#d0d0d0 HRULE:100#ff0000:Maximum (100 %)\l GPRINT:ffmin:MAX:Max Util(1st take)%7.2lf %%\g GPRINT:ffin:AVERAGE: Avg Util(1st take)%7.2lf %%\g GPRINT:ffin:LAST: Cur Util(1st take)%7.2lf %%\g COMMENT:\l GPRINT:ffmout:MAX:Max Util(2nd take)%7.2lf %%\g GPRINT:ffout:AVERAGE: Avg Util(2nd take)%7.2lf %%\g GPRINT:ffout:LAST: Cur Util(2nd take)%7.2lf %%\g COMMENT:\l COMMENT:Wed Jan 2 11\:55\:00 2013\r --> =============================================================== Seems no archive item inside.
4. No error being logged in Apache error log.
Would it be possible that the web server did receive the archive option, but routers2.cgi program may not be able to comprehend this option and return the default (live data) result?
|