Mini Shell
# vim: set ts=4 sw=4 expandtab syntax=python:
"""
ngxstats
Realtime Nginx stats aggregation tool
Copyright (c) 2019-2020 InMotion Hosting, Inc.
https://www.inmotionhosting.com/
@author J. Hipps <jacobh@inmotionhosting.com>
"""
# pylint: disable=invalid-name
__version__ = "1.1.0"
__date__ = "29 Oct 2024"
__api_version__ = 1
## Base configuration
gconf_defaults = {
'logfile': "/var/log/ngxstats.log",
'flush_interval': 5,
'queue_max_size': 65536,
'zmq_socket': "ipc:///var/run/nginx_log.sock",
'zmq_owner': "root",
'zmq_group': "nobody",
'zmq_chown': "0771",
'zmq_debug': False,
'pg_socket': "dbname=ngxstats",
'influx_use_telegraf_config': True,
'influx_database': None,
'influx_username': None,
'influx_password': None,
'influx_host': "localhost",
'influx_port': 8086,
'influx_ssl': False,
'influx_verify_ssl': False,
'influx_measurement': "ngxstats",
'disable_stats': False,
'stats_api_enable': True,
'stats_host': "127.0.0.1",
'stats_port': 7777,
'stats_endpoint': "http://localhost:7777/",
'stats_debug': False,
'stats_authcache': 60,
'stats_query_timeout': 60,
}
Zerion Mini Shell 1.0