Than to monitor the sites myself?

Want outdoor analog services like ping-admin.ru, webopulsar.ru, pingdom.com
For now use webpulse, but last year it too many times safecopy and I did not know about the fallen website, although a couple of years before it worked perfectly.
Want to put an analogue to your server to control any risks from monitoring sites.
October 3rd 19 at 03:25
9 answers
October 3rd 19 at 03:27
if you want to send the alerts that nagios
to look at beautiful graphics — symon + syweb
October 3rd 19 at 03:29
The easiest monit. Check availability via icmp ping and http request.
October 3rd 19 at 03:31
newrelic.com
it is at least not from me and not open source - Bella.Witting commented on October 3rd 19 at 03:34
I just gave a working alternative to the fallen. - robert_Schiller commented on October 3rd 19 at 03:37
well, they are not fallen, it is only webpulse acting like Pingdom seems stable - Bella.Witting commented on October 3rd 19 at 03:40
October 3rd 19 at 03:33
I.e. you want your server to monitor the sites on the same server? Then you don't look in that direction, you need things like supervisord.org
I have many servers and many sites on different servers, I would like the same service, but only in my infrastrcuture. - Bella.Witting commented on October 3rd 19 at 03:36
October 3rd 19 at 03:35
Take zabbix is very good, but you have to understand.
October 3rd 19 at 03:37
Just found this: uptimerobot.com/
Yes services, that I do know a lot, the question of how to raise this themselves. - Bella.Witting commented on October 3rd 19 at 03:40
October 3rd 19 at 03:39
Put Nagios and bundle him ping-admin, for "Who monitors the monitor?"
Well, Yes, to buy a certain number of virtualos for distributed Nagios exceedingly expensive, gemorno and nafik need
October 3rd 19 at 03:41
I also at one time thought to that. I had to make a request to http server and get response time. And show schedule.

I decided to write myself:
responseTime.sh:
#!/bin/bash

url=$1
output=$2
date=/home/centos/statistics/`date +"%Y%m%d"`

if [! -d "$date"]; then
 mkdir $date
fi

curl -o /dev/null -w "%{time_total}\n" -s $url \
 | awk -v url=$url '{printf "%s %s %s\n",$0,strftime("%Y%m%d-%T"),url;}' \
 >> $date/$output


Here we pulled, and recorded in the file line of the form:
0.111 20131021-17:13:13 http://ya.ru

The result records in the file I passed to gnuplot using the script:
#drawplot.sh
#!/bin/bash

today='date +"%Y%m%d"'
server="~/statistics/"$today"/"$1

awk -v server="$server" -v today="$today" \
 '{gsub(/###server###/,server);gsub(/###server###/,server);gsub(/###today###/,today)};1' ~/statistics/plot.conf \ 
 | gnuplot


#plot.conf
set terminal png size 640,480
set xdata time
set timefmt "%Y%m%d-%H:%M:%S"
set output "###server###.png"
set xrange ["###today###-00:00:00":"###today###:-23:59:59"]
set format x "%H:%M"
set yrange [0:10]
set ytics 1
set grid

plot "###server###" using 2:1 smooth unique


After that there are new or updated .png picture with the schedule, it can be inserted in the page if necessary (this was a separate script :) ).

Run for the crown:
#crontab ex.
*/5 * * * * ~/statistics/responseTime.sh "http://ya.ru" yandex &> /dev/null && ~/statistics/drawplot.sh yandex &> /dev/null;


Made naturally on the knee with blue tape. You can also paste such as sending mail, if the time the curl will be larger than a certain threshold.
Yes, in bash I have 10 years as it is. - Bella.Witting commented on October 3rd 19 at 03:44
I want a web interface and convenience. - robert_Schiller commented on October 3rd 19 at 03:47
Above already advised zabbix, try. Too recommend. - Bella.Witting commented on October 3rd 19 at 03:50
October 3rd 19 at 03:43
In my opinion the easiest website monitoring: inspector-s.online

Find more questions by tags Other