Vue lecture
Restart services or reboot server if load exceeds threshold with a Bash script
In a previous post, I discussed the Pushover app, which can send push notifications to admins if a server encounters issues. Today's post features a sample script that monitors a server and alerts the admin if any issues arise. Linux and its applications are incredibly reliable. However, a rogue script running into an infinite loop might deplete resources, disrupting services. In such cases, you can automate the restart of services with a Bash script, and if that fails, automatically reboot the server.
Pushover: Reliably send real-time push notifications to iPhone, Android, Mac, and (Windows)
Pushover is a versatile push notification service for iPhone, Android, Mac, and Windows (via browser plugin), providing real-time alerts from various sources like web applications, network monitoring systems, and IoT devices. It integrates with platforms like IFTTT and Zapier and supports custom scripts, making it useful for admins and developers.
Install and manage VM watch on Azure Virtual Machines
Microsoft announced the public preview of VM watch, a new in-VM service designed for Azure Virtual Machines (VMs) and Virtual Machine Scale Sets (VMSS). This service aims to enhance VM health monitoring by offering standardized, lightweight, and flexible in-VM health checks that connect seamlessly with Azure's monitoring and AIOps systems.