《smokeping探针的配置》由会员分享,可在线阅读,更多相关《smokeping探针的配置(3页珍藏版)》请在金锄头文库上搜索。
1、smokeping Curl 探针的配置可以使用多个探针吗?smokeping 的探针有很多类型,如:Fping,Curl,EchoPing, EchoPingDNS,EchoPingHttp,IOSPing在 smokeping 上可以使用多个不同的探针对节点进行监控。添加一个探针在* Probes *段下,添加一段 curl 的探针:+Curlbinary = /usr/bin/curlforks = 5offset = 50%step = 30# The following variables can be overridden in each target section#agent
2、= User-Agent: Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 penSSL/0.9.6c#extraargs = -6 -head -user user:password#extrare = / /follow_redirects = yesinclude_redirects = yesinsecure_ssl = 1interface = eth0pings = 5ssl2 = 1timeout = 20urlformat = http:/%host%/ # mandatory配置节点* Targets *+http_changyouprobe = Curlurlformat = http:/%host%/ # mandatorymenu=http_changyoutitle= nodes+changyoumenu=changyoutitle = changyou_webhost = 通过测试,一个节点不可以同时运用两个探针,除非将一个节点分两次写,分别运用两个探针。更多详情,请查看:http:/oss.oetiker.ch/smokeping/官方的 demo 站点:http:/oss.oetiker.ch/smokeping-demo/?target=Customers.OP