Scroll to navigation

httppower(8) System Manager's Manual httppower(8)

NAME

httppower - communicate with HTTP based power distribution units

SYNOPSIS

httppower [--url URL] [--header string] [--cookies] [--verbose]

DESCRIPTION

httppower is a helper program for powerman which enables it to communicate with HTTP based power distribution units. It is run interactively by the powerman daemon.

OPTIONS

Set the base URL.
Set extra HEADER to use.
Enable cookies in session.
Increase output verbosity.

INTERACTIVE COMMANDS

The following commands are accepted at the httppower> prompt:

Authenticate to the base URL with specified user and password, using ``basic'' HTTP authentication which sends the user and password over the network in plain text.
Set the base URL. Overrides the command line option.
Set extra HEADER to use. Do not specify data to clear. Overrides the command line option.
Enable or disable use of cookies. Overrides the command line option.
Send an HTTP GET to the base URL with the optional URL-suffix appended.
Send an HTTP POST to the base URL with the optional URL-suffix appended, and string data as argument. Typically, the data is key=value pairs (multiple of which can be concatenated with the &-symbol), but there can be exceptions.
Send an HTTP PUT to the base URL with the optional URL-suffix appended, and string data as argument.

FILES

/usr/sbin/httppower
/etc/powerman/powerman.conf

ORIGIN

PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters. This software is open source and distributed under the terms of the GNU GPL.

SEE ALSO

powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5).

http://github.com/chaos/powerman

1 December 2008 powerman-2.3.27