How do you implement the device monitoring via ping?

You must implement the monitoring of the devices via ping, SNMP and no raise is not possible. Linux, preferably free solution. Looked towards Nagios, but would like a more simple system.
March 23rd 20 at 18:56
5 answers
March 23rd 20 at 18:58
Solution
monit - recommend. Petite, simple and convenient.
Support, he even has a web muzzle is, if you want. - Christine_Gibs commented on March 23rd 20 at 19:01
March 23rd 20 at 19:00
zabbix,nagios,prometheus,monit... thousands of them
Yes, but mostly they focus on periodic polling of devices and collect statistics. I am interested in constantly monitoring the state of devices entirely by using ping with a minimal interval - Simeon.Dibbe commented on March 23rd 20 at 19:03
monitoring of device exclusively with ping and with minimum interval

Out of the box there is a template "Template ICMP Ping", only the option "update Interval" it will be necessary to correct: https://www.zabbix.com/documentation/current/ru/ma... - sally1 commented on March 23rd 20 at 19:06
and? what is stopping you? - Delphia37 commented on March 23rd 20 at 19:09
March 23rd 20 at 19:02
cloud service monit-it.ru
there is a free fare
pay 500r
There vozmozhnosti and ping and plugins using Nagios
and just bash the console, it is also possible for the status to run not only the message but the action on the other side.
March 23rd 20 at 19:04
Icinga
March 23rd 20 at 19:06
This:
#!/bin/bash
#Here the target IP
IP='192.168.0.15'
#fping utility
fping -c1 -t300 $IP 2>/dev/null 1>/dev/null
if [ "$?" = 0 ]
then
exit
else
#Send mail using msmtp to admin
 echo "Host 192.168.0.15 is not available" | msmtp -d admin@example.com
fi


configuring msmtp on the Internet fully.
Shove the script in cron

Find more questions by tags MonitoringPingLinux