On Wed, Jan 9, 2013 at 12:10 PM, <itheodori...@bankofgreece.gr> wrote:

> Hello to all.****
>
> I have successfully setup a master-slave configuration in my enterprise
> internal network.****
>
> Now I want to do the same thing for a measuring setup which expands across
> firewall zones. Two slaves exist in different DMZs in the firewall
> targeting hosts in the same zone with fping and the master is in the
> internal zone (local zone), gathering the data. I have managed to establish
> primary communication between  master and slave and the slaves connect to
> the master and receive their configuration. The problem is I get no data
> back in the graphs.
>

This is a common new slave setup issue - ensure the permissions on the
datadir are such that your webserver user can write data into that
directory.

****
>
> Before I changed them into slaves the smokeping servers in the DMZ were
> hitting their targets without problems and their graphs were populated, but
> that led to three different servers/web-interfaces for me (two in the DMZs
> and one in the local zone). I would prefer getting everything in one web
> interface so that is the reason for transition to a master-slave setup.***
> *
>
> I am guessing that I am missing something in the transport of measured
> data back to the server, so I would like to know if possible how do the
> slaves send their data back to the server after they are done measuring.
> I know the communication for the reception of their configuration is http
> traffic. Is it the same for the measured data?
>

The slaves POST their data back to the master on the same url from which
they receive their configuration, whatever is defined as MASTER_URL.


> ****
>
> I must also say that I don’t get any significant info from my firewall’s
> logs. Is it possible that the transfer is smtp? Or is that the failed
> messages alerts (which I never see)?****
>
> If anyone has any ideas I would be gratefull. Or my last choice is to use
> a sniffer and try and find out what is going on..
>

On the slaves, try something like '/usr/sbin/smokeping --master-url=
https://yourhost/smokeping/cgi/smokeping.cgi --cache-dir=/tmp
--shared-secret=/etc/smokeping/secret --debug'; similar on the master.

-tt


****
>
> ** **
>
> Ioannis Theodoridis****
>
> ** **
>
> PS: Thank you Darren Murphy for the ‘nomasterpoll’ answer.****
>
> ------------------------------
>
> ==============================================================================================================
> Με την επιφύλαξη παντός νομίμου δικαιώματός μας. Κάθε μήνυμα ηλεκτρονικού 
> ταχυδρομείου από την Τράπεζα της Ελλάδος (ΤτΕ) αποστέλλεται καλόπιστα αλλά 
> δεν τη δεσμεύει ούτε ερμηνεύεται ως να συνιστούσε ή επηρέαζε συμβατική ή άλλη 
> δέσμευση της ΤτΕ.
>
> Το μήνυμα ηλεκτρονικού ταχυδρομείου προορίζεται προς αποκλειστική χρήση του 
> προσώπου, του οποίου η διεύθυνση αναγράφεται στην επικεφαλίδα του μηνύματος. 
> Ο αποστολέας και η ΤτΕ δεν αναλαμβάνουν καμμία ευθύνη για ανακριβειες, 
> παραβίαση της ακεραιότητας, απώλεια ή καθυστερημένη διαβίβαση του μηνύματος, 
> για αστοχία, διακοπή ή υποβάθμιση της υπηρεσίας ή του μηνύματος καθώς και για 
> κάθε εξ αυτού του λόγου απώλεια ή ζημία καθόλη την υπό του νόμου προβλεπόμενη 
> έκταση.
>
> Εάν λάβατε κατά λάθος το παρόν μήνυμα ηλεκτρονικού ταχυδρομείου, παρακαλούμε 
> να ειδοποιήσετε αμέσως μέσω ηλεκτρονικού ταχυδρομείου τον αποστολέα και να 
> διαγράψετε το μήνυμα. Οποιαδήποτε ανακοίνωση, διάδοση ή χρήση μέρους ή 
> ολόκληρου του μηνύματος χωρίς άδεια απαγορεύεται αυστηρά και μπορεί να 
> επιφέρει ποινική και αστική ευθύνη.
>
>
> 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.
> ==============================================================================================================
>
>
>
> ------------------------------
> </html
> _______________________________________________
> smokeping-users mailing list
> smokeping-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
_______________________________________________
smokeping-users mailing list
smokeping-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to