Instalacja UPSa Powercom pod linuxem
Niedawno w moje ręce trafił UPS PowerCom KIN-1000APRM w wersji rack. Po podłączeniu do serwera z linuxem na pokładzie konfiguracja sprowadza się do:

- ściągamy paczkę
wget http://www.powercom-usa.com/techsup/UPSMon/Linux2008/V0.92/upsmonv092.tar
- Rozpakowujemy do katalogu /etc
tar -xvf upsmon.tar -C /etc
- Odpalamy monitor
cd /etc/upsmon ./upsmon /dev/ttyS0 300 60
- Dodajemy do autostartu
echo "/etc/upsmon/upsmon /dev/ttyS0 300 60" >>/etc/rc.d/rc.local
- Testujemy upsa
./upsdisp
(Ctrl+C żeby opuścić monitor)
- W /etc/upsmon/PCMYYMM.log zapisują się logi
Notka od producenta:
upsmon PM1 PM2 PM3
1.upsmon has 3 parameters, PM1、PM2 and PM3
2.PM1: COMPORT => ttyS0 (COM1 of UNIX) or ttyS1 (COM2 of UNIX)
It must include the path when you appoint the parameter PM1 (Ex: /dev/ttyS0)
Please be noted that PM1 must be appointed.
3.PM2: It is for setting the breakout delay time default: 60 sec. If PM2 don’t be appointed, the breakout delay time will be 60 seconds.
4.PM3: It is for setting the UPS shutdown delay time default: 60 sec. If PM3 don’t be appointed, the UPS shutdown delay time will be 60 seconds.
./upsmon /dev/ttyS0 300 60
Note: The Caps is considered different with Low case in UNIX.