Changes

Jump to navigation Jump to search
679 bytes added ,  15:18, 21 February 2015
no edit summary
Line 157: Line 157:  
  /sbin/e-smith/expand-template /etc/ups/upsd.users
 
  /sbin/e-smith/expand-template /etc/ups/upsd.users
 
  /usr/sbin/upsd -c reload
 
  /usr/sbin/upsd -c reload
 +
 +
===UPS Variables and Commands===
 +
In some cases you may wish to modify variables on the actual UPS such as the Low Charge/LOWBATTERY setting. This requires the use of the '''upsrw''' command and UPS administrative privileges.
 +
 +
You may also want to control the UPS directly from the command line by issuing UPS commands. This requires use of the '''upscmd''' command and UPS administrative privileges.
 +
{{Warning box|In general, the UPS data should be left protected and changes to it or issuing of commands well thought out. If you wish to make data changes or issue commands then the administrative privileges can be enabled as below and should then be disabled.}}
    
====UPS Administrative Privileges====
 
====UPS Administrative Privileges====
   −
You should check your new password ( AdminPass ) to run UPSRW & UPSCMD. Of course, you could change your password for a easier one to use.
+
You should check your new password ( AdminPass ) to run '''upserw''' & '''upscmd'''. Of course, you could change your password for a easier one to use.
    
  config show nut
 
  config show nut
Line 183: Line 189:  
}}
 
}}
   −
==== UPS ACCESS ====
+
==== UPS access ====
    
The access of the ups is controled by database properties, three possible choice.
 
The access of the ups is controled by database properties, three possible choice.
Line 199: Line 205:  
  signal-event console-save
 
  signal-event console-save
   −
In localhost or public mode, access to your ups should be ( ups as ups name )
+
In localhost or public mode ( no remote access ), access to your ups is ( ups name is '''ups''' )
  ups@localhost, no remote access.
+
  ups@localhost
In private mode,  access to your ups should be ( ups as ups name )
+
 
 +
In private mode,  access to your ups is ( ups name is '''ups''' )
 
  ups@localhost or ups@192.168.1.1 ( ups master IP ) , slave ups get access with ups@192.168.1.1 ( ups master IP ).
 
  ups@localhost or ups@192.168.1.1 ( ups master IP ) , slave ups get access with ups@192.168.1.1 ( ups master IP ).
 
   
 
   
66

edits

Navigation menu