Vue lecture

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.

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.

Source

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.

Source

❌