VitRom
Silver Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Customizing Event Handling When apcupsd detects anomalies from your UPS device, it will make some decisions that usually result in one or more calls to the script located in /etc/apcupsd/apccontrol. The apccontrol file is a shell script that acts on the first argument that apcupsd passes to it. These actions are set up by default to sane behavior for all situations apcupsd is likely to detect from the UPS. However, you can change the apccontrol behavior for every single action. To customize, so create a file with the same name as the action, which is passed as a command line argument. Put your script in the /etc/apcupsd directory. | Всего записей: 3098 | Зарегистр. 18-06-2006 | Отправлено: 01:45 20-02-2011 | Исправлено: VitRom, 01:52 20-02-2011 |
|