[rrd-users] graph command not working for montly graphs AcceptTentativeDeclineObsoleteCalendar AcceptTentativeDeclineObsoleteCalendar

Nico Schuijff rrd-users at schuijff.com
Wed Aug 25 13:42:54 CEST 2010


Hello all, I have a very strange problem with the graph command:

The  command doesn't generate monthly graphs, but it does for hourly,daily,  weekly and yearly. When I change "-s -2592000" to "-s -3600" or another  value for week,year or day it works.

an example of a created rrd-db: 

"C:\Program  Files (x86)\RRDtool\src\tool_release\rrdtool.exe" create "C:\Program  Files (x86)\RRDtool\salive\rrd-checkresult\salive_chk_572_rrd" -s 67  DS:checkresult:GAUGE:670:U:U  RRA:MAX:0.5:1:670 RRA:MAX:0.5:13:100  RRA:MAX:0.5:36:250 RRA:MAX:0.5:36:1000 RRA:MAX:0.5:236:2000   RRA:MIN:0.5:1:670 RRA:MIN:0.5:13:100 RRA:MIN:0.5:36:250  RRA:MIN:0.5:36:1000 RRA:MIN:0.5:236:2000  RRA:AVERAGE:0.5:1:670  RRA:AVERAGE:0.5:13:100 RRA:AVERAGE:0.5:36:250 RRA:AVERAGE:0.5:36:1000  RRA:AVERAGE:0.5:236:2000

the graph commands for above RRD:


  REM
  REM Generate graph per HOUR
  REM
"C:\Program  Files (x86)\RRDtool\src\tool_release\rrdtool.exe" graph  "C:\Program  Files (x86)\RRDtool\salive\hour\hour_salive_chk_572.png" -s -3600   --imgformat PNG --title="disk space on ams-fps-1"  DEF:sa_V572="C\:\\Program Files  (x86)\\RRDtool\\salive\\rrd-checkresult\\salive_chk_572_rrd":checkresult:MAX  LINE1:sa_V572#0000FF:"Check Result"

REM
REM Generate graph per DAY
REM
"C:\Program  Files (x86)\RRDtool\src\tool_release\rrdtool.exe" graph  "C:\Program  Files (x86)\RRDtool\salive\day\day_salive_chk_572.png" -s -86400   --imgformat PNG --title="disk space on ams-fps-1"  DEF:sa_V572="C\:\\Program Files  (x86)\\RRDtool\\salive\\rrd-checkresult\\salive_chk_572_rrd":checkresult:MAX  LINE1:sa_V572#0000FF:"Check Result"



REM
REM Generate graph per WEEK
REM
"C:\Program  Files (x86)\RRDtool\src\tool_release\rrdtool.exe" graph  "C:\Program  Files (x86)\RRDtool\salive\week\week_salive_chk_572.png" -s -604800   --imgformat PNG --title="disk space on ams-fps-1"  DEF:sa_V572="C\:\\Program Files  (x86)\\RRDtool\\salive\\rrd-checkresult\\salive_chk_572_rrd":checkresult:MAX  LINE1:sa_V572#0000FF:"Check Result"



REM
REM Generate graph per MONTH
REM

"C:\Program  Files (x86)\RRDtool\src\tool_release\rrdtool.exe" graph  "C:\Program  Files (x86)\RRDtool\salive\month\month_salive_chk_572.png" -s -2592000   --imgformat PNG --title="disk space on ams-fps-1"  DEF:sa_V572="C\:\\Program Files  (x86)\\RRDtool\\salive\\rrd-checkresult\\salive_chk_572_rrd":checkresult:MAX  LINE1:sa_V572#0000FF:"Check Result"



REM
REM Generate graph per YEAR
REM

"C:\Program  Files (x86)\RRDtool\src\tool_release\rrdtool.exe" graph  "C:\Program  Files (x86)\RRDtool\salive\year\year_salive_chk_572.png" -s -31536000   --imgformat PNG --title="disk space on ams-fps-1"  DEF:sa_V572="C\:\\Program Files  (x86)\\RRDtool\\salive\\rrd-checkresult\\salive_chk_572_rrd":checkresult:MAX  LINE1:sa_V572#0000FF:"Check Result"

please help,

thnx

Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100825/ca4b7ff9/attachment.htm 


More information about the rrd-users mailing list