The probe declared in the start of the config is the default probe. If you don't declare anything in the target host area, that probe is used. For example (there are parts of the config from the master for one of my three setups, this one is the most complex one, I have changed some parts for obvious reasons): In the first section (probe section) is where you declare the different probes. Remember that if you have a master slave setup, then some probes are probably used on slaves. In my case some slaves are rasberrypi machines where the master is OpenSuSE, so the executables are not in the same path, hence the overrides.. For the first part there is no probe = ... for each host, so the default probe is used (avoid to have another global declaration for the default probe later in the config, I am not sure how the config files are parsed, it may or may not create a conflict, I can't be sure). Later on you can see part of the menus created for the CiscoRTTMonEchoICMP Probe and the EchoPingHttp probe, where the probe is declared per target host. If there is anything else you want to ask feel free to do so, or check the reference on the documentation. I hope this helps,
----------------------------------------------------- Ioannis Theodoridis Network & Systems Engineer Network & Telecommunications Support Informatics Bank of Greece ----------------------------------------------------- *** Probes *** + FPing binary = /usr/sbin/fping +EchoPingHttp binary = /usr/local/bin/echoping forks = 5 offset = 50% step = 300 # The following variables can be overridden in each target section #extraopts = -some-letter-the-author-did-not-think-of accept_redirects = yes ignore_cache = yes ipversion = 4 pings = 5 port = 5865 priority = 6 revalidate_data = no timeout = 1 tos = 0xa0 url = / waittime = 1 # ***************************************************************************** # ***** Commented out by itheodoridis on 19/8/2014 10:37 am ******************* # ***************************************************************************** #+TelnetIOSPing # forks = 5 # offset = 50% # packetsize = 56 # step = 300 # timeout = 15 # The following variables can be overridden in each target section # iospass = # iosuser = # pings = 5 # psource = # source = # ***** End of commented out section ***************************************** +CiscoRTTMonEchoICMP forks = 5 offset = 50% step = 300 timeout = 15 # The following variables can be overridden in each target section ioshost = [email protected] # mandatory iosint = 10.130.254.103 packetsize = 56 pings = 5 #timeout = 15 tos = 160 *** Slaves *** secrets=/etc/smokeping/smokeping_secrets #### Slaves MK ############ +mkpislave02 display_name=mkpislave02 location=MHKEXA 2os orofos, 10.130.21.x color=440088 ++override Probes.EchoPingHttp.host = 127.0.0.1 Probes.EchoPingHttp.binary = /usr/bin/echoping Probes.FPing.binary = /usr/bin/fping ***************** bla bla bla a big part of the config that has nothing to do with your question, plus contains some private addressing that I don't want to make public knowledge.. ************** ***************** end of bla bla section *************** *** Targets *** probe = FPing menu = Top title = Network Latency Grapher remark = Welcome to the SmokePing website of the Bank of Greece. \ Here you will learn all about the latency of our network.\ With regards from the Network & Communications Support Departement. + WanNet menu = WanNet title = WAN Network - Simple Pings ++ Athens menu = Athens title =Athens Connectivity +++ MHKEXA menu = MHKEXA title = MHKEXA ++++ servers menu = Servers title = Servers +++++ mkproxy03 menu = mkproxy03 title = mkproxy03 host = mkproxy03 slaves = mkpislave02 +++++ mkexc01 menu = mkexc01 title = mkexc01 host = mkexc01 slaves = mkpislave02 +++++ mkfile03 menu = mkfile03 title = mkfile03 host = mkfile03 slaves = mkpislave02 +++ CentralBuilding menu = CentralBuilding title = Central Building Connectivity ++++ servers menu = Servers title = Servers +++++ kkfile01 menu = kkfile01 title = kkfile01 host = kkfile01 slaves = kksuse01 kkpislave03 kkpislave04 kkpislave01 +++++ kkproxy03 menu = kkproxy03 title = kkproxy03 host = kkproxy03 slaves = kksuse01 kkpislave03 kkpislave04 kkpislave01 +++++ kkexc01 menu = kkexc01 title = kkexc01 host = kkexc01 slaves = kksuse01 kkpislave01 kkpislave03 kkpislave04 nomasterpoll = yes ******* another bla bla section *********** ********** end of blab la ************* + CiscoRTT menu = CiscoRTT title = CiscoRTT probes ++ MHKEXA menu = MHKEXA title = MHKEXA +++ risa1tomkfile03 menu = RISA1 to mkfile03 title = RISA1 to mkfile03 probe = CiscoRTTMonEchoICMP host = 10.130.111.154 ioshost = ****@10.130.254.105 iosint = 10.130.254.105 packetsize = 56 pings = 5 timeout = 15 tos = 160 ++ KENTRIKO menu = Kentriko title = Kentriko +++ r3b1tokkfile01 menu = r3b1tokkfile01 title = r3b1tokkfile01 probe = CiscoRTTMonEchoICMP host = 10.150.17.20 ioshost = ******@10.150.254.32 iosint = 10.150.254.32 packetsize = 56 pings = 5 timeout = 15 tos = 160 + HttpResponse menu = Http Response title = Http Response ++ InternalSites menu = Internal Sites title = Internal Sites +++ mksusemgmt01 menu = mksusemgmt01 title = mksusemgmt01 probe = EchoPingHttp host = 127.0.0.1 accept_redirects = yes ignore_cache = yes ipversion = 4 pings = 5 port = 5865 priority = 6 revalidate_data = no timeout = 1 tos = 0xa0 url = http://mksusemgmt01/ waittime = 1 ++ ExternalSites menu = External Sites title = External Sites +++ Greece menu = Greek Sites title = Greek Sites ++++ naftemporiki menu = Naftemporiki title = Naftemporiki probe = EchoPingHttp host = 127.0.0.1 accept_redirects = yes ignore_cache = yes ipversion = 4 pings = 5 port = 5865 priority = 6 revalidate_data = no timeout = 1 tos = 0xa0 url = http://www.naftemporiki.gr/finance/ waittime = 1 slaves = kkpislave03 kkpislave04 kkpislave01 kksuse01 ampislave05 mkpislave02 -----Original Message----- From: Eugene Prokopiev [mailto:[email protected]] Sent: Saturday, December 19, 2015 9:01 AM To: [email protected] Subject: [smokeping-users] Two probe types for one host Hi, Is possible to add two probe types (fping and dns for example) to one host and how to do it? I see only different probes for different hosts in examples. -- WBR, Eugene Prokopiev ============================================================================================================== Με την επιφύλαξη παντός νομίμου δικαιώματός μας. Κάθε μήνυμα ηλεκτρονικού ταχυδρομείου από την Τράπεζα της Ελλάδος (ΤτΕ) αποστέλλεται καλόπιστα αλλά δεν τη δεσμεύει ούτε ερμηνεύεται ως να συνιστούσε ή επηρέαζε συμβατική ή άλλη δέσμευση της ΤτΕ. Το μήνυμα ηλεκτρονικού ταχυδρομείου προορίζεται προς αποκλειστική χρήση του προσώπου, του οποίου η διεύθυνση αναγράφεται στην επικεφαλίδα του μηνύματος. Ο αποστολέας και η ΤτΕ δεν αναλαμβάνουν καμμία ευθύνη για ανακριβειες, παραβίαση της ακεραιότητας, απώλεια ή καθυστερημένη διαβίβαση του μηνύματος, για αστοχία, διακοπή ή υποβάθμιση της υπηρεσίας ή του μηνύματος καθώς και για κάθε εξ αυτού του λόγου απώλεια ή ζημία καθόλη την υπό του νόμου προβλεπόμενη έκταση. Εάν λάβατε κατά λάθος το παρόν μήνυμα ηλεκτρονικού ταχυδρομείου, παρακαλούμε να ειδοποιήσετε αμέσως μέσω ηλεκτρονικού ταχυδρομείου τον αποστολέα και να διαγράψετε το μήνυμα. Οποιαδήποτε ανακοίνωση, διάδοση ή χρήση μέρους ή ολόκληρου του μηνύματος χωρίς άδεια απαγορεύεται αυστηρά και μπορεί να επιφέρει ποινική και αστική ευθύνη. 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. ============================================================================================================== _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
