Hi,
I am using MRTG to monitor some network adapters as follows:
<snip>
I am also using RRDTool to monitor the performance of a storage disk array:
<snip>
The stats come in a csv file which is then translated and loaded in to an
rrd database and then graphed, all using Perl.
I would really like to get the rrdtool graphs looking like the MRTG graphs..
The Perl I am using to create the rrdtool graphs is as follows:
### Day graphs
$sys_command = "rrdtool.exe graph " . "../wwwroot/" . $stats_type .
"_fms2_day.png " .
"--start -1d " .
"--end n " .
"--vertical-label $y_legend " .
"DEF:r_buf=eva_as_fms2.rrd:eva_as_fms2_req:AVERAGE " .
"DEF:m_buf=eva_as_fms2.rrd:eva_as_fms2_mbs:AVERAGE " .
##"COMMENT:\"\t\t\t\t\tTime of day\" " .
"LINE1:r_buf#FF0000:\"Req\"" . " " .
"LINE1:m_buf#FF00FF:\"MBs\"";
printf("$sys_command\n");
Any pointer/suggestions on how I get the look and feel of the MRTG graphs
please?
Also can I get the Max: Average: Current: values out of rrdtool?
Many thanks
John
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg