added apcups

This commit is contained in:
2017-11-15 09:37:56 +01:00
parent 6a45ee34e7
commit 352bc23e7f
6 changed files with 126 additions and 0 deletions

3
apcups/USV_dump_log Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
export UPS_LOG="$(/sbin/apcaccess status 172.27.0.31:$1)"
echo $UPS_LOG