29 Oct
2014
29 Oct
'14
7:14 a.m.
You can also send a trends message. This is an extra message with the rrd you want to use and the numbers. I use that feature a lot.
Some lines from one of my scripts written in perl: $rrd_return .= "data $ENV{MACHINE}.trends\n" ; $rrd_return .= "[iostat.$device.rrd]\n" ; $rrd_return .= "DS:Kbps:GAUGE:600:0:U $split[0]\n" ; $rrd_return .= "DS:tps:GAUGE:600:0:U $split[1]\n" ; $rrd_return .= "DS:bkread:GAUGE:600:0:U $split[2]\n" ; $rrd_return .= "DS:bkwrtn:GAUGE:600:0:U $split[3]\n" ;
Stef