pgexporter-cli − Command line utility for pgexporter
pgexporter−cli [ −c CONFIG_FILE ] [ COMMAND ]
pgexporter−cli is a command line utility for pgexporter.
−c,−−config CONFIG_FILE
Set the path to the pgexporter.conf file
−h,−−host HOST
Set the host name
−p,−−port PORT
Set the port number
−U,−−user USERNAME
Set the user name
−P,−−password PASSWORD
Set the password
−L,−−logfile FILE
Set the logfile
−v, −−verbose
Output text string of result
−V, −−version
Display version information
−?, −−help
Display help
|
ping |
Is pgexporter alive |
shutdown
Shutdown pgexporter
|
status |
Status of pgexporter |
status details
Detailed status of pgexporter
conf reload
Reload the configuration
conf [ls]
To print the configurations used
conf [get]
To obtain information about a runtime configuration value
conf [set]
To modify the runtime configuration value
clear prometheus
Clear the Prometheus statistics
pgexporter is maintained on GitHub at <https://github.com/pgexporter/pgexporter>
pgexporter is licensed under the 3−clause BSD License.
pgexporter.conf(5), pgexporter(1), pgexporter−admin(1)