[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Controle onduleur



Hello,

Je test le power chute de mon onduleur infosec PSX700.

Le paquetage linux "en .exe -auto-zip- :-((" transforme en .deb ne fonctionne pas convenablement.
Proc à 100%, et obligation de kill.

J'ai teste avec les paquets contenu dans la woody.
J'ai reussit a lancer le daemon avec apcupsd.
Mais lors des tests rien.

Quelqu'un peut m'aider.


Voici le fichier de conf :

# ========= General configuration parameters ============
#
# UPSCABLE [ simple | smart |
#            940-00(20B,23A,24B,24C,24G,95A,95B,95C) |
#            940-15(24C) |
#            ether ]
# defines the type of cable that you have.
UPSCABLE simple

#
# UPSTYPE [ backups | sharebasic | netups |
#           backupspro | smartvsups |
#           newbackupspro | backupspropnp |
#           smartups | matrixups | sharesmart ]
# defines the type of UPS you have.
UPSTYPE backups

#
#
#DEVICE <string> /dev/<serial port>
# name of your serial port
DEVICE /dev/ttyS0

#
#LOCKFILE <path to lockfile>
# path for serial port lock file
LOCKFILE /var/lock

# ======== configuration parameters used during power failures ==========
# If during a power failure, the remaining battery percentage
# (as reported by the UPS) is below or equal to BATTERYLEVEL, 
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 5

# If during a power failure, the remaining runtime in minutes 
# (as calculated internally by the UPS) is below or equal to MINUTES,
# apcupsd, will initiate a system shutdown.
MINUTES 1

#  Note, if you have a Smart UPS, you will most likely want to disable
#    this timer by setting it to zero. That way, you UPS will continue
#    on batteries until either the % charge remaing drops to or below BATTERYLEVEL,
#    or the remaining battery runtime drops to or below MINUTES.  Of course,
#    if you are testing, setting this to 60 causes a quick system shutdown
#    if you pull the power plug.   
#  If you have an older dumb UPS, you will want to set this to less than
#    the time you know you can run on batteries.
TIMEOUT 0

#  Time in seconds between annoying users to signoff prior to
#  system shutdown. 0 disables.
ANNOY 30

# Initial delay after power failure before warning users to get
# off the system.
ANNOYDELAY 20

# The condition which determines when users are prevented from
# logging in during a power failure.
# NOLOGON <string> [ disable | timeout | percent | minutes | always ]
NOLOGON always

# If killdelay is set, apcupsd will continue running after a
# shutdown has been requested, and after the specified time in
# seconds attempt to kill the power.  This is for use on systems
# where apcupsd cannot regain control after a shutdown.
# KILLDELAY <seconds>  0 disables
KILLDELAY 0

# ==== Configuration statements the network information server =========

Dans la suite du ficheir de conf je n'ai effectue aucun changement.


@+.

-- 


  |V|   \/
  | |dwa/\ on Woody



Reply to: