Re: Tripp Lite PowerAlert software

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/14/2017 05:14 PM, Rick Stevens wrote:
I just bought a Cyberpower UPS myself (they're doing a lot of
road work around me and the power's blipped several times) and I was
just going to start setting up nut to talk to it. While mine is not a
TrippLite, it does use a USB port for communications and it should be
similar.

I have two Cyberpower UPSs, one that runs the computers and one that is just monitored and runs telephone base stations. I've attached diffs that show what I did to the supplied nut configuration files in /etc/ups. The name "upsmon" is just an arbitrary name I chose for UPS control access. It is not a login name on the system.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.
--- hosts.conf.INST	2013-05-15 09:03:58.000000000 -0500
+++ hosts.conf	2015-01-03 14:18:55.831129132 -0600
@@ -27,3 +27,6 @@
 # MONITOR myups@localhost "Local UPS"
 # MONITOR su2200@10.64.1.1 "Finance department"
 # MONITOR matrix@xxxxxxxxxxxxxxxxxxxxxx "Sierra High School data room #1"
+
+MONITOR Cyber-1 "System Power"
+MONITOR Cyber-2 "Phones"
--- nut.conf.INST	2013-05-15 09:03:58.000000000 -0500
+++ nut.conf	2015-01-03 14:20:50.438977780 -0600
@@ -29,4 +29,4 @@
 #  This file is intended to be sourced by shell scripts.
 #  You MUST NOT use spaces around the equal sign!
 
-MODE=none
+MODE=netserver
--- ups.conf.INST	2013-05-15 09:03:58.000000000 -0500
+++ ups.conf	2015-01-03 14:22:40.805905489 -0600
@@ -102,3 +102,17 @@
 #
 # To find out if your driver supports any extra settings, start it with
 # the -h option and/or read the driver's documentation.
+
+[Cyber-1]
+	driver=usbhid-ups
+	port=auto
+	vendorid=0764
+	productid=0501
+	product=CRCA102.AF1
+
+[Cyber-2]
+	driver=usbhid-ups
+	port=auto
+	vendorid=0764
+	productid=0501
+	product=CP.1500D
--- upsd.conf.INST	2013-05-15 09:03:58.000000000 -0500
+++ upsd.conf	2015-01-03 14:25:51.479381637 -0600
@@ -28,7 +28,8 @@
 
 # =======================================================================
 # LISTEN <address> [<port>]
-# LISTEN 127.0.0.1 3493
+LISTEN 127.0.0.1 3493
+LISTEN omega-3g 3493
 # LISTEN ::1 3493
 #
 # This defaults to the localhost listening addresses and port 3493.
--- upsd.users.INST	2013-05-15 09:03:58.000000000 -0500
+++ upsd.users	2015-01-03 14:27:31.429548070 -0600
@@ -70,3 +70,10 @@
 # The matching MONITOR line in your upsmon.conf would look like this:
 #
 # MONITOR myups@localhost 1 upsmon pass master	(or slave)
+
+[upsmon]
+    password = xxxxxxxxxx
+    actions = SET
+    instcmds = beeper.disable beeper.enable beeper.mute \
+    	 test.battery.start.deep test.battery.start.quick test.battery.stop
+    upsmon master
--- upsmon.conf.INST	2013-05-15 09:03:58.000000000 -0500
+++ upsmon.conf	2016-08-06 14:27:26.116690252 -0500
@@ -82,6 +82,8 @@
 # MONITOR myups@bigserver 1 monmaster blah master
 # MONITOR su700@xxxxxxxxxxxxxxxxxx 1 upsmon secretpass slave
 # MONITOR myups@localhost 1 upsmon pass master	(or slave)
+MONITOR Cyber-1 1 upsmon sparky120 master
+MONITOR Cyber-2 0 upsmon sparky120 master
 
 # --------------------------------------------------------------------------
 # MINSUPPLIES <num>
--- upsset.conf.INST	2013-05-15 09:03:58.000000000 -0500
+++ upsset.conf	2015-01-25 10:43:47.735938611 -0600
@@ -32,5 +32,5 @@
 #
 
 ###
-### I_HAVE_SECURED_MY_CGI_DIRECTORY
+I_HAVE_SECURED_MY_CGI_DIRECTORY
 ###
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux