[Nut-upsdev] NUT Enhancements

Eric Wilde ewilde at bsmdevelopment.com
Fri Mar 21 15:52:28 UTC 2008


I am enclosing several modules from NUT 2.2.1 that I have enhanced to
provide additional features.  In a nutshell, here's what's included:

   Error notification for UPS overtemp.  Several of my UPS monitor
   temperature and I have found that serious overtemp readings are often
   a precursor to battery failure (sometimes spectacular).

   A shell script that can be used to send notifications to users via
   email and save them as messages in the UPS log.

   Parsing of and inclusion of selected log file messages in the UPS
   status display (e.g. UPS on battery).

   Graphing of UPS state (by reading the log file).

   Linking to the graph in the UPS status display.

I've included, in the attached zip file, the original source that I
compared against, a diff file of the changes, and the updated source.
All of my changes are marked with "//EW".  In addition, the upsplot.pl
module is a new module to graph UPS statistics, using the GD package
and the notify script sends/logs event notifications.

I have also included a couple of sample plots (one that is a combined
plot of all my UPS and one that is an individual plot).  If you'd
like to see how all of this fits together, the following URL is real
time:

   http://ewilde-webserv.zapto.org:8480/cgi-bin/upsstats.cgi

You may click on the links to see how the plots change and there may
be a UPS or two with log info as well.

If you'd like sample configuration files, let me know and I can send
them as well.

                                Eric Wilde 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUTUpdates.zip
Type: application/zip
Size: 68788 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080321/7734858e/attachment-0001.zip 


More information about the Nut-upsdev mailing list