[smokeping-users] Slave config woes
ITheodoridis at bankofgreece.gr
ITheodoridis at bankofgreece.gr
Wed Nov 4 13:04:06 CET 2015
It’s true that in most cases the problems come from the underlying platform or the interaction between different componets of the platform and not smokeping itself. However it is interesting how the packages evolve through out the years. For example the addition of the init script, the separation of configs for slave and master, the separation of the main config in different files according to section etc are some of the welcome changes in the packages in the latest distributions.
They are not taking care of everything though as even with a package only installation on an entirely fresh system you get issues from the Apache or cgi stuff not interacting as they should with the smokeping process… That’s one of my latest issues, the “new” security model of apache is causing one of the others. I will make separate posts for my issues, don’t bother with those here.
Just agreeing with what Graig said. Most of the times it’s either an OS problem, permissions or otherwise or a change in some other software..
I am sure a lot of people here are still running smokeping with the root user..
There are some OS based guides out there (not in the main Smokeping documentation) but a lot are really old. Ubuntu and OpenSuSE are the best choices I believe when choosing package versions. The main advantage that Ubuntu has over OpenSuSE is you don’t need to add an additional repository (for OpenSuSE it’s Server Management).
-----------------------------------------------------
Ioannis Theodoridis
Network & Systems Engineer
Network & Telecommunications Support
Informatics
Bank of Greece
-----------------------------------------------------
From: Gregory Sloop [mailto:gregs at sloop.net]
Sent: Wednesday, November 04, 2015 12:21 AM
To: masonke
Cc: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] Slave config woes
The docs are not "old," but they may not have changed, since SP hasn't changed much, if at all, in years.
I agree, they're not awesome, but they're definitely do-able. I guess I'd say: I'm sorry you had a hard time. However, in many cases, I think the difficulty lies in that the user doesn't know *nix very well, and how things work in the *nix world. Thus, it takes forever to do the leg-work and bring yourself up the learning curve. [I know it took ages for me!]
Once you've got that - you learn some tricks and have enough background to get through most things fairly efficiently. Until then, it's pretty painful, and there doesn't seem to be many ways to help shorten or alleviate that pain.
Best of luck, I guess.
-Greg
Makes two of us. The docs and web page are really out of date, so it is a whack-a-mole type of installation.
~KEM
On Nov 3, 2015, at 10:38, <ITheodoridis at bankofgreece.gr<mailto:ITheodoridis at bankofgreece.gr>> <ITheodoridis at bankofgreece.gr<mailto:ITheodoridis at bankofgreece.gr>> wrote:
I am still a little confused on why you got the message about the config in the first place, but I am sold, glad you made it work. Thanks for the reply.
From: Masonke [mailto:masonke at gmail.com]
Sent: Tuesday, November 03, 2015 5:21 PM
To: Theodoridis Ioannis
Cc: smokeping-users at lists.oetiker.ch<mailto:smokeping-users at lists.oetiker.ch>
Subject: Re: [smokeping-users] Slave config woes
Using debug into the logs, confirmed the slave was receiving the configs. The pings were being performed and it claimed they were sent.
However, the modification time on the rrd files for the slave on the master did not change. I did not see slavecache files either. Changed perms for the directory to 777 and slavecache files appeared, but rrd was not updated. Fiddled with changing rrd to 664 and setting the group to www-data , no go. Gave up, made rrd to 666 and it worked
Sent from my phone, please excuse typos
On Nov 3, 2015, at 05:03, <ITheodoridis at bankofgreece.gr<mailto:ITheodoridis at bankofgreece.gr>> <ITheodoridis at bankofgreece.gr<mailto:ITheodoridis at bankofgreece.gr>> wrote:
That doesn’t seem right.. Perhaps you did solve an issue with the rrd perms but if the slave is not receiving any config from the master it can’t be the rrds..
From: masonke [mailto:masonke at gmail.com]
Sent: Tuesday, November 03, 2015 2:20 AM
To: Theodoridis Ioannis
Cc: smokeping-users at lists.oetiker.ch<mailto:smokeping-users at lists.oetiker.ch>
Subject: Re: [smokeping-users] Slave config woes
Finally figured it out, had to change the rrd files on the Master to 666. However, the files are created with 644, so added a cron job to fix the perms.
~KEM
On Nov 2, 2015, at 07:00, ITheodoridis at bankofgreece.gr<mailto:ITheodoridis at bankofgreece.gr> wrote:
I am also having problems probably with apache configuration but for your case (I am guessing here) have you checked if your apache user (on the master) has access to those files? The communication between server and slave goes through the cgi so the apache user should have read access to the secrets file (that can not be word readable by the way).
Try to check the apache logs too for errors and access (on the master).
==============================================================================================================
Με την επιφύλαξη παντός νομίμου δικαιώματός μας. Κάθε μήνυμα ηλεκτρονικού ταχυδρομείου από την Τράπεζα της Ελλάδος (ΤτΕ) αποστέλλεται καλόπιστα αλλά δεν τη δεσμεύει ούτε ερμηνεύεται ως να συνιστούσε ή επηρέαζε συμβατική ή άλλη δέσμευση της ΤτΕ.
Το μήνυμα ηλεκτρονικού ταχυδρομείου προορίζεται προς αποκλειστική χρήση του προσώπου, του οποίου η διεύθυνση αναγράφεται στην επικεφαλίδα του μηνύματος. Ο αποστολέας και η ΤτΕ δεν αναλαμβάνουν καμμία ευθύνη για ανακριβειες, παραβίαση της ακεραιότητας, απώλεια ή καθυστερημένη διαβίβαση του μηνύματος, για αστοχία, διακοπή ή υποβάθμιση της υπηρεσίας ή του μηνύματος καθώς και για κάθε εξ αυτού του λόγου απώλεια ή ζημία καθόλη την υπό του νόμου προβλεπόμενη έκταση.
Εάν λάβατε κατά λάθος το παρόν μήνυμα ηλεκτρονικού ταχυδρομείου, παρακαλούμε να ειδοποιήσετε αμέσως μέσω ηλεκτρονικού ταχυδρομείου τον αποστολέα και να διαγράψετε το μήνυμα. Οποιαδήποτε ανακοίνωση, διάδοση ή χρήση μέρους ή ολόκληρου του μηνύματος χωρίς άδεια απαγορεύεται αυστηρά και μπορεί να επιφέρει ποινική και αστική ευθύνη.
Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG.
The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law.
If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved.
==============================================================================================================
________________________________
============================================================================================================== Με την επιφύλαξη παντός νομίμου δικαιώματός μας. Κάθε μήνυμα ηλεκτρονικού ταχυδρομείου από την Τράπεζα της Ελλάδος (ΤτΕ) αποστέλλεται καλόπιστα αλλά δεν τη δεσμεύει ούτε ερμηνεύεται ως να συνιστούσε ή επηρέαζε συμβατική ή άλλη δέσμευση της ΤτΕ. Το μήνυμα ηλεκτρονικού ταχυδρομείου προορίζεται προς αποκλειστική χρήση του προσώπου, του οποίου η διεύθυνση αναγράφεται στην επικεφαλίδα του μηνύματος. Ο αποστολέας και η ΤτΕ δεν αναλαμβάνουν καμμία ευθύνη για ανακριβειες, παραβίαση της ακεραιότητας, απώλεια ή καθυστερημένη διαβίβαση του μηνύματος, για αστοχία, διακοπή ή υποβάθμιση της υπηρεσίας ή του μηνύματος καθώς και για κάθε εξ αυτού του λόγου απώλεια ή ζημία καθόλη την υπό του νόμου προβλεπόμενη έκταση. Εάν λάβατε κατά λάθος το παρόν μήνυμα ηλεκτρονικού ταχυδρομείου, παρακαλούμε να ειδοποιήσετε αμέσως μέσω ηλεκτρονικού ταχυδρομείου τον αποστολέα και να διαγράψετε το μήνυμα. Οποιαδήποτε ανακοίνωση, διάδοση ή χρήση μέρους ή ολόκληρου του μηνύματος χωρίς άδεια απαγορεύεται αυστηρά και μπορεί να επιφέρει ποινική και αστική ευθύνη. Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG. The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law. If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved. ==============================================================================================================
--
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail: gregs at sloop.net<mailto:gregs at sloop.net>
http://www.sloop.net
---
==============================================================================================================
Με την επιφύλαξη παντός νομίμου δικαιώματός μας. Κάθε μήνυμα ηλεκτρονικού ταχυδρομείου από την Τράπεζα της Ελλάδος (ΤτΕ) αποστέλλεται καλόπιστα αλλά δεν τη δεσμεύει ούτε ερμηνεύεται ως να συνιστούσε ή επηρέαζε συμβατική ή άλλη δέσμευση της ΤτΕ.
Το μήνυμα ηλεκτρονικού ταχυδρομείου προορίζεται προς αποκλειστική χρήση του προσώπου, του οποίου η διεύθυνση αναγράφεται στην επικεφαλίδα του μηνύματος. Ο αποστολέας και η ΤτΕ δεν αναλαμβάνουν καμμία ευθύνη για ανακριβειες, παραβίαση της ακεραιότητας, απώλεια ή καθυστερημένη διαβίβαση του μηνύματος, για αστοχία, διακοπή ή υποβάθμιση της υπηρεσίας ή του μηνύματος καθώς και για κάθε εξ αυτού του λόγου απώλεια ή ζημία καθόλη την υπό του νόμου προβλεπόμενη έκταση.
Εάν λάβατε κατά λάθος το παρόν μήνυμα ηλεκτρονικού ταχυδρομείου, παρακαλούμε να ειδοποιήσετε αμέσως μέσω ηλεκτρονικού ταχυδρομείου τον αποστολέα και να διαγράψετε το μήνυμα. Οποιαδήποτε ανακοίνωση, διάδοση ή χρήση μέρους ή ολόκληρου του μηνύματος χωρίς άδεια απαγορεύεται αυστηρά και μπορεί να επιφέρει ποινική και αστική ευθύνη.
Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG.
The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law.
If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved.
==============================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20151104/14d0974c/attachment-0001.html>
More information about the smokeping-users
mailing list