Hi,
RaspberryPi got a watchdog that can be used to monitor status of different things. I set mine up to look for changes in the weewx log file and if there is no change for 10 minutes it will reboot the system.
sudo modprobe bcm2708_wdog
bcm2708_wdog
sudo apt-get install watchdog chkconfig
file = /var/weewx/log/weewx.log
change = 600
watchdog-device = /dev/watchdog
watchdog-device = /dev/watchdog
sudo service watchdog start
I'm a big fan of monit (mmonit.com/monit) that does much of the same thing. It can restart the processes for you and notify you if config files change w/o your knowledge. I have it running most servers on my home servers, but I haven't set it up for weewx yet (waiting for my Vantage Pro to come back from a tune-up at Davis).
I'll probably get it up and running this weekend, if I do I'll post the config file here. It should be really straight-forward to setup.
---
Dan Rich <dr...@employees.org> | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC)
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.