Sep 17

Gerenciando No-Breaks APC

Category: Debian


Primeiro devemos instalar o software de gerênciamento do No-Break APC e também o software para monitoramento Web.

apt-get install apcupsd apcupsd-cgi


Assim que a instalação for concluida devemos configurar o arquivo apcupsd.conf e habilitar a inicialização do daemon.

vim /etc/default/apcupsd


E altere para:

ISCONFIGURED=yes


Depois:

vim /etc/apcupsd/apcupsd.conf


E edite as seguintes linhas:

=> Para Cabo Serial

UPSNAME <hostname>

UPSCABLE smart

UPSTYPE smartups

DEVICE /dev/ttyS1

=> Para Cabo USB

UPSNAME <hostname>

UPSCABLE usb

UPSTYPE usb

DEVICE


Basta reiniciar o daemon.

/etc/init.d/apcupsd restart


Para configurar o monitoramento web, edite o arquivo hosts.conf.

vim /etc/apcupsd/hosts.conf


E adicione a seguinte configuração:

MONITOR 127.0.0.1 “<hostname>”


E realizar um acesso web para realizar um acompanhamento do No-Break.

http://localhost/cgi-bin/apcupsd/multimon.cgi


OBS.: Caso o servidor ou estação de trabalho tenho o X habilitado o gnome-power-manager reconhece o apcupsd.

Share this on Orkut!
Comments are off for this post

Comments are closed.