this is the output, no error whatsoever:

C:\Documents and Settings\monitor>REM Generate graph per HOUR
C:\Documents and Settings\monitor>"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"
481x174

C:\Documents and Settings\monitor>REM Generate graph per DAY

C:\Documents and Settings\monitor>"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"
481x174

C:\Documents and Settings\monitor>REM Generate graph per WEEK

C:\Documents and Settings\monitor>"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"
481x174

C:\Documents and Settings\monitor>REM Generate graph per MONTH

C:\Documents and Settings\monitor>"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"

C:\Documents and Settings\monitor>REM Generate graph per YEAR
C:\Documents and Settings\monitor>"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"
481x174

C:\Documents and Settings\monitor>rrdtool /?
RRDtool 1.3.8  Copyright 1997-2009 by Tobias Oetiker <[email protected]>
               Compiled Jul  7 2009 12:24:10
----cut---

The rrdfile i've used can be downloaded from 
http://www.schuijff.com/salive_chk_572_rrd


regards,

Nico
  _____  

From: A Darren Dunham [mailto:[email protected]]
To: [email protected]
Sent: Wed, 25 Aug 2010 17:53:20 +0200
Subject: Re: [rrd-users] graph command not working for montly graphs

On Wed, Aug 25, 2010 at 01:42:54PM +0200, Nico Schuijff wrote:
  > 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.
  
  What does happen?  Does the command generate an error?  Create an empty
  graph?  Any output?
  
  Without having data, this would be difficult for me to guess.  I ran
  your commands (no data in the RRD) and all the graphs got generated.
  
  -- 
  Darren
  
  
    
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to