mfscgiserv

NAME

mfscgiserv - start HTTP/CGI server for MooseFS monitoring

SYNOPSIS

mfscgiserv [-H BIND_HOST] [-P BIND_PORT] [-R ROOT_PATH] [-D DATA_PATH] [-t LOCKTIMEOUT] [-f [-v]] [ACTION]

mfscgiserv -h

DESCRIPTION

mfscgiserv is a very simple HTTP server capable of running CGI scripts for MooseFS monitoring.

OPTIONS

-h

print usage information and exit

-H BIND_HOST

local address to listen on (default: any)

-P BIND_PORT

port to listen on (default: 9425)

-R ROOT_PATH

local path to use as HTTP document root (default is CGIDIR set up at configure time)

-D DATA_PATH

working directory (default: /var/lib/mfs)

-f

run in foreground, don't daemonize

-v

log requests on stderr

-t LOCKTIMEOUT

how long to wait for lockfile (in seconds; default is 60 seconds)

ACTION

is one of start, stop, restart or test. Default action is restart. The test action will yield one of two responses: "mfscgiserv pid: PID" or "mfscgiserv is not running".

Copyright (C) 2024 Jakub Kruszona-Zawadzki, Saglabs SA

This file is part of MooseFS.

MooseFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (only).

MooseFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with MooseFS; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA or visit http://www.gnu.org/licenses/gpl-2.0.html