Man page - snclient(1)
Packages contains this manual
Manual
SNCLIENT
NAMEDESCRIPTION
Usage:
Server commands:
Additional Commands:
Flags:
EXAMPLES
SEE ALSO
NAME
snclient - Agent that runs and provides system checks and metrics.
DESCRIPTION
SNClient is a generic monitoring agent available for multiple platforms. It aims to provide a basic set of fault monitoring and metrics while being easily extendible with own script and checks.
Usage:
snclient [global flags] [command] [flags]
Server commands:
|
daemon |
Start the agent demonized in background |
|||
|
server |
Start the agent |
Additional Commands:
completion
Generate the autocompletion script for the specified shell
|
config |
Run configuration test or dump config in use. |
|||
|
hash |
Hash password string |
|||
|
help |
Help about any command |
inventory
Gather inventory and print as json structure
|
test |
Start test mode or run given query |
|||
|
update |
Fetch and apply update |
Flags:
-h , --help
print help and exit
-V , --version
print version and exit
-c , --config stringArray
path to config file, supports wildcards like *.ini (default is ./snclient.ini) (multiple)
-q , --quiet
set loglevel to error
-v , --verbose count
increase loglevel, -v means debug, -vv means trace
--loglevel string
set loglevel to one of: off, error, info, debug, trace
--logformat string
override logformat, see https://pkg.go.dev/github.com/kdar/factorlog
--logfile string
Path to log file or stdout/stderr
--debug-profiler string
start pprof profiler on this port, ex. :6060
--cpuprofile string
write cpu profile to βfile
--memprofile string
write memory profile to βfile
EXAMPLES
* Start server
%> snclient server
* Start as daemon in background
%> snclient daemon
* Check for update in verbose mode
%> snclient update -v
Use "snclient [command] --help" for more information about a command.
SEE ALSO
The SNClient documentation is available in /usr/share/doc/snclient/README or online at https://omd.consol.de/snclient or https://github.com/ConSol-Monitoring/snclient