lavapdu-runner8
Daemon to control a pdu and implement instructions from the lavapdu-listen daemon.
Usage
lavapdu-runner [--logfile=LOGFILE]
[--loglevel=LOGLEVEL]
lavapdu-runner [{-h | --help}]
Overview
This manual page documents briefly the lavapdu-runner command.
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.
https://wiki.debian.org/PDUDaemon
Releases
3 releases since Debian 8 (Jessie); the text changed 1 time.