jhernanper
New Pleskian
- Server operating system version
- Debian 11.7
- Plesk version and microupdate number
- Plesk Obsidian 18.0.55
Hi everyone,
Is there a way we can create an automated task, so that when the CPU or Memory load are high, the server will reboot?
I am having high CPU peaks that make the server go down, due to PHP-FPM going crazy. I would love to monitor de PHP-FPM using 360 Monitoring but I couldn't make the PHP-FPM plugin work and opened a ticket.
So, in the meantime, being able to let the server reboot automatically when such peaks make it go down, would be awesome.
I tried to create a CRON task but there is no way to add a condition such as "when CPU usage is above x%".
Any ideas? Is there maybe a plugin for that? Or maybe with Zapier? Has anyone tried to create a script that would execute when a 360 Monitoring notification arrives by email?
Javier
Is there a way we can create an automated task, so that when the CPU or Memory load are high, the server will reboot?
I am having high CPU peaks that make the server go down, due to PHP-FPM going crazy. I would love to monitor de PHP-FPM using 360 Monitoring but I couldn't make the PHP-FPM plugin work and opened a ticket.
So, in the meantime, being able to let the server reboot automatically when such peaks make it go down, would be awesome.
I tried to create a CRON task but there is no way to add a condition such as "when CPU usage is above x%".
Any ideas? Is there maybe a plugin for that? Or maybe with Zapier? Has anyone tried to create a script that would execute when a 360 Monitoring notification arrives by email?
Javier