Works very well! I'm not sure about up-load, though. It seems like it is
expecting you to use 80% or 90% and below is a bad thing. For me, this will
not work. I try to minimize load and get battery runtime.
This was quite simple once you get NUT configured. The SNMP config
documentation was a bit lacking so I will share what mine looks like...
#etc/ups.conf
#this is for APC's snmp use called powernet
[apclocation01]#this can be anything you want, it's for your reference, but
must be unique
driver = snmp-ups
port = 192.168.1.10#changethis
community = public#changethis
snmp_version = v1
mibs = apcc
pollfreq = 60
Also I would suggest using a variable that each of the xymon_nut* ext
scripts can look at, it's a bit annoying to change them all, but here is how
I did it:
#the default destination directory is /usr/local/ups
find . -name "xymon_nut*sh" -exec sed -i
"s,\/usr\/bin\/upsc,\/usr\/local\/ups\/bin\/upsc," '{}' \;
#this is to specify where the NUT server is
find . -name "xymon_nut*sh" -exec sed -i "s,host.example.com,127.0.0.1,"
'{}' \;
#these are your unique names in the statements of ups.conf so it will
contact NUT with bin/upsc user-d1ddd78b738e@xymon.invalid and bin/upsc
user-1dff73ae8e7f@xymon.invalid
find . -name "xymon_nut*sh" -exec sed -i "s,apc1000,apc1\ apc2\ apc3," '{}'
\;
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Tue, Jul 13, 2010 at 7:47 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid>wrote:
I will definitely be trying this out in the next few days.
Thanks a bunch for sharing!
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Tue, Jul 13, 2010 at 7:02 PM, Bill Arlofski <user-0b8af203a56e@xymon.invalid>wrote:
I just added a new entry to the Xymonton monitors page.
The set of scripts is to monitor and graph AC input voltage, AC output
voltage, battery charge %, battery voltagee, and UPS Load % of UPSes
monitored
by the Network UPS tools (NUT) suite.
NUT is a great open-source UPS monitoring project who's primary goal as
stated
on their website is: "...to provide reliable monitoring of UPS and PDU
hardware and ensure safe shutdowns of the systems which are connected. We
attempt to monitor every kind of UPS and PDU, given sufficient interest."
NUT may be found at http://www.networkupstools.org/
The latest versions of the xymon_nut_*.sh scripts, as well as instruction
on
installing them may be found at http://www.revpol.com/xymon_nut_scripts
Hope these are useful to someone. :)
P.S. I am not affiliated with the NUT project in any way other than that
I
recommend, install and support it at my client's sites.
(A similar message may be cross-posted to the NUT users mailing list)
--
Bill Arlofski
Reverse Polarity, LLC