Check ping response from a list of servers using for loop in Unix/Linux ?
In this post, we will check the ping response from the list of servers using for loop in Unix/Linux. Lets see below script which will check the ping response from...
In this post, we will check the ping response from the list of servers using for loop in Unix/Linux. Lets see below script which will check the ping response from...
Lets start with python programming and see how to ping a list of servers from a hosts file. First lets start with program. I. Program import os hostsfile=open("hosts", "r") lines=hostsfile.readlines()...
Let us start creating the ansible yaml scripts or playbooks. The first playbook that we create involves checking if the host is alive or not i.e. ping status of all...