wombat.ch

your Partner for Network Design and CMS

Message
  • Failed loading XML...
  • Failed loading XML... Opening and ending tag mismatch: link line 1 and head Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'raquo' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Opening and ending tag mismatch: link line 1 and html Premature end of data in tag meta line 1
  • Failed loading XML... Opening and ending tag mismatch: link line 1 and head Opening and ending tag mismatch: img line 1 and a Opening and ending tag mismatch: a line 1 and div Opening and ending tag mismatch: input line 1 and p Opening and ending tag mismatch: input line 1 and form Opening and ending tag mismatch: input line 1 and div Opening and ending tag mismatch: p line 1 and div Opening and ending tag mismatch: form line 1 and div Opening and ending tag mismatch: hr line 1 and div Specification mandates value for attribute disabled attributes construct error Couldn't find end of Start Tag option line 1 Opening and ending tag mismatch: select line 1 and option Entity 'agrave' not defined Entity 'ntilde' not defined Entity 'ccedil' not defined Entity 'nbsp' not defined Entity 'aring' not defined Entity 'ecirc' not defined Entity 'acirc' not defined Entity 'uuml' not defined Entity 'ccedil' not defined Opening and ending tag mismatch: div line 1 and select Opening and ending tag mismatch: hr line 1 and div Entity 'emsp' not defined Entity 'copy' not defined Opening and ending tag mismatch: br line 1 and p Opening and ending tag mismatch: br line 1 and div Opening and ending tag mismatch: p line 1 and div Opening and ending tag mismatch: div line 1 and body Opening and ending tag mismatch: hr line 1 and html Premature end of data in tag hr line 1

Install APC UPS Pro 900 and Monitor with Munin

 

my Setup
Verbinden des APC UPS Pro 900 mit dem Linux Server (Debian 7.5 wheezy)
APC UPS Pro 900 hat einen RJ45/Seriellen Port
Server auf ein USB Port

Check it mit

# lsusb
Bus 003 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply

 

 

dann noch mehr Infos

# lsusb -v -s003:002

Bus 003 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Device Descriptor:
  bDeviceClass            0 (Defined at Interface level)
  idVendor           0x051d American Power Conversion
  idProduct          0x0002 Uninterruptible Power Supply
  bcdDevice            0.90
  iManufacturer           1 American Power Conversion
  iProduct                2 Back-UPS RS 900G FW:879.L4 .I USB FW:L4

 

es kommen noch mehr Infos ... sind aber nicht relevant wir wissen das eine kommunikation stattfindet

# apt-get update
# apt-get upgrade
# apt-get install apcupsd




Dann muss die Datei apcupsd.conf angepasst werden

 

# vi /etc/apcupsd/apcupsd.conf

dabei sind die 3 Punkte wichtig:
UPSName deineUSVname
UPSCable usb
UPSTYPE usb

# vi /etc/default/apcupsd

anpassen von ISCONFIGURED von no auf yes wechseln

# /etc/init.d/apcupsd start

# apcaccess

APC      : 001,036,0898
DATE     : 2014-06-01 15:44:47 +0200
HOSTNAME : srv03
VERSION  : 3.14.10 (13 September 2011) debian
UPSNAME  : pro900
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2014-05-31 22:29:10 +0200
MODEL    : Back-UPS RS 900G
STATUS   : ONLINE
LINEV    : 238.0 Volts
LOADPCT  :   6.0 Percent Load Capacity
BCHARGE  : 100.0 Percent

und weitere Infos....

=================== ====

APC UPS Status mit Munin überwachen

Munin-node ist bereits installiert und läuft

cd /usr/share/munin/plugins/
sudo wget https://raw.githubusercontent.com/hirose31/munin-apcupsd/master/apcupsd_pct
sudo chmod 755 /usr/share/munin/plugins/apcupsd_pct

vi /usr/share/munin/plugins/




no you could be changeing the name of the UPS .....

 

sudo ln -s /usr/share/munin/plugins/apcupsd_pct /etc/munin/plugins/apcupsd_pct
sudo ln -s /usr/share/munin/plugins/apcupsd_pct /etc/munin/plugins/apcupsd_volt
sudo ln -s /usr/share/munin/plugins/apcupsd_pct /etc/munin/plugins/apcupsd_time
sudo ln -s /usr/share/munin/plugins/apcupsd_pct /etc/munin/plugins/apcupsd_pwr

 

 



cd /etc/munin/plugins/

./apcupsd_pct

./apcupsd_volt

./apcupsd_time

./apcupsd_pwr

 

---

:/etc/munin/plugins# ./apcupsd_time
timeleft.value 40.9

---


munin-node-configure


 

 

/etc/init.d/munin-node restart

 

 

 


more Information Links:
apcupsd - Debian Wiki
apcupsd - Community Help Wiki
Official website

 

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 1581 guests and no members online

We have 1578 guests, 3 bots and no members online


3 bots:
3 x BOT for JCE