<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I'm not a work but I think i'm using this configuration for
rrdcached daemon<br>
<pre wrap="">rrdcached -f 7200 -w 3600 -z 900 -b <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/collectd/var/lib/collectd/rrd<span class="moz-txt-tag">/</span></i> -P FLUSH,BATCH,UPDATE,STATS -l 127.0.0.1 -l unix:/tmp/rrdcached.sock
Why don't you use a virtual IP on top of your "drbd servers" IPs?
There was a small bug on rrdcached collectd plugin, umask wasn't correct, search for " [collectd] rrdc_update failed with status -1" in this mailing list
Best regards
</pre>
<br>
<br>
Le 24/08/2012 20:11, Wright, Stephen a écrit :<br>
</div>
<blockquote
cite="mid:A3A27E7EB4DFE944A6387CADF470600084C2C600@CSIADEBS02.office.comscore.com"
type="cite"><!-- Template generated by Exclaimer Mail Disclaimers on 02:11:54 Friday, 24 August 2012 -->
<style type="text/css">P.f2c96c14-7e91-477c-8fbc-04f631104497 {
MARGIN: 0cm 0cm 0pt
}
LI.f2c96c14-7e91-477c-8fbc-04f631104497 {
MARGIN: 0cm 0cm 0pt
}
DIV.f2c96c14-7e91-477c-8fbc-04f631104497 {
MARGIN: 0cm 0cm 0pt
}
TABLE.f2c96c14-7e91-477c-8fbc-04f631104497Table {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
</style><!-- Template generated by Exclaimer Mail Disclaimers on 02:11:54 Friday, 24 August 2012 -->
<style type="text/css">P.3c792491-33c7-45b4-9145-d4370ac8ce9d {
MARGIN: 0cm 0cm 0pt
}
LI.3c792491-33c7-45b4-9145-d4370ac8ce9d {
MARGIN: 0cm 0cm 0pt
}
DIV.3c792491-33c7-45b4-9145-d4370ac8ce9d {
MARGIN: 0cm 0cm 0pt
}
TABLE.3c792491-33c7-45b4-9145-d4370ac8ce9dTable {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
</style>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#669900;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#FF9900;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Arial","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<p class="f2c96c14-7e91-477c-8fbc-04f631104497">
</p>
<div class="WordSection1">
<p class="MsoNormal">Hey quick question is it possible for
rrdcached to connect to an IP address instead of a unix socket
with the rrdcached plugin. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following is my rrdcached config and
collectd config working with the unix socket<o:p></o:p></p>
<p class="MsoNormal">-----------------------------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal">/etc/sysconfig/rrdcached<o:p></o:p></p>
<p class="MsoNormal">OPTIONS="-l
unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s root -m 664
-b /data/collectd/rrd -j /tmp/ -P FLUSH,PENDING -w 300 -z 90
-t 20"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/etc/collectd.conf<o:p></o:p></p>
<p class="MsoNormal">LoadPlugin rrdcached<o:p></o:p></p>
<p class="MsoNormal"><Plugin "rrdcached"><o:p></o:p></p>
<p class="MsoNormal"> DaemonAddress
"unix:/var/rrdtool/rrdcached/rrdcached.sock"<o:p></o:p></p>
<p class="MsoNormal"> DataDir "/data/collectd/rrd"<o:p></o:p></p>
<p class="MsoNormal"> CreateFiles true<o:p></o:p></p>
<p class="MsoNormal"></Plugin><o:p></o:p></p>
<p class="MsoNormal">-------------------------------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following is not working if I’m running
rrdcached bound to an IP instead of a unix socket. <o:p></o:p></p>
<p class="MsoNormal">/etc/sysconfig/rrdcached<o:p></o:p></p>
<p class="MsoNormal">OPTIONS="-P
FLUSH,FLUSHALL,PENDING,FORGET,QUEUE,HELP,STATS,UPDATE,WROTE,BATCH,QUIT
-l hostname:42217 -F -s root -m 664 -b /data/collectd/rrd -j
/tmp/ -w 300 -z 90 -t 20<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/etc/collectd.conf<o:p></o:p></p>
<p class="MsoNormal">LoadPlugin rrdcached<o:p></o:p></p>
<p class="MsoNormal"><Plugin "rrdcached"><o:p></o:p></p>
<p class="MsoNormal"> DaemonAddress "hostname:42217"<o:p></o:p></p>
<p class="MsoNormal"> DataDir "/data/collectd/rrd"<o:p></o:p></p>
<p class="MsoNormal"> CreateFiles true<o:p></o:p></p>
<p class="MsoNormal"></Plugin><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Changing any of the –P options dosen’t seem
to help. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I know the recommend method is to use the
unix socket, however I’m going to be running this in drbd
setup so basically the directory where the files and daemon
are running on can change. I have a floating IP that will
move between the collection servers. That’s why I need to be
able to set the DamonAddress to an IP. The IP for the Daemon
Address will be able to write to the directory correctly. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Any help would be appreciated. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="3c792491-33c7-45b4-9145-d4370ac8ce9d"> </p>
<p class="3c792491-33c7-45b4-9145-d4370ac8ce9d"><span
style="color: #26446E; font-weight: bold; ">Stephen</span> <span
style="color: #26446E; font-weight: bold; ">Wright</span> <span
style="color: #26446E; ">Open Source Engineer</span> | <font
color="#26446e">comScore, Inc. <font size="1"><em>(NASDAQ:SCOR)</em></font></font></p>
<p class="3c792491-33c7-45b4-9145-d4370ac8ce9d"><span
style="color: #26446E; ">o +1 (312) 777-8806 | </span><span
style="color: #26446E; "></span><span style="color: #26446E; "><span
style="color: #26446E; "><a moz-do-not-send="true"
href="mailto:swright@comscore.com" title="Click to send
email to Wright, Stephen" target=""><span style="color:
#26446E; ">swright@comscore.com</span></a></span></span></p>
<p class="3c792491-33c7-45b4-9145-d4370ac8ce9d"><font
color="#1f497d">...........................................................................................................</font></p>
<p class="f2c96c14-7e91-477c-8fbc-04f631104497"><font
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt" color="#cc6600"><strong>Introducing
Mobile Metrix 2.0 - The next generation of
mobile behavioral measurement <br>
</strong></font><a moz-do-not-send="true"
href="http://www.comscore.com/Products_Services/Product_Index/Mobile_Metrix_2.0">www.comscore.com/MobileMetrix</a></p>
<p class="f2c96c14-7e91-477c-8fbc-04f631104497"> </p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
collectd mailing list
<a class="moz-txt-link-abbreviated" href="mailto:collectd@verplant.org">collectd@verplant.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.verplant.org/listinfo/collectd">http://mailman.verplant.org/listinfo/collectd</a>
</pre>
</blockquote>
<br>
</body>
</html>