I have some server which my team use for hosting internal applications for development purpose. I thinking of setting up some periodic checks but do now know how to go about it. Can advise on the following?
Preferably windows bat file or linux script
- How to write a script that will check the content of a webpage to verify if it is down.
- How to write a script that will check if the website is down by pinging it
- How to write a script that will check the diskspace of the server is running out of diskspace.
- How to write a script that will email back to system administrator if either of the above tasks are not fulfilled?