prtg-linux-service-monitor/README.md
2023-04-05 14:11:18 +02:00

604 B

prtg-linux-service-monitor

Ein kleines Bash Script um Linux Services mit dem PRTG Monitor zu überwachen

Script herunterladen

git clone https://git.media-techport.de/scriptos/prtg-linux-service-monitor.git

Cronjob setzen:

*/5 * * * * /home/scripts/default/prtg-service-mon.sh "service" "monitoring-server:5050" "guid" > /dev/null 2>&1

Folgenden Sensor in PRTG anlegen:

HTTP Push Data Advanced sensor

Quellen:

https://kb.paessler.com/en/topic/70771-how-can-i-monitor-and-automatically-restart-a-service-on-a-linux-host https://www.paessler.com/manuals/prtg/http_push_data_advanced_sensor