SYNOPSIS
-
lavapdu-runner [--logfile=LOGFILE] [--loglevel=LOGLEVEL]
- lavapdu-runner [{-h | --help}]
DESCRIPTION
lavapdu-runner is a daemon which reads the queue created by lavapdu-listen and executes the commands on the specified PDU. The daemon logs in to the PDU, navigates the menu of the control interface, executes the requested command, logs out and moves on to the next instruction in the queue.
OPTIONS
--logfile=LOGFILE
- Changes the logfile used by lavapdu-runner. By default this would be /var/log/lavapdu-runner.log
--loglevel=LOGLEVEL
- Changes the logging level used by lavapdu-runner. By default this would be INFO. For more content, use DEBUG.
-h, --help
- Show summary of options.
FILES
/etc/lavapdu/lavapdu.conf
-
The system-wide configuration file to control the behaviour of
lavapdu-runner.
With version 0.0.4, lavapdu-runner no longer tries to guess the type of interface on the specified PDU as this proved to be unreliable.
lavapdu-runner requires that the driver for your PDU is specified in the /etc/lavapdu/lavapdu.conf file. Examples are given in the default file but you will need to edit this file to specify the PDU address (hostname or IP address) and the driver to use for that PDU.
Check the /var/log/lavapdu-runner.log logfile to ensure that the driver specified is working with your PDU and restart the lavapdu-runner daemon when changing the configuration file. sudo service lavapdu-runner restart
Note that /etc/lavapdu/lavapdu.conf is in JSON format, use http://www.jsonlint.com to verify the syntax.
Setting the logging level to DEBUG will help you see what the runner is doing - set the level back to INFO once the PDU is working.
COPYRIGHT
Copyright © 2014 Matthew Hart
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.