APC

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(APC Switched Rack PDU)
(APC Switched Rack PDU)
 
Line 4: Line 4:
 
  apt-get install agocontrol-apc
 
  apt-get install agocontrol-apc
  
Configure it in '''/etc/opt/agocontrol/config.ini''':
+
Configure it in '''/etc/opt/agocontrol/conf.d/apc.conf''':
 
<pre>
 
<pre>
 
[apc]
 
[apc]

Latest revision as of 16:40, 29 October 2013

[edit] APC Switched Rack PDU

You can turn off and on power outlets now via ago control. It also checks the current power load of the device and reports it on change. The communication to the APC device is done with SNMP - so mind to enable it and configure the community's. Just install the package:

apt-get install agocontrol-apc

Configure it in /etc/opt/agocontrol/conf.d/apc.conf:

[apc]
host=127.0.0.1
port=161
voltage=220
community_readonly=public
community_readwrite=private

Hint: Mind to change your community's to something else - not public or private - or put APC Device in some protected management network

Enable and start the service:

systemctl enable agoapc.service
systemctl start agoapc.service
Personal tools