Hello everybody,
I'm setting up my new RasPi and decided to not use OpenMediaVault this time, since it's quite bloated and since DietPi offers alternatives for most of the functionality already.
Yet what I am really missing is some kind of monitoring software that informs me via email if something is wrong. Things like:
- A Cron job fails
- A file system is nearly full
- S.M.A.R.T. values of a drive are getting bad
- RasPi feeling sad or hungry
- other catastrophes
Can you recommend an appropriate software that does that? It should also:
- work well with DietPi
- be reasonably easy to setup
- consume only a reasonable amount of resources -> not super bloated
- be free of charge (ideally Open Source)
Thank you!
Proactive Monitoring software for DietPi
-
- Posts: 3
- Joined: Tue Sep 01, 2020 12:12 pm
Re: Proactive Monitoring software for DietPi
Hi,
many thanks for your message. Not sure if there is a tool who covers all your needs but you could have a look to the system managemanet tools that are offered by dietpi-software catalogue.
many thanks for your message. Not sure if there is a tool who covers all your needs but you could have a look to the system managemanet tools that are offered by dietpi-software catalogue.
- RPi Monitor: viewtopic.php?p=1503#p1503
- Webmin: viewtopic.php?p=3047#p3047
- Netdata: viewtopic.php?p=1611#p1611
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 3
- Joined: Tue Sep 01, 2020 12:12 pm
Re: Proactive Monitoring software for DietPi
Thank you for these resources, and of course for this awesome disto!
I will take a look at them in the next days and post an update which one I'd suggest.
I will take a look at them in the next days and post an update which one I'd suggest.
Re: Proactive Monitoring software for DietPi
Hello @Jack Sabbath,
Have you tried the different solutions? I'm not sure how far you will go, just for example: I installed Telegraf+InfluxDB+Grafana in a Docker env last days on my RPi4 to have a dashboard available. Next step is to define alarms in Grafana to notify me.
Have you tried the different solutions? I'm not sure how far you will go, just for example: I installed Telegraf+InfluxDB+Grafana in a Docker env last days on my RPi4 to have a dashboard available. Next step is to define alarms in Grafana to notify me.
Re: Proactive Monitoring software for DietPi
daemontools?
https://www.techrepublic.com/article/te ... emontools/
https://cr.yp.to/daemontools.html
Ah you want it to alert you if something is wrong
Doing some googling shows a bash script that will run every 5 min and check if the services are working and alert if down
https://unix.stackexchange.com/question ... ted-alerts
This one starts the service if it goes down
http://www.akamaras.com/linux/linux-scr ... s-stopped/
also looked at monit
https://mmonit.com/monit/documentation/ ... -OPERATION
I had to go into the /etc/monitrc config file and comment out the only allow localhost so I could see the webpage it generates (the howto below shows how to add a network to be allowed in)...not sure what it takes to configure the rest, but it's an option
Configuration howto for monit
https://www.digitalocean.com/community/ ... gure-monit
I was able to install it, and setup a "docker" monitor using this at the end of the monitrc file in /etc
To add programs you want to monitor...just edit the /etc/init.d/****** and all new blocks at the end
you will have to go thru the config file and setup your email stuff and whatnot...plenty of howto's out there
https://www.techrepublic.com/article/te ... emontools/
https://cr.yp.to/daemontools.html
Ah you want it to alert you if something is wrong
Doing some googling shows a bash script that will run every 5 min and check if the services are working and alert if down
https://unix.stackexchange.com/question ... ted-alerts
This one starts the service if it goes down
http://www.akamaras.com/linux/linux-scr ... s-stopped/
also looked at monit
https://mmonit.com/monit/documentation/ ... -OPERATION
I had to go into the /etc/monitrc config file and comment out the only allow localhost so I could see the webpage it generates (the howto below shows how to add a network to be allowed in)...not sure what it takes to configure the rest, but it's an option
Configuration howto for monit
https://www.digitalocean.com/community/ ... gure-monit
I was able to install it, and setup a "docker" monitor using this at the end of the monitrc file in /etc
Code: Select all
check process apache with pidfile /run/docker.pid
start program = "/etc/init.d/docker start" with timeout 60 seconds
stop program = "/etc/init.d/docker stop"
you will have to go thru the config file and setup your email stuff and whatnot...plenty of howto's out there
Re: Proactive Monitoring software for DietPi
I just installed monitorix
It has a webgui as well...builds graphs for all sorts of apps and I think you can configure it to alert
wish I could help more
It has a webgui as well...builds graphs for all sorts of apps and I think you can configure it to alert
wish I could help more