shell script for checking status of server

shell script for checking status of server

Edik Mkoyan

10 лет назад

27,321 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Quicksilver AZE
Quicksilver AZE - 13.01.2022 17:27

tnx. salam from Azerbaijan

Ответить
AFxGYUMRIII
AFxGYUMRIII - 05.11.2021 23:10

Good video Edik

Ответить
Default Profile
Default Profile - 19.10.2021 00:30

Nice 👍🏻

Ответить
M L Aditya Avadhani
M L Aditya Avadhani - 28.05.2018 19:46

Nice tutorial sir
I am having 1 question....
I want to check n number of server at a time (may use of for loop) .how to write the script for this ?
Example : I will store n number if IP's in notepad and I will call the text file in script as a input. (That is Ip1 ,Ip2.... Like that). And finally I want to get the output as

IP1 IS ALIVE
IP2 IS ALIVE
IP3 IS IS NOT reachable
IP4 IS ALIVE
..............N number of server

How to solve the problem...

Ответить
Technical Turbo
Technical Turbo - 27.01.2018 05:15

Good .. new video with good knowledge of configuration files .

Ответить
Govindaraj Muniyandi
Govindaraj Muniyandi - 05.10.2017 21:47

Thank u

Ответить
Sujan Karimilla
Sujan Karimilla - 06.09.2017 13:12

hi edik
i want to check the server is up and running..
if server is down and send an email automatically to mail adress

Ответить
Ysf Yak
Ysf Yak - 11.08.2017 16:59

Hi Edik,
let me explain plz, so your script you are running it is only for one server / Local server, and that script will check if the server is up (live) or down right ..???
so what i want is how to do it for a multiple list servers, can you run that script agains 10 servers and get the result echo to text file.
hopefully i explained ,thanks.

Ответить
Ysf Yak
Ysf Yak - 10.08.2017 13:50

good tutorial, how to pass the argument to a multiples server and get the report every day morning for example (crontab job), thanks again,...

Ответить
Sam Sharifian
Sam Sharifian - 27.06.2017 10:47

Thanks, good try. One small note: You can actually use intervals without having to run ping as super-user, while your intervals are greater than 0.2 seconds.
Յաջողութիւն: 😉

Ответить
Geo Prospector
Geo Prospector - 28.01.2015 01:00

thanks man - use "clear" command more

Ответить