fullmundo.blogg.se

Install smokeping on centos 7
Install smokeping on centos 7











install smokeping on centos 7
  1. #INSTALL SMOKEPING ON CENTOS 7 HOW TO#
  2. #INSTALL SMOKEPING ON CENTOS 7 INSTALL#

$ sudo apt-get install -no-install-recommends nginx $ sudo ln -s /etc/uwsgi/apps-available/smokeping.ini /etc/uwsgi/apps-enabled/ Specified CGI script executes real SmokePing web-frontend.Įxec /usr/share/smokeping/smokeping.cgi /etc/smokeping/config Route = ^/ basicauth:smokeping,secret-user:secret-password $ cat << EOF | sudo tee /etc/uwsgi/apps-available/smokeping.ini $ sudo apt-get -no-install-recommends install uwsgiĭefine smokeping application with simple basic-auth (user secret-user and password secret-password). Urlformat = expect = Logged in as secret-userĪlerts = offlineatstartup,hostdown_with_stateĪlerts = offlineatstartup,hostdown_with_state,rttdetect,rtt_avg_increased Title = DNS check using local DNSĪlerts = hostdown_with_state,rttdetect,rtt_avg_increasedĮxtraargs = -user secret-user:secret-password Title = DNS check using second Google Public DNS server Title = DNS check using first Google Public DNS server Title = DNS check using Google Public DNS $ cat << EOF | sudo tee /etc/smokeping/config.d/TargetsĪlerts = offlineatstartup,hostdown_with_state,rttdetect,rtt_avg_increased,lossdetect Precisely define targets using defined probes and alerts. Pattern = Avgratio(historic => 20, current => 2, comparator=>'>', percentage => 150)Ĭomment = average latency from last 2 samples increased over 150% when compared to average from last 20 samples # concurrentprobes = /etc/smokeping/config.d/pathnames # disable this to revert to the old behaviour # each probe is now run in its own process # since all files under cgi-bin will be executed. # NOTE: do not put the Image Cache below cgi-bin $ cat << EOF | sudo tee /etc/smokeping/config.d/General I will leave default settings, which means 20 pings every 5 minutes per check, unless overridden, of course. $ sudo apt-get install -no-install-recommends smokeping dnsutils curlĪt first, check out database settings as you cannot easily modify these later on. Install smokeping package, but skip recommended packages.

#INSTALL SMOKEPING ON CENTOS 7 HOW TO#

Please read How to fix SmokePing SSH probe on Debian Buster blog post at first.













Install smokeping on centos 7