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

Nico Schuijff nico at schuijff.com
Thu Aug 26 09:54:23 CEST 2010


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 <tobi at oetiker.ch>
               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:ddunham at taos.com]
To: rrd-users at lists.oetiker.ch
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
  
  
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100826/d24e9c40/attachment.htm 


More information about the rrd-users mailing list