<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hey guys.<br><br></div>I am a new member that discovered this AWESOME tool today. I m going to use it at every customer that I ll visit for sure because it gives so much visibility on the network.<br>
</div>I am a network engineer located in Switzerland and specialized into Routing/Switching , Security and also VoIP. I have very small experience with Linux so please forgive me for that :)<br><br><br></div>I have been running Smokeping on Ubuntu server 12.04 LTS 64 bit today and I would like to implement the Master/Slave topology<br>
<br>I understood from the documentation that the slave will get his configuration from the master here is what I did :<br><br><br></div>- Install Smokeping on both server: I got graphs working to the localhost so hence the RDD is OK<br>
</div>- MASTER<br><br></div>Created <b>/etc/smokeping/slavesecrets.conf </b>and /etc/smokeping/slave-secrets<br><br></div>did a vim on slavesecrets and added the key : test<br></div>did a vim on slave-secret and added the text : ubuntu.local:test<br>
<br></div>Modified the /etc/smokeping/Slave to have the <br>+slave<br>display_names=ubuntu text.<br></div><div>color=blablabla<br><br></div>Modified the Target in order to push the config to the slave : <br><div class="">
++ Site 1</div><div class="">menu = Corp</div><div class="">title = CORP - <a href="http://slave1.test.com">slave1.test.com</a></div><div class="">host = X.X.X.X</div><div class="">slaves = ubuntu<br><br><br></div><div class="">
<br><br><br></div>- SLAVE<br><br> /etc/default/smokeping: Startup configuration for smokeping(1)<div class="">#</div><div class=""># select master or slave mode</div><div class="">MODE=slave</div><div class=""># in master mode, the rest of the configuration is in</div>
<div class=""># /etc/smokeping/config</div><div class="">#</div><div class=""># in slave mode, uncomment and set the following variables too</div><div class=""># see smokeping(1)</div><div class="">#</div><div class=""># Mandatory configuration</div>
<div class="">MASTER_URL=<a href="http://x.x.x.x/cgi-bin/smokeping.cgi">http://x.x.x.x/cgi-bin/smokeping.cgi</a></div><div class="">SHARED_SECRET=/etc/smokeping/slavesecrets.conf</div><div class="">#</div><div class=""># Optional configuration</div>
<div class="">SLAVE_NAME=ubuntu</div><div class=""><br>
</div><div class=""><br></div><div class=""><b>touch and vim /etc/smokeping/slavesecrets.conf in order to have the same secretkey : test<br></b></div><br><br><br></div><b>Now it is clearly not working and I have no idea why ... can someone provide some insights and let me know what they think ?<br>
<br>Thanks a lot for the help provided<br><br>Nicolas<br><br><br><br></b> </div>