mfscgiserv - start HTTP/CGI server for MooseFS monitoring
Contents
Copyright
Copyright (C) 2025 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
MooseFS 4.57.5-1 February 2025 mfscgiserv(8)
Description
mfscgiserv is a very simple HTTP server capable of running CGI scripts for MooseFS monitoring.
Name
mfscgiserv - start HTTP/CGI server for MooseFS monitoring
Options
-h print usage information and exit
-HBIND_HOST
local address to listen on (default: any)
-PBIND_PORT
port to listen on (default: 9425)
-RROOT_PATH
local path to use as HTTP document root (default is CGIDIR set up at configure time)
-DDATA_PATH
working directory (default: /var/lib/mfs)
-f run in foreground, don't daemonize
-v log requests on stderr
-tLOCKTIMEOUT
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".
Synopsis
mfscgiserv [-HBIND_HOST] [-PBIND_PORT] [-RROOT_PATH] [-DDATA_PATH] [-tLOCKTIMEOUT] [-f [-v]]
[ACTION]
mfscgiserv-h