Jump to content
Harbhajan

script to send ping report for servers by email

Recommended Posts

Hi All,
 
I have implemented the setup to reboot the server. I want to check server online status with ping proof by email. means after rebooted server, script will check all server with ping and send all servers detail in one email with ping result. i have created script that is trying to ping and send email with result. it is working on single server. I am not sure how i can create loop in script that all servers result can send by one email.
 
Is there any way that we can create single txt file on remote server ( automate server). then ping will run on server and script write this result to txt file then check another and write result same txt file . or any other way . 
 
Any idea is it possible ?
 
Thanks,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×