[rrd-users] Problem with --x-grid settings

Fladsrud Tom Tom.Fladsrud at edb.com
Mon Nov 21 11:38:29 MET 2005


I'm using rrdtool to create a graph, and on the x-axis the days are
displayed. The problem is that these are not correct. They are about two
days wrong.
I have been trying to use the --x-grid HOUR:1:DAY:1:DAY:1:84600:%A
command to display the day, hoping that this would resolve the problem
above.
But this only result in that "A" is printed on the x-axis. As I
understood the manual, %A would print Monday .....Sunday, not "A"...
Does anyone know what might be the solution? 
(I am running this on Windows.) 

The  graph command is as follows:

"rrdtool.exe" graph  "C:\temp\graph\sa_graph.png" --start 1134035220
--end 1134899220 --imgformat PNG --width 1000 --height 500
--vertical-label "Status: 1=down, 3=unavailable, 4=maintenance, 5=up"
--alt-y-grid --title="Graph of server based on the information collected
from the logfile generated by ServersAlive"
DEF:SSHsjekk0=server1.rrd:SSHsjekk0:LAST
LINE2:SSHsjekk0#FF0000:"SSHsjekk"
DEF:disksje11=server1.rrd:disksje11:LAST
LINE2:disksje11#00FF00:"disksjekk/tmp"\n
DEF:disksje22=server1.rrd:disksje22:LAST
LINE2:disksje22#0000FF:"disksjekk/"\n
DEF:BackupS33=server1.rrd:BackupS33:LAST
LINE2:BackupS33#FF00FF:"BackupServicedsmc" --x-grid
HOUR:1:DAY:1:DAY:1:84600:%A


Tom Fladsrud

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list