samba_statusd - part of the samba-exporter package
samba_statusd options
samba_statusd The smbstatus part samba-exporter package (see man samba_exporter for details).
The tool is usually stated as daemon by systemd as samba_statusd.service using the start_samba_statusd script.
It communicates with the samba_exporter.service using the named pipes /run/samba_exporter.request.pipe and /run/samba_exporter.response.pipe.
You might want to use one of the following optional parameters.
-help: 
Print the programs help message and exit
-log-file-path string:
Give the full file path for a log file. When parameter is not set (as by default), logs will be written to stdout and stderr (default " ")
-print-version:
With this flag the program will only print it's version and exit
-test-mode:
    Run the program in test mode.
    In this mode the program will always return the same test data. To work with samba_exporter both programs needs to run in test mode or not.
-verbose:
    With this flag the program will print verbose output
To change the behavior of the samba_statusd service update the /etc/default/samba_statusd according to your needs. 
You can add any option shown in the help output of samba_statusd to the ARGS variable.
You may not want to start the service with arguments that will exit before listening starts like -help or -print-version.
To stop, start or restart the service use systemctl, e. g.: 
sudo systemctl stop samba_statusd
To read the log output use journalctl, e. g. 
sudo journalctl -u samba_statusd
Remark: Due to the services dependencies samba_exporter service stops whenever samba_statusd stops. 
And samba_statusd always starts when samba_exporter is started if not already running.
/etc/default/samba_statusd The configuration file for the samba_exporter service/run/samba_exporter.request.pipe The pipe samba_exporter requests the status from samba_statusd/run/samba_exporter.response.pipe The pipe samba_statusd answers requests from samba_exporterSee https://github.com/imker25/samba_exporter/issues 
In case you found a new bug please also report as github issue on the projects page.
samba_statusd is Copyright (C) 2021 Tobias Zellner tobi@backfraki.de
samba_exporter(1), start_samba_statusd(1)