Y
Y
Yaroslav Belash2019-06-03 18:35:54
linux
Yaroslav Belash, 2019-06-03 18:35:54

How can I implement device monitoring by ping?

It is necessary to implement monitoring of the status of devices by ping, there is no SNMP and there is no possibility to raise it. Linux OS, preferably a free solution. I looked towards Nagios, but I would like a simpler system.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
AUser0, 2019-06-03
@WaGe

monit - I recommend. Miniature, simple and convenient.

R
Ruslan Fedoseev, 2019-06-03
@martin74ua

zabbix,nagios,prometheus,monit... thousands of them

V
Victor Taran, 2019-06-03
@shambler81

the cloud service monit-it.ru has
a free tariff of
500r .

D
Dmitry Shitskov, 2019-06-03
@Zarom

Icinga

S
svaava, 2019-06-13
@svaava

Может так:
#!/bin/bash
#Тут целевой айпи
IP='192.168.0.15'
#утилитка fping
fping -c1 -t300 $IP 2>/dev/null 1>/dev/null
if [ "$?" = 0 ]
then
  exit
else
#Отправляем письмо с помощью msmtp на админа
  echo "Узел 192.168.0.15 не доступен" | msmtp -d [email protected]
fi

setting up msmtp on the internet is complete.
Pushing the script into cron

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question