Implement FUSE interface using pyfuse
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
# The address the agent binds to
|
||||
#address: 127.0.0.1
|
||||
# # The name for this agent instance (controles the FUSE directory name)
|
||||
#name: pgmon
|
||||
|
||||
# The port the agent listens on for requests
|
||||
#port: 5400
|
||||
# Mode to set on FUSE files (in octal)
|
||||
#fuse_mode: 0o400
|
||||
|
||||
# Owner to set on FUSE files
|
||||
#fuse_owner: zabbix
|
||||
fuse_owner: james
|
||||
|
||||
# Group to set on FUSE files
|
||||
#fuse_group: zabbix
|
||||
fuse_group: james
|
||||
|
||||
# User the agent runs as
|
||||
agent_user: james
|
||||
|
||||
# Groupthe agent runs as
|
||||
agent_group: james
|
||||
|
||||
# Min PostgreSQL connection pool size (per database)
|
||||
#min_pool_size: 0
|
||||
@@ -16,12 +30,17 @@
|
||||
# Log level for stderr logging (see https://docs.python.org/3/library/logging.html#logging-levels)
|
||||
# Possible values are: debug, info, warning, error, critical
|
||||
#log_level: 'error'
|
||||
log_level: 'info'
|
||||
|
||||
# Base directory for FUSE file system
|
||||
fuse_base: /tmp/pgmon
|
||||
|
||||
# Database user to connect as
|
||||
#dbuser: 'postgres'
|
||||
|
||||
# Database host
|
||||
#dbhost: '/var/run/postgresql'
|
||||
dbhost: 127.0.0.1
|
||||
|
||||
# Database port
|
||||
#dbport: 5432
|
||||
@@ -31,6 +50,7 @@
|
||||
|
||||
# SSL connection mode
|
||||
#ssl_mode: require
|
||||
ssl_mode: allow
|
||||
|
||||
# Timeout for getting a connection slot from a pool
|
||||
#pool_slot_timeout: 5
|
||||
|
||||
Reference in New Issue
Block a user