[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-16 19:26:10
This commit is contained in:
parent
63bd86a06b
commit
4712964039
|
|
@ -8,3 +8,4 @@
|
|||
/etc/ufw
|
||||
/lib/systemd/system/nginx.service
|
||||
/etc/systemd/system/nginx.service.d/override.conf
|
||||
/etc/zabbix
|
||||
|
|
|
|||
|
|
@ -0,0 +1,564 @@
|
|||
# This is a configuration file for Zabbix agent 2 (Unix)
|
||||
# To get more information about Zabbix, visit https://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
### Option: PidFile
|
||||
# Name of PID file.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# PidFile=/tmp/zabbix_agent2.pid
|
||||
|
||||
PidFile=/run/zabbix/zabbix_agent2.pid
|
||||
|
||||
### Option: LogType
|
||||
# Specifies where log messages are written to:
|
||||
# system - syslog
|
||||
# file - file specified with LogFile parameter
|
||||
# console - standard output
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogType=file
|
||||
|
||||
### Option: LogFile
|
||||
# Log file name for LogType 'file' parameter.
|
||||
#
|
||||
# Mandatory: yes, if LogType is set to file, otherwise no
|
||||
# Default:
|
||||
# LogFile=/tmp/zabbix_agent2.log
|
||||
|
||||
LogFile=/var/log/zabbix/zabbix_agent2.log
|
||||
|
||||
### Option: LogFileSize
|
||||
# Maximum size of log file in MB.
|
||||
# 0 - disable automatic log rotation.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1024
|
||||
# Default:
|
||||
# LogFileSize=1
|
||||
|
||||
LogFileSize=0
|
||||
|
||||
### Option: DebugLevel
|
||||
# Specifies debug level:
|
||||
# 0 - basic information about starting and stopping of Zabbix processes
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings
|
||||
# 4 - for debugging (produces lots of information)
|
||||
# 5 - extended debugging (produces even more information)
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-5
|
||||
# Default:
|
||||
# DebugLevel=3
|
||||
|
||||
### Option: SourceIP
|
||||
# Source IP address for outgoing connections.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SourceIP=
|
||||
|
||||
##### Passive checks related
|
||||
|
||||
### Option: Server
|
||||
# List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.
|
||||
# Incoming connections will be accepted only from the hosts listed here.
|
||||
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
|
||||
# and '::/0' will allow any IPv4 or IPv6 address.
|
||||
# '0.0.0.0/0' can be used to allow any IPv4 address.
|
||||
# Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
|
||||
#
|
||||
# If left empty or not set will disable passive checks, and Zabbix agent 2 will not listen on the ListenPort.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Server=
|
||||
|
||||
Server=172.16.254.11
|
||||
|
||||
### Option: ListenPort
|
||||
# Agent will listen on this port for connections from the server.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# ListenPort=10050
|
||||
|
||||
### Option: ListenIP
|
||||
# List of comma delimited IP addresses that the agent should listen on.
|
||||
# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ListenIP=0.0.0.0
|
||||
|
||||
### Option: StatusPort
|
||||
# Agent will listen on this port for HTTP status requests.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# StatusPort=
|
||||
|
||||
##### Active checks related
|
||||
|
||||
### Option: ServerActive
|
||||
# Zabbix server/proxy address or cluster configuration to get active checks from.
|
||||
# Server/proxy address is IP address or DNS name and optional port separated by colon.
|
||||
# Cluster configuration is one or more server addresses separated by semicolon.
|
||||
# Multiple Zabbix servers/clusters and Zabbix proxies can be specified, separated by comma.
|
||||
# More than one Zabbix proxy should not be specified from each Zabbix server/cluster.
|
||||
# If Zabbix proxy is specified then Zabbix server/cluster for that proxy should not be specified.
|
||||
# Multiple comma-delimited addresses can be provided to use several independent Zabbix servers in parallel. Spaces are allowed.
|
||||
# If port is not specified, default port is used.
|
||||
# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
|
||||
# If port is not specified, square brackets for IPv6 addresses are optional.
|
||||
# If this parameter is not specified, active checks are disabled.
|
||||
# Example for Zabbix proxy:
|
||||
# ServerActive=127.0.0.1:10051
|
||||
# Example for multiple servers:
|
||||
# ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
|
||||
# Example for high availability:
|
||||
# ServerActive=zabbix.cluster.node1;zabbix.cluster.node2:20051;zabbix.cluster.node3
|
||||
# Example for high availability with two clusters and one server:
|
||||
# ServerActive=zabbix.cluster.node1;zabbix.cluster.node2:20051,zabbix.cluster2.node1;zabbix.cluster2.node2,zabbix.domain
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ServerActive=
|
||||
|
||||
ServerActive=172.16.254.11
|
||||
|
||||
### Option: Hostname
|
||||
# List of comma delimited unique, case sensitive hostnames.
|
||||
# Required for active checks and must match hostnames as configured on the server.
|
||||
# Value is acquired from HostnameItem if undefined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Hostname=
|
||||
|
||||
Hostname=srvproxy001
|
||||
|
||||
### Option: HostnameItem
|
||||
# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
|
||||
# Does not support UserParameters or aliases.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostnameItem=system.hostname
|
||||
|
||||
### Option: HostMetadata
|
||||
# Optional parameter that defines host metadata.
|
||||
# Host metadata is used at host auto-registration process.
|
||||
# An agent will issue an error and not start if the value is over limit of 2034 bytes.
|
||||
# If not defined, value will be acquired from HostMetadataItem.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-2034 bytes
|
||||
# Default:
|
||||
# HostMetadata=
|
||||
|
||||
### Option: HostMetadataItem
|
||||
# Optional parameter that defines an item used for getting host metadata.
|
||||
# Host metadata is used at host auto-registration process.
|
||||
# During an auto-registration request an agent will log a warning message if
|
||||
# the value returned by specified item is over limit of 65535 characters.
|
||||
# This option is only used when HostMetadata is not defined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostMetadataItem=
|
||||
|
||||
### Option: HostInterface
|
||||
# Optional parameter that defines host interface.
|
||||
# Host interface is used at host auto-registration process.
|
||||
# An agent will issue an error and not start if the value is over limit of 255 characters.
|
||||
# If not defined, value will be acquired from HostInterfaceItem.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-255 characters
|
||||
# Default:
|
||||
# HostInterface=
|
||||
|
||||
### Option: HostInterfaceItem
|
||||
# Optional parameter that defines an item used for getting host interface.
|
||||
# Host interface is used at host auto-registration process.
|
||||
# During an auto-registration request an agent will log a warning message if
|
||||
# the value returned by specified item is over limit of 255 characters.
|
||||
# This option is only used when HostInterface is not defined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostInterfaceItem=
|
||||
|
||||
### Option: RefreshActiveChecks
|
||||
# How often list of active checks is refreshed, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-86400
|
||||
# Default:
|
||||
# RefreshActiveChecks=5
|
||||
|
||||
### Option: BufferSend
|
||||
# Do not keep data longer than N seconds in buffer.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# BufferSend=5
|
||||
|
||||
### Option: BufferSize
|
||||
# Maximum number of values in a memory buffer. The agent will send
|
||||
# all collected data to Zabbix Server or Proxy if the buffer is full.
|
||||
# Option is not valid if EnablePersistentBuffer=1
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 2-65535
|
||||
# Default:
|
||||
# BufferSize=1000
|
||||
|
||||
### Option: EnablePersistentBuffer
|
||||
# Enable usage of local persistent storage for active items.
|
||||
# 0 - disabled, in-memory buffer is used (default); 1 - use persistent buffer
|
||||
# Mandatory: no
|
||||
# Range: 0-1
|
||||
# Default:
|
||||
# EnablePersistentBuffer=0
|
||||
|
||||
### Option: PersistentBufferPeriod
|
||||
# Zabbix Agent2 will keep data for this time period in case of no
|
||||
# connectivity with Zabbix server or proxy. Older data will be lost. Log data will be preserved.
|
||||
# Option is valid if EnablePersistentBuffer=1
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1m-365d
|
||||
# Default:
|
||||
# PersistentBufferPeriod=1h
|
||||
|
||||
### Option: PersistentBufferFile
|
||||
# Full filename. Zabbix Agent2 will keep SQLite database in this file.
|
||||
# Option is valid if EnablePersistentBuffer=1
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# PersistentBufferFile=
|
||||
|
||||
### Option: HeartbeatFrequency
|
||||
# Frequency of heartbeat messages in seconds.
|
||||
# Used for monitoring availability of active checks.
|
||||
# 0 - heartbeat messages disabled.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-3600
|
||||
# Default: 60
|
||||
# HeartbeatFrequency=
|
||||
|
||||
############ ADVANCED PARAMETERS #################
|
||||
|
||||
### Option: Alias
|
||||
# Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
|
||||
# Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
|
||||
# Different Alias keys may reference the same item key.
|
||||
# For example, to retrieve the ID of user 'zabbix':
|
||||
# Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]
|
||||
# Now shorthand key zabbix.userid may be used to retrieve data.
|
||||
# Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Default:
|
||||
|
||||
### Option: Timeout
|
||||
# Specifies how long to wait (in seconds) for establishing connection and exchanging data with Zabbix proxy or server.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Timeout=3
|
||||
|
||||
### Option:PluginTimeout
|
||||
# Timeout for connections with external plugins.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default: <Global timeout>
|
||||
# PluginTimeout=
|
||||
|
||||
### Option:PluginSocket
|
||||
# Path to unix socket for external plugin communications.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:/tmp/agent.plugin.sock
|
||||
# PluginSocket=
|
||||
|
||||
PluginSocket=/run/zabbix/agent.plugin.sock
|
||||
|
||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||
|
||||
### Option: UnsafeUserParameters
|
||||
# Allow all characters to be passed in arguments to user-defined parameters.
|
||||
# The following characters are not allowed:
|
||||
# \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
|
||||
# Additionally, newline characters are not allowed.
|
||||
# 0 - do not allow
|
||||
# 1 - allow
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1
|
||||
# Default:
|
||||
UnsafeUserParameters=1
|
||||
|
||||
### Option: UserParameter
|
||||
# User-defined parameter to monitor. There can be several user-defined parameters.
|
||||
# Format: UserParameter=<key>,<shell command>
|
||||
# See 'zabbix_agentd' directory for examples.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# UserParameter=
|
||||
|
||||
### Option: UserParameterDir
|
||||
# Directory to execute UserParameter commands from. Only one entry is allowed.
|
||||
# When executing UserParameter commands the agent will change the working directory to the one
|
||||
# specified in the UserParameterDir option.
|
||||
# This way UserParameter commands can be specified using the relative ./ prefix.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# UserParameterDir=
|
||||
|
||||
### Option: ControlSocket
|
||||
# The control socket, used to send runtime commands with '-R' option.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ControlSocket=
|
||||
|
||||
ControlSocket=/run/zabbix/agent.sock
|
||||
|
||||
####### TLS-RELATED PARAMETERS #######
|
||||
|
||||
### Option: TLSConnect
|
||||
# How the agent should connect to server or proxy. Used for active checks.
|
||||
# Only one value can be specified:
|
||||
# unencrypted - connect without encryption
|
||||
# psk - connect using TLS and a pre-shared key
|
||||
# cert - connect using TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSConnect=unencrypted
|
||||
|
||||
### Option: TLSAccept
|
||||
# What incoming connections to accept.
|
||||
# Multiple values can be specified, separated by comma:
|
||||
# unencrypted - accept connections without encryption
|
||||
# psk - accept connections secured with TLS and a pre-shared key
|
||||
# cert - accept connections secured with TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSAccept=unencrypted
|
||||
|
||||
### Option: TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCAFile=
|
||||
|
||||
### Option: TLSCRLFile
|
||||
# Full pathname of a file containing revoked certificates.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCRLFile=
|
||||
|
||||
### Option: TLSServerCertIssuer
|
||||
# Allowed server certificate issuer.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSServerCertIssuer=
|
||||
|
||||
### Option: TLSServerCertSubject
|
||||
# Allowed server certificate subject.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSServerCertSubject=
|
||||
|
||||
### Option: TLSCertFile
|
||||
# Full pathname of a file containing the agent certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCertFile=
|
||||
|
||||
### Option: TLSKeyFile
|
||||
# Full pathname of a file containing the agent private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSKeyFile=
|
||||
|
||||
### Option: TLSPSKIdentity
|
||||
# Unique, case sensitive string used to identify the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKIdentity=
|
||||
|
||||
### Option: TLSPSKFile
|
||||
# Full pathname of a file containing the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKFile=
|
||||
|
||||
####### PLUGIN-SPECIFIC PARAMETERS #######
|
||||
|
||||
### Option: Plugins
|
||||
# A plugin can have one or more plugin specific configuration parameters in format:
|
||||
# Plugins.<PluginName>.<Parameter1>=<value1>
|
||||
# Plugins.<PluginName>.<Parameter2>=<value2>
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Default:
|
||||
|
||||
### Option: Plugins.Log.MaxLinesPerSecond
|
||||
# Maximum number of new lines the agent will send per second to Zabbix Server
|
||||
# or Proxy processing 'log' and 'logrt' active checks.
|
||||
# The provided value will be overridden by the parameter 'maxlines',
|
||||
# provided in 'log' or 'logrt' item keys.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-1000
|
||||
# Default:
|
||||
# Plugins.Log.MaxLinesPerSecond=20
|
||||
|
||||
### Option: AllowKey
|
||||
# Allow execution of item keys matching pattern.
|
||||
# Multiple keys matching rules may be defined in combination with DenyKey.
|
||||
# Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments.
|
||||
# Parameters are processed one by one according their appearance order.
|
||||
# If no AllowKey or DenyKey rules defined, all keys are allowed.
|
||||
#
|
||||
# Mandatory: no
|
||||
|
||||
### Option: DenyKey
|
||||
# Deny execution of items keys matching pattern.
|
||||
# Multiple keys matching rules may be defined in combination with AllowKey.
|
||||
# Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments.
|
||||
# Parameters are processed one by one according their appearance order.
|
||||
# If no AllowKey or DenyKey rules defined, all keys are allowed.
|
||||
# Unless another system.run[*] rule is specified DenyKey=system.run[*] is added by default.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DenyKey=system.run[*]
|
||||
|
||||
### Option: Plugins.SystemRun.LogRemoteCommands
|
||||
# Enable logging of executed shell commands as warnings.
|
||||
# 0 - disabled
|
||||
# 1 - enabled
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.SystemRun.LogRemoteCommands=0
|
||||
|
||||
### Option: ForceActiveChecksOnStart
|
||||
# Perform active checks immediately after restart for first received configuration.
|
||||
# Also available as per plugin configuration, example: Plugins.Uptime.System.ForceActiveChecksOnStart=1
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1
|
||||
# Default:
|
||||
ForceActiveChecksOnStart=1
|
||||
|
||||
# Include configuration files for plugins
|
||||
Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf
|
||||
|
||||
####### For advanced users - TLS ciphersuite selection criteria #######
|
||||
|
||||
### Option: TLSCipherCert13
|
||||
# Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
|
||||
# Override the default ciphersuite selection criteria for certificate-based encryption.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCipherCert13=
|
||||
|
||||
### Option: TLSCipherCert
|
||||
# OpenSSL (TLS 1.2) cipher string.
|
||||
# Override the default ciphersuite selection criteria for certificate-based encryption.
|
||||
# Example:
|
||||
# EECDH+aRSA+AES128:RSA+aRSA+AES128
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCipherCert=
|
||||
|
||||
### Option: TLSCipherPSK13
|
||||
# Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
|
||||
# Override the default ciphersuite selection criteria for PSK-based encryption.
|
||||
# Example:
|
||||
# TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCipherPSK13=
|
||||
|
||||
### Option: TLSCipherPSK
|
||||
# OpenSSL (TLS 1.2) cipher string.
|
||||
# Override the default ciphersuite selection criteria for PSK-based encryption.
|
||||
# Example:
|
||||
# kECDHEPSK+AES128:kPSK+AES128
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCipherPSK=
|
||||
|
||||
### Option: TLSCipherAll13
|
||||
# Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
|
||||
# Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
|
||||
# Example:
|
||||
# TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCipherAll13=
|
||||
|
||||
### Option: TLSCipherAll
|
||||
# OpenSSL (TLS 1.2) cipher string.
|
||||
# Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
|
||||
# Example:
|
||||
# EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128:kPSK+AES128
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCipherAll=
|
||||
|
||||
####### Additional configuration files #######
|
||||
|
||||
### Option: Include
|
||||
# You may include individual files or all files in a directory in the configuration file.
|
||||
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Include=
|
||||
|
||||
Include=/etc/zabbix/zabbix_agent2.d/*.conf
|
||||
|
||||
# Include=/usr/local/etc/zabbix_agent2.userparams.conf
|
||||
# Include=/usr/local/etc/zabbix_agent2.conf.d/
|
||||
# Include=/usr/local/etc/zabbix_agent2.conf.d/*.conf
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
UserParameter=fail2ban.status[*],sudo /usr/bin/fail2ban-client status '$1' | grep 'Currently banned:' | grep -E -o '[0-9]+'
|
||||
UserParameter=fail2ban.discovery,sudo /usr/bin/fail2ban-client status | grep 'Jail list:' | sed -e 's/^.*:\W\+//' -e 's/\(\(\w\|-\)\+\)/{"{#JAIL}":"\1"}/g' -e 's/.*/{"data":[\0]}/'
|
||||
UserParameter=fail2ban.banned.ips[*],sudo fail2ban-client status $1 | grep 'Banned IP list' | sed 's/.*Banned IP list:\s*//'
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
### Option: Plugins.Ceph.InsecureSkipVerify
|
||||
# InsecureSkipVerify controls whether an HTTP client verifies the server's certificate chain and host name.
|
||||
# If InsecureSkipVerify is true, TLS accepts any certificate presented by the server and any host name
|
||||
# in that certificate. In this mode, TLS is susceptible to man-in-the-middle attacks.
|
||||
# This should be used only for testing.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: false | true
|
||||
# Default:
|
||||
# Plugins.Ceph.InsecureSkipVerify=false
|
||||
|
||||
### Option: Plugins.Ceph.KeepAlive
|
||||
# The amount of time a connection can remain idle before it is closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.Ceph.KeepAlive=300
|
||||
|
||||
### Option: Plugins.Ceph.Timeout
|
||||
# The maximum amount of time in seconds to wait for a request to be done.
|
||||
# The timeout includes connection time, any redirects, and reading the response body.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Ceph.Timeout=<Global timeout>
|
||||
|
||||
### Option: Plugins.Ceph.Sessions.*.ApiKey
|
||||
# ApiKey to be used for connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Ceph.Sessions.*.ApiKey=
|
||||
|
||||
### Option: Plugins.Ceph.Sessions.*.User
|
||||
# Username to be used for connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Ceph.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.Ceph.Sessions.*.Uri
|
||||
# Uri to connect. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "https".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Ceph.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.Ceph.Default.ApiKey
|
||||
# ApiKey to be used for connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Ceph.Default.ApiKey=
|
||||
|
||||
### Option: Plugins.Ceph.Default.User
|
||||
# Username to be used for connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Ceph.Default.User=
|
||||
|
||||
### Option: Plugins.Ceph.Default.Uri
|
||||
# Uri to connect. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "https".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Ceph.Default.Uri=
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
### Option: Plugins.Docker.Endpoint
|
||||
# Docker API endpoint.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default: unix:///var/run/docker.sock
|
||||
# Plugins.Docker.Endpoint=unix:///var/run/docker.sock
|
||||
|
||||
### Option: Plugins.Docker.Timeout
|
||||
# The maximum time (in seconds) for waiting when a request has to be done.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Docker.Timeout=<Global timeout>
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
### Option: Plugins.Memcached.Timeout
|
||||
# The maximum time (in seconds) for waiting when a request has to be done.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Memcached.Timeout=<Global timeout>
|
||||
|
||||
### Option: Plugins.Memcached.KeepAlive
|
||||
# Time in seconds for waiting before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.Memcached.KeepAlive=300
|
||||
|
||||
### Option: Plugins.Memcached.Sessions.*.Uri
|
||||
# Uri to connect. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# Supported schemas: "tcp" and "unix".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Memcached.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.Memcached.Sessions.*.User
|
||||
# Username to send to protected Memcached server. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Memcached.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.Memcached.Sessions.*.Password
|
||||
# Password to send to protected Memcached server. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Memcached.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.Memcached.Default.Uri
|
||||
# Uri to connect. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# Supported schemas: "tcp" and "unix".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Memcached.Default.Uri=
|
||||
|
||||
### Option: Plugins.Memcached.Default.User
|
||||
# Username to send to protected Memcached server. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Memcached.Default.User=
|
||||
|
||||
### Option: Plugins.Memcached.Default.Password
|
||||
# Password to send to protected Memcached server. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Memcached.Default.Password=
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
### Option: Plugins.Modbus.Timeout
|
||||
# The maximum time (in seconds) for connections.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default: global timeout
|
||||
|
||||
### Option: Plugins.Modbus.Sessions.*.Endpoint
|
||||
# Endpoint is a connection string consisting of a protocol scheme, a host address and a port or seral port name and attributes.
|
||||
#
|
||||
# Mandatory: no
|
||||
|
||||
### Option: Plugins.Modbus.Sessions.*.SlaveID
|
||||
# Slave ID of modbus devices.
|
||||
#
|
||||
# Mandatory: no
|
||||
|
||||
### Option: Plugins.Modbus.Sessions.*.Timeout
|
||||
# The maximum time (in seconds) for connections.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default: plugin modbus timeout
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
### Option:Plugins.MongoDB.System.Path
|
||||
# Path to external plugin executable.
|
||||
#
|
||||
# Mandatory: yes
|
||||
# Default:
|
||||
# Plugins.MongoDB.System.Path=
|
||||
|
||||
Plugins.MongoDB.System.Path=/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-mongodb
|
||||
|
||||
### Option: Plugins.MongoDB.Timeout
|
||||
# Amount of time to wait for a server to respond when first connecting and on
|
||||
# follow up operations in the session.
|
||||
# Global item-type timeout (or individual item timeout) will override this value if it is greater.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.MongoDB.Timeout=<Global timeout from Zabbix agent 2 configuration file>
|
||||
|
||||
### Option: Plugins.MongoDB.KeepAlive
|
||||
# Time in seconds for waiting before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.MongoDB.KeepAlive=300
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.Uri
|
||||
# Uri to connect. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "tcp".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.User
|
||||
# Username to send to protected MongoDB server. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.Password
|
||||
# Password to send to protected MongoDB server. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.TLSConnect
|
||||
#Encryption type for MongoDB connection. "*" should be replaced with a session name.
|
||||
# tls connection required - required
|
||||
# verifies certificates - verify_ca
|
||||
# verify certificates and ip - verify_full
|
||||
## Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.TLSConnect=
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.TLSCAFile
|
||||
# Full path-name of a file containing the top-level CA(s) certificates for MongoDB
|
||||
# peer certificate verification.
|
||||
## Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.TLSCAFile=
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.TLSCertFile
|
||||
# Full path-name of a file containing the MongoDB certificate or certificate chain.
|
||||
## Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.TLSCertFile=
|
||||
|
||||
### Option: Plugins.MongoDB.Sessions.*.TLSKeyFile
|
||||
# Full path-name of a file containing the MongoDB private key.
|
||||
## Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Sessions.*.TLSKeyFile=
|
||||
|
||||
### Option: Plugins.MongoDB.Default.Uri
|
||||
# Uri to connect. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "tcp".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.MongoDB.Default.Uri=
|
||||
|
||||
### Option: Plugins.MongoDB.Default.User
|
||||
# Username to send to protected MongoDB server. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Default.User=
|
||||
|
||||
### Option: Plugins.MongoDB.Default.Password
|
||||
# Password to send to protected MongoDB server. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MongoDB.Default.Password=
|
||||
|
|
@ -0,0 +1,112 @@
|
|||
### Option: Plugins.MQTT.Timeout
|
||||
# The maximum time (in seconds) for connections, disconnections and subscribtions.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default: global timeout
|
||||
# Plugins.MQTT.Timeout=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.Url
|
||||
# Broker connection string. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the URL format.
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.Url=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.Topic
|
||||
# Topic to subscribe. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the URL format.
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.Topic=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.User
|
||||
# Username to be used for MQTT authentication. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.Password
|
||||
# Password to be used for MQTT authentication. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for MQTT
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.TLSCAFile=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.TLSCertFile
|
||||
# Full pathname of a file containing the MQTT certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.TLSCertFile=
|
||||
|
||||
### Option: Plugins.MQTT.Sessions.*.TLSKeyFile
|
||||
# Full pathname of a file containing the mysql private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Sessions.*.TLSKeyFile=
|
||||
|
||||
### Option: Plugins.MQTT.Default.*.Url
|
||||
# Broker connection string. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the URL format.
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.*.Url=
|
||||
|
||||
### Option: Plugins.MQTT.Default.*.Topic
|
||||
# Topic to subscribe. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the URL format.
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.*.Topic=
|
||||
|
||||
### Option: Plugins.MQTT.Default.*.User
|
||||
# Username to be used for MQTT authentication. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.*.User=
|
||||
|
||||
### Option: Plugins.MQTT.Default.*.Password
|
||||
# Password to be used for MQTT authentication. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.*.Password=
|
||||
|
||||
### Option: Plugins.MQTT.Default.TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for mysql
|
||||
# peer certificate verification. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.TLSCAFile=
|
||||
|
||||
### Option: Plugins.MQTT.Default.TLSCertFile
|
||||
# Full pathname of a file containing the MQTT certificate or certificate chain.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.TLSCertFile=
|
||||
|
||||
### Option: Plugins.MQTT.Default.TLSKeyFile
|
||||
# Full pathname of a file containing the MQTT private key. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MQTT.Default.TLSKeyFile=
|
||||
|
|
@ -0,0 +1,184 @@
|
|||
### Option:Plugins.MSSQL.System.Path
|
||||
# Path to external plugin executable.
|
||||
#
|
||||
# Mandatory: yes
|
||||
# Default:
|
||||
# Plugins.MSSQL.System.Path=
|
||||
|
||||
Plugins.MSSQL.System.Path=/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-mssql
|
||||
|
||||
### Option: Plugins.MSSQL.Timeout
|
||||
# Amount of time to wait for a server to respond when first connecting and on
|
||||
# follow up operations in the session.
|
||||
# Global item-type timeout (or individual item timeout) will override this value if it is greater.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.MSSQL.Timeout=<Global timeout from Zabbix agent 2 configuration file>
|
||||
|
||||
### Option: Plugins.MSSQL.KeepAlive
|
||||
# Time in seconds for waiting before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.MSSQL.KeepAlive=300
|
||||
|
||||
### Option: Plugins.MSSQL.CustomQueriesDir
|
||||
# Filepath to a directory containing user defined .sql files with custom
|
||||
# queries that the plugin can execute.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.CustomQueriesDir=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.Uri
|
||||
# Uri to connect.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "sqlserver".
|
||||
# Embedded credentials will be ignored.
|
||||
# Connection to named instance can be made by specifying instance name in the URI.
|
||||
# Example: sqlserver://localhost/InstanceName
|
||||
# Default: sqlserver://localhost:1433
|
||||
# Plugins.MSSQL.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.User
|
||||
# Username to send to protected MSSQL server.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.Password
|
||||
# Password to send to protected MSSQL server.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.CACertPath
|
||||
# Filepath to the public key certificate of the certificate authority (CA)
|
||||
# that issued the certificate of the MSSQL server.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Sessions.*.CACertPath=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.TrustServerCertificate
|
||||
# Boolean value to indicate whether the plugin should trust the server
|
||||
# certificate without validating it.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: true, false
|
||||
# Default:
|
||||
# Plugins.MSSQL.Sessions.*.TrustServerCertificate=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.HostNameInCertificate
|
||||
# Common name (CN) of the certificate of the MSSQL server.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Sessions.*.HostNameInCertificate=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.Encrypt
|
||||
# Connection encription type.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Range: true, false, strict, disable
|
||||
# Plugins.MSSQL.Sessions.*.Encrypt=
|
||||
|
||||
### Option: Plugins.MSSQL.Sessions.*.TLSMinVersion
|
||||
# Minimum TLS version to use.
|
||||
# Replace "*" with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Range: 1.0, 1.1, 1.2, 1.3
|
||||
# Plugins.MSSQL.Sessions.*.TLSMinVersion=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.Uri
|
||||
# Uri to connect.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "sqlserver".
|
||||
# Embedded credentials will be ignored.
|
||||
# Connection to named instance can be made by specifying instance name in the URI.
|
||||
# Example: sqlserver://localhost/InstanceName
|
||||
# Default: sqlserver://localhost:1433
|
||||
# Plugins.MSSQL.Default.Uri=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.User
|
||||
# Username to send to protected MSSQL server.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Default.User=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.Password
|
||||
# Password to send to protected MSSQL server.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Default.Password=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.CACertPath
|
||||
# Filepath to the public key certificate of the certificate authority (CA)
|
||||
# that issued the certificate of the MSSQL server.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Default.CACertPath=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.TrustServerCertificate
|
||||
# Boolean value to indicate whether the plugin should trust the server
|
||||
# certificate without validating it.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: true, false
|
||||
# Default:
|
||||
# Plugins.MSSQL.Default.TrustServerCertificate=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.HostNameInCertificate
|
||||
# Common name (CN) of the certificate of the MSSQL server.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.MSSQL.Default.HostNameInCertificate=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.Encrypt
|
||||
# Connection encryption type.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Range: true, false, strict, disable
|
||||
# Plugins.MSSQL.Default.Encrypt=
|
||||
|
||||
### Option: Plugins.MSSQL.Default.TLSMinVersion
|
||||
# Minimum TLS version to use.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Range: 1.0, 1.1, 1.2, 1.3
|
||||
# Plugins.MSSQL.Default.TLSMinVersion=
|
||||
|
|
@ -0,0 +1,138 @@
|
|||
### Option: Plugins.Mysql.CallTimeout
|
||||
# The maximum time in seconds for waiting when a request has to be done.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Mysql.CallTimeout=<Global timeout>
|
||||
|
||||
### Option: Plugins.Mysql.Timeout
|
||||
# The maximum time in seconds for waiting when a connection has to be established.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default: global timeout
|
||||
|
||||
### Option: Plugins.Mysql.CustomQueriesPath
|
||||
# Full pathname of a directory containing *.sql* files with custom queries.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.CustomQueriesPath=
|
||||
|
||||
### Option: Plugins.Mysql.KeepAlive
|
||||
# Time (in seconds) to wait before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.Mysql.KeepAlive=300
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.Uri
|
||||
# Connection string. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the URI format.
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.User
|
||||
# Username to be used for MySQL authentication. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.Password
|
||||
# Password to be used for MySQL authentication. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.TLSConnect
|
||||
# Encryption type for MySQL connection. "*" should be replaced with a session name.
|
||||
# tls connection required - required
|
||||
# verifies certificates - verify_ca
|
||||
# verify certificates and ip - verify_full
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.TLSConnect=
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for mysql
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.TLSCAFile=
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.TLSCertFile
|
||||
# Full pathname of a file containing the mysql certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.TLSCertFile=
|
||||
|
||||
### Option: Plugins.Mysql.Sessions.*.TLSKeyFile
|
||||
# Full pathname of a file containing the mysql private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Sessions.*.TLSKeyFile=
|
||||
|
||||
### Option: Plugins.Mysql.Default.Uri
|
||||
# Connection string. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the URI format.
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.Uri=
|
||||
|
||||
### Option: Plugins.Mysql.Default.User
|
||||
# Username to be used for MySQL authentication. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.User=
|
||||
|
||||
### Option: Plugins.Mysql.Default.Password
|
||||
# Password to be used for MySQL authentication. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.Password=
|
||||
|
||||
### Option: Plugins.Mysql.Default.TLSConnect
|
||||
# Encryption type for MySQL connection. Default value used if no other is specified.
|
||||
# tls connection required - required
|
||||
# verifies certificates - verify_ca
|
||||
# verify certificates and ip - verify_full
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.TLSConnect=
|
||||
|
||||
### Option: Plugins.Mysql.Default.TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for mysql
|
||||
# peer certificate verification. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.TLSCAFile=
|
||||
|
||||
### Option: Plugins.Mysql.Default.TLSCertFile
|
||||
# Full pathname of a file containing the mysql certificate or certificate chain.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.TLSCertFile=
|
||||
|
||||
### Option: Plugins.Mysql.Default.TLSKeyFile
|
||||
# Full pathname of a file containing the mysql private key. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Mysql.Default.TLSKeyFile=
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
### Option: Plugins.Oracle.CallTimeout
|
||||
# The maximum time in seconds for waiting when a request has to be done.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Oracle.CallTimeout=<Global timeout>
|
||||
|
||||
### Option: Plugins.Oracle.ConnectTimeout
|
||||
# The maximum time in seconds for waiting when a connection has to be established.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Oracle.ConnectTimeout=<Global timeout>
|
||||
|
||||
### Option: Plugins.Oracle.CustomQueriesPath
|
||||
# Full pathname of a directory containing *.sql* files with custom queries.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Oracle.CustomQueriesPath=
|
||||
|
||||
### Option: Plugins.Oracle.KeepAlive
|
||||
# Time in seconds for waiting before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.Oracle.KeepAlive=300
|
||||
|
||||
### Option: Plugins.Oracle.Sessions.*.Uri
|
||||
# Uri to connect. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "tcp".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Oracle.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.Oracle.Sessions.*.Service
|
||||
# Service name to be used for connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: SID is not supported.
|
||||
# Default:
|
||||
# Plugins.Oracle.Sessions.*.Service=
|
||||
|
||||
### Option: Plugins.Oracle.Sessions.*.User
|
||||
# Username to be used for connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Oracle.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.Oracle.Sessions.*.Password
|
||||
# Password to be used for connectione. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Oracle.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.Oracle.Default.Uri
|
||||
# Uri to connect. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# The only supported schema is "tcp".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Oracle.Default.Uri=
|
||||
|
||||
### Option: Plugins.Oracle.Default.Service
|
||||
# Service name to be used for connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: SID is not supported.
|
||||
# Default:
|
||||
# Plugins.Oracle.Default.Service=
|
||||
|
||||
### Option: Plugins.Oracle.Default.User
|
||||
# Username to be used for connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Oracle.Default.User=
|
||||
|
||||
### Option: Plugins.Oracle.Default.Password
|
||||
# Password to be used for connectione. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Oracle.Default.Password=
|
||||
|
|
@ -0,0 +1,194 @@
|
|||
### Option:Plugins.PostgreSQL.System.Path
|
||||
# Path to external plugin executable.
|
||||
#
|
||||
# Mandatory: yes
|
||||
# Default:
|
||||
Plugins.PostgreSQL.System.Path=/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql
|
||||
|
||||
### Option: Plugins.PostgreSQL.CallTimeout
|
||||
# The maximum time in seconds for waiting when a request has to be done.
|
||||
# Global item-type timeout (or individual item timeout) will override this value if it is greater.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.CallTimeout=<Global timeout from Zabbix agent 2 configuration file>
|
||||
|
||||
### Option: Plugins.PostgreSQL.Timeout
|
||||
# The maximum time in seconds for waiting when a connection has to be established.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Timeout=<Global timeout from Zabbix agent 2 configuration file>
|
||||
|
||||
### Option: Plugins.PostgreSQL.KeepAlive
|
||||
# Time in seconds for waiting before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.KeepAlive=300
|
||||
|
||||
### Option: Plugins.PostgreSQL.CustomQueriesPath
|
||||
# Full pathname of a directory containing *.sql* files with custom queries.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.CustomQueriesPath=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.Uri
|
||||
# Uri to connect. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must match the URI format.
|
||||
# Supported schemas: "tcp" and "unix".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.User
|
||||
# Username for session connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must match the PostgreSQL user name.
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.Password
|
||||
# Password for session connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must match the Password format.
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.Database
|
||||
# Database for session connection. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.Database=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.TLSConnect
|
||||
# Encryption type for PostgreSQL connection. "*" should be replaced with a session name.
|
||||
# require/required - connect using TLS as transport mode without identity checks, acts like verify-ca if ca
|
||||
# file is provided;
|
||||
# verify-ca/verify_ca - connect using TLS and verify certificate;
|
||||
# verify-full/verify_full - connect using TLS, verify certificate and verify that database identity (CN) specified
|
||||
# by DBHost matches its certificate;
|
||||
# Undefined encryption type means unencrypted connection.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.TLSConnect=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificate
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.TLSCAFile=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.TLSCertFile
|
||||
# Full pathname of a file containing the PostgreSQL certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.TLSCertFile=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.TLSKeyFile
|
||||
# Full pathname of a file containing the PostgreSQL private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Sessions.*.TLSKeyFile=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Sessions.*.CacheMode
|
||||
# Cache mode for PostgreSQL connection. "*" should be replaced with a session name.
|
||||
# prepare - will create prepared statements on the PostgreSQL server.;
|
||||
# describe - will use the anonymous prepared statement to describe a statement without creating a statement on the
|
||||
# server.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default: prepare
|
||||
# Plugins.PostgreSQL.Sessions.*.CacheMode=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.Uri
|
||||
# Uri to connect. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# Supported schemas: "tcp" and "unix".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.Uri=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.User
|
||||
# Username for session connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches PostgreSQL user name.
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.User=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.Password
|
||||
# Password for session connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: Must matches the Password format.
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.Password=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.Database
|
||||
# Database for session connection. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.Database=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.TLSConnect
|
||||
# Encryption type for Postgres connection. Default value used if no other is specified.
|
||||
# tls connection required - required
|
||||
# verifies certificates - verify_ca
|
||||
# verify certificates and ip - verify_full
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.TLSConnect=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificate
|
||||
# peer certificate verification. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.TLSCAFile=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.TLSCertFile
|
||||
# Full pathname of a file containing the postgres certificate or certificate chain.
|
||||
# Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.TLSCertFile=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.TLSKeyFile
|
||||
# Full pathname of a file containing the postgres private key. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.PostgreSQL.Default.TLSKeyFile=
|
||||
|
||||
### Option: Plugins.PostgreSQL.Default.CacheMode
|
||||
# Cache mode for PostgreSQL connection.
|
||||
# prepare - will create prepared statements on the PostgreSQL server.;
|
||||
# describe - will use the anonymous prepared statement to describe a statement without creating a statement on the
|
||||
# server.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default: prepare
|
||||
# Plugins.PostgreSQL.Default.CacheMode=
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
### Option: Plugins.Redis.Timeout
|
||||
# The maximum time (in seconds) for waiting when a request has to be done.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Plugins.Redis.Timeout=<Global timeout>
|
||||
|
||||
### Option: Plugins.Redis.KeepAlive
|
||||
# Time in seconds for waiting before unused connections will be closed.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-900
|
||||
# Default:
|
||||
# Plugins.Redis.KeepAlive=300
|
||||
|
||||
### Option: Plugins.Redis.Sessions.*.Uri
|
||||
# Uri to connect. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# Supported schemas: "tcp" and "unix".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Redis.Sessions.*.Uri=
|
||||
|
||||
### Option: Plugins.Redis.Sessions.*.User
|
||||
# User to send to protected Redis server. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default: default
|
||||
# Plugins.Redis.Sessions.*.User=
|
||||
|
||||
### Option: Plugins.Redis.Sessions.*.Password
|
||||
# Password to send to protected Redis server. "*" should be replaced with a session name.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Redis.Sessions.*.Password=
|
||||
|
||||
### Option: Plugins.Redis.Default.Uri
|
||||
# Uri to connect. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Must matches the URI format.
|
||||
# Supported schemas: "tcp" and "unix".
|
||||
# Embedded credentials will be ignored.
|
||||
# Default:
|
||||
# Plugins.Redis.Default.Uri=
|
||||
|
||||
### Option: Plugins.Redis.Default.User
|
||||
# User to send to protected Redis server. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default: default
|
||||
# Plugins.Redis.Default.User=
|
||||
|
||||
### Option: Plugins.Redis.Default.Password
|
||||
# Password to send to protected Redis server. Default value used if no other is specified.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Plugins.Redis.Default.Password=
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
### Option: Plugins.Smart.Timeout
|
||||
# The maximum time in seconds for waiting before smartctl execution is terminated.
|
||||
# The timeout is for a single smartctl command line execution.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default: <Global timeout>
|
||||
# Plugins.Smart.Timeout=
|
||||
|
||||
### Option: Plugins.Smart.Path
|
||||
# Path to smartctl executable.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default: smartctl
|
||||
# Plugins.Smart.Path=
|
||||
Loading…
Reference in New Issue