Check Server Status and Create Notification on Apple Mac
- Categories:
- notes
Inspired by my previous script, I decide to create simple shell script to check and monitor my server and run it on my Mac.
The script uses ping
command to check my server, if exit status is not equal to zero, it means my server is down and it will create notification on my Mac.
You can get my script above on Github.
Recent Posts
How to Defend Against Brute-Force and DoS Attacks with Fail2ban, Nginx limit_req, and iptables
In this tutorial, I’ll explain how to protect your public-facing Linux server and Nginx web server from common threats, including brute-force and DoS attacks.
Is Getting AWS Solutions Architect Associate Certification Worth It?
If you are a full-time Software Engineer, there's no strong need to pursue this certification.
DevSecOps
My Notes about DevSecOps
AWS Secrets Manager
Explanation about AWS Secrets Manager with example code.
Envelope Encryption
Envelope encryption is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key.