Hello,<br><br>I run the command as you told me and I have had some problems:<br><br>[root@proyServer hobbit-4.2.0]# patch -p1 < split-ncv2.patch<br>(Stripping trailing CRs from patch.)<br>patching file hobbitd/do_rrd.c<br>

(Stripping trailing CRs from patch.)<br>patching file hobbitd/do_rrd.h<br>(Stripping trailing CRs from patch.)<br>patching file hobbitd/hobbitd_rrd.8<br>(Stripping trailing CRs from patch.)<br>patching file hobbitd/hobbitd_rrd.c
<br>(Stripping trailing CRs from patch.)<br>patching file hobbitd/rrd/do_ncv.c<br>Hunk #1 FAILED at 5.<br>Hunk #2 FAILED at 18.<br>Hunk #3 FAILED at 94.<br>3 out of 3 hunks FAILED -- saving rejects to file hobbitd/rrd/do_ncv.c.rej
<br><br>Then, I have recompiled, reintalled and restarted Hobbit and I have changed hobbitserver.cfg and hobbitgraph.cfg:<br><br>Hobbitserver.cfg:<br><br>TEST2RRD="cpu=la,disk, ... , fan=ncv"<br>SPLITNCV_fan="fan1:GAUGE,fan2:GAUGE,fan3:GAUGE,fan4:GAUGE"
<br><br>Hobbitgraph,cfg:<br><br>[fan]<br>        FNPATTERN fan\.(.*)\.rrd<br>        TITLE Fan Speed<br>        YAXIS RPM<br>        DEF:p@RRDIDX@=@RRDFN@:fan1:AVERAGE<br>
        DEF:p@RRDIDX@=@RRDFN@:fan2:AVERAGE<br>
        DEF:p@RRDIDX@=@RRDFN@:fan3:AVERAGE<br>
        DEF:p@RRDIDX@=@RRDFN@:fan4:AVERAGE<br>
        LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@<br>        GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)<br>        GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)<br>        GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)<br>        GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
<br><br>The scripts send the information as: <br>  fan1 : $fan1 rpm<br>  fan2 : $fan2 rpm<br>  ...<br><br>according to the number of fans.<br><br>Now I don´t have any .rrd file. Can you help me? Thanks!<br><br><br><br><br>
<div><span class="gmail_quote">2007/4/16, Hobbit Client <<a href="mailto:hobbitdoubt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbitdoubt@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Thanks! I will try it. <br><br><div><span class="gmail_quote">2007/4/16, Charles Goyard <<a href="mailto:charles.goyard@orange-ftgroup.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">charles.goyard@orange-ftgroup.com
</a>>:</span><div><span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hobbit Client wrote :<br>><br>> So, I have to add each line with "+" in the files you say<br><br>Yes, you can do that manually if you want, but the "patch" command does<br>it for you :)<br><br>To keep it straight:
<br><br>- the patch applies to the source code. If you installed hobbit from a<br>binary package rather than source, then you'll have to get the source<br>first.<br>- change to the source directory of hobbit (cd /usr/local/src/hobbit-
4.2.0)<br>- run the command: patch -p1 < /path/to/split-ncv2.patch<br>- recompile hobbit<br>- reinstall (you can reinstall only hobbitd_rrd if you want)<br>- restart hobbit (or just kill the hobbitd_rrd, it will be restarted)
<br><br><br>Hope that helps,<br><br>--<br>Charles Goyard - <a href="mailto:charles.goyard@orange-ftgroup.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">charles.goyard@orange-ftgroup.com</a> - (+33) 1 45 38 01 31
<br>Orange Business Services - online multimedia  // ingénierie
<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbit-unsubscribe@hswn.dk</a><br><br><br>

</blockquote></span></div></div><br>
</blockquote></div><br>