Coming soon also…
Category Archives: Groundwork Monitor
Temperature monitoring with GWCE
I’ll show you how you can monitor temperatures using groundwork monitor open source edition a one wire interface and some 1 wire temperature sensors.
Requirements:
- A 1-wire serial interface, I use The Link RJ45 version
- Groundwork open source monitor installed, I installed it on Ubuntu 6.06
- digitemp,
apt-get install digitemp should do the trick
I mainly followed this guide but there are a few modifications needed for gwmce.
When making the symlink you should use:
ln -s /usr/bin/digitemp_DS9097U /usr/local/bin/digitemp
The U version is the correct one for the link45
I added chmod 777 $STATEFILE to the end of the cron script so that nagios would be able to read it, this is a bit dirty and it would be better to change the owner to whoever nagios is running under I suppose.
The nagios plugin is here and this should be copied to /usr/local/groundwork/nagios/libexec
All that is left to do is to add a check_temperature command in groundwork monitor but I’ll leave that as an exercise for you.