APCBuddy

Info

APCBuddy allows you to run a command when your APC UPS is running at battery for a defined amount of time. You can run any script, for example something that send you an email (using blat) or everything you want.
APCBuddy is born to add this feature, that is missing from APC PowerChute Personal Edition.

APCBuddy permette di eseguire un comando quando l’ups APC sta funzionando a batteria per un determinato periodo di tempo. E’ possibile eseguire qualsiasi script, ad esempio qualcosa che invii una notifica via mail (usando blat), o qualsiasi altro programma.
APCBuddy è stato creato per aggiungere questa funzionalità al software dell’APC “PowerChute Personal Edition“.

Utilizzo/Usage

First you need to configure the program using apcbuddy.ini. Main configuration parameters are:

polling, time between readings
alarm, seconds to wait before triggering the alarm
exec, command to execute
eventlog, path to eventlog.dat (inclusive of ‘eventlog.dat’).

Then you need to launch APCBuddy, it will loops until a blackout occurs.

Prima di tutto bisogna configurare correttamente apcbuddy.ini. Le voci principali di configurazione sono:

polling, tempo tra le letture
alarm, secondi prima di eseguire il programma
exec, il programma da eseguire
eventlog, percorso del file eventlog.dat (comprensivo di ‘eventlog.dat’). Solitamente è la cartella di Powerchute.
In seguito basterà lanciare APCBuddy, rimarràin loop finché non si verificherà un blackout.

Download

apcbuddy.zip - 661.61 kb

If this software helped you, please consider a donation!
This way I will be motivated to create additional software and keep the current ones up to date.
Thank you! ;-)

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.