Situatie
If your workstation keeps running into the same errors (services crashing, high CPU, missing files), you can make it fix itself.
Solutie
-
Install a monitoring agent:
-
Windows → Zabbix Agent
-
Linux →
sudo apt install zabbix-agent
-
-
Find common problems in logs:
-
Windows: check Event Viewer →
Windows Logs → System/Application
-
Linux: run
journalctl -xe
-
-
Create scripts to fix them automatically:
-
Restarting the Print Spooler on Windows (PowerShell):
-
Restarting Network on Linux (Bash):
-
-
Configure monitoring tool to run the script when the problem appears.
-
Example (Zabbix action): if service fails → execute script.
-
-
Add alerts → configure email/Slack notifications if the script fails.
-
Test: stop a service manually, see if it restarts automatically.
-
Deploy to more machines after confirming it works.
Leave A Comment?