Write a Programe using Unix shell script that does Health check on n remote servers.
Budget: $30 – $70 USD
Write a program to run health check on n remote servers from a staging server every alternate week Monday and Friday at 12. Connection should be made to each remote server by retrieving server credentials stored in Vault. Email the health check result(running , zombie, orphan, daemon processes,cpu utilisation, background task details, task priority) in a xml file for each server from the staging server. The email body should have the details of the first 5 processes which consume more cpu. Also terminate all zombie and orphan processes which are running more than 32 hours from users other than root.