<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I have recently installed smokeping and have both a ‘master’ and ‘slave’ system working.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However, when I installed the two instances of smokeping, on their respective servers, they installed with different uids & gids to each other. I elected to amend the uid & gid of the ‘master’ instance, to bring them in line with each other, because the corresponding uid & gid was already in use on the ‘slave’ system.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The first problem I’m now experiencing is that when I add a new target to the master system the new location folder and rrds within are created with the old(original) gid, which no longer has any group associated with it. When I manually correct the gid/group ownership the new targets work ok.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The second problem is that when a new target is added, smokeping sets (or attempts to set) the folder and rrd user and group ownership to the smokeping user & group but for smokeping to work properly with slaves the htmld/apache user needs access – in my case I’m setting the group ownership to the apache group i.e. www-data. So even if I wasn’t experiencing the first problem of the incorrect gid being set I’d still have to manually change the permissions anyway.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I can’t see where the old gid is being picked up from – I thought I found and updated the user and group ownership of all the files owned by the smokeping user and group when I changed the smokeping uid & gid but I guess it’s possible I’ve missed one.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>LeeE<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>