So what does it take to integrate rrdcached with MRTG?
From a quick & dirty point of view, it seems to me that I could change line
854
(mrtg-2.16.2) as follows:
from
if ( $RRDs::VERSION >= 1.2 ){
$rrddata=RRDs::updatev($dotrrd, "$time:$inlast:$outlast");
} else {
RRDs::update($dotrrd, "$time:$inlast:$outlast");
}
to
if ( $RRDs::VERSION >= 1.2 ){
$rrddata=RRDs::updatev($dotrrd, "--daemon
unix:/tmp/rrdcached.sock", "$time:$inlast:$outlast");
} else {
RRDs::update($dotrrd, "$time:$inlast:$outlast");
}
Is it this easy? Or am I totally missing how hard this is?
--sk
Stuart Kendrick
FHCRC
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg