2010-10-20 15:54:43 +02:00
|
|
|
#############################################################################
|
|
|
|
# Pandora FMS Server Parameters
|
|
|
|
# Pandora FMS, the Flexible Monitoring System.
|
2016-06-13 14:34:30 +02:00
|
|
|
# Version 6.1dev
|
2010-10-20 15:54:43 +02:00
|
|
|
# Licensed under GPL license v2,
|
2020-11-27 13:52:35 +01:00
|
|
|
# (c) 2003-2021 Artica Soluciones Tecnologicas
|
2010-10-20 15:54:43 +02:00
|
|
|
# http://www.pandorafms.com
|
|
|
|
# Please change it for your setup needs
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
# Servername: Name of this server
|
|
|
|
# if not given, it takes hostname. It's prefsnmpgeterable to setup one
|
|
|
|
# because machine name could change by some reason.
|
|
|
|
|
|
|
|
servername poseidon_win32
|
|
|
|
|
|
|
|
# incomingdir: Defines directory where incoming data packets are stored
|
|
|
|
# You could set directory relative to base path or absolute, starting with /
|
|
|
|
|
|
|
|
incomingdir c:\pandora_server/data_in
|
|
|
|
|
|
|
|
# log_file: Main logfile for pandora_server
|
|
|
|
# You could set file relative to base path or absolute, starting with /
|
|
|
|
|
|
|
|
log_file c:\pandora_server\log\pandora_server.log
|
|
|
|
|
|
|
|
# Log file for Pandora FMS SNMP console. Its generated by NetSNMP Trap daemon
|
|
|
|
|
|
|
|
snmp_logfile c:\pandora_server\log\pandora_snmptrap.log
|
|
|
|
|
|
|
|
# Error logfile: aux logfile for pandora_server errors (in Daemon mode)
|
|
|
|
# You could set file relative to base path or absolute, starting with /
|
|
|
|
|
|
|
|
errorlog_file c:\pandora_server\log\pandora_server.error
|
|
|
|
|
|
|
|
# daemon: Runs in daemon mode (background) if 1, if 0 runs in foreground
|
|
|
|
# this could be also configured on commandline with -D option
|
|
|
|
|
|
|
|
# daemon 1
|
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# dbengine: mysql, postgresql or oracle (mysql by default)
|
|
|
|
|
|
|
|
dbengine mysql
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# Database credentials. A VERY important configuration.
|
|
|
|
# This must be the same credentials used by your Pandora FMS Console
|
|
|
|
# but could be different if your console is not running in the same
|
|
|
|
# host than the server. Check your console setup in /include/config.php
|
|
|
|
|
|
|
|
# dbname: Database name (pandora by default
|
|
|
|
|
|
|
|
dbname pandora
|
|
|
|
|
|
|
|
# dbuser: Database user name (pandora by default)
|
|
|
|
|
|
|
|
dbuser pandora
|
|
|
|
|
|
|
|
# dbpass: Database password
|
|
|
|
|
|
|
|
dbpass pandora
|
|
|
|
|
|
|
|
# dbhost: Database hostname or IP address
|
|
|
|
|
|
|
|
dbhost 192.168.55.1
|
|
|
|
|
2012-04-20 05:56:09 +02:00
|
|
|
# dbport: Database port number
|
|
|
|
# Default value depends on the dbengine (mysql: 3306, postgresql: 5432, oracle: 1521)
|
|
|
|
|
|
|
|
#dbport 3306
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# verbosity: level of detail on errors/messages (0 default, 1 verbose, 2 debug.... 10 noisy)
|
|
|
|
# -v in command line (verbose) or -d (debug). Set this to 10 when try to locate problems and
|
2014-09-16 16:15:25 +02:00
|
|
|
# set to 1 or 3 on production enviroments.
|
2010-10-20 15:54:43 +02:00
|
|
|
|
2014-09-16 16:15:25 +02:00
|
|
|
verbosity 3
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# Master Server, 1 if master server (normal mode), 0 for slave mode (slave in multi-server setup)
|
|
|
|
|
|
|
|
master 1
|
|
|
|
|
|
|
|
# Check datafiles using a MD5 hash, 1 to check (default), 0 to ignore .checksum
|
|
|
|
|
|
|
|
checksum 0
|
|
|
|
|
|
|
|
# Activate Pandora SNMP console (depending on snmptrapd)
|
|
|
|
# only available on Pandora Network server
|
|
|
|
|
|
|
|
snmpconsole 0
|
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# snmpconsole_threads: number of SNMP console threads for processing SNMP traps.
|
|
|
|
|
|
|
|
snmpconsole_threads 1
|
|
|
|
|
|
|
|
# Attempt to translate variable bindings when processing SNMP traps. 1 enabled, 0 disabled. 0 by default. (ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
translate_variable_bindings 0
|
|
|
|
|
|
|
|
# Attempt to translate enterprise strings when processing SNMP traps. 1 enabled, 0 disabled. 1 by default. (ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
translate_enterprise_strings 0
|
|
|
|
|
|
|
|
# snmptrapd will ignore authenticationFailure traps if set to 1.
|
|
|
|
|
|
|
|
snmp_ignore_authfailure 1
|
|
|
|
|
|
|
|
# snmptrapd will read the PDU source address instead of the agent-addr field is set to 1.
|
|
|
|
|
|
|
|
snmp_pdu_address 0
|
|
|
|
|
|
|
|
# Path to the snmp_trapd binary. If set to manual, the server will not attemp to start snmp_trapd.
|
|
|
|
|
|
|
|
#snmp_trapd manual
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# Activate (1) Pandora Network Server
|
|
|
|
|
|
|
|
networkserver 1
|
|
|
|
|
|
|
|
# Activate (1) Pandora Data Server
|
|
|
|
|
|
|
|
dataserver 1
|
|
|
|
|
2022-09-26 11:52:38 +02:00
|
|
|
# Enable (1) or disable (0) the Data Server smart queue, which gives priority
|
|
|
|
# to new data coming from agents at the expense of buffered XML files.
|
|
|
|
dataserver_smart_queue 1
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# Activate (1) Pandora FMS Recon server
|
|
|
|
|
|
|
|
reconserver 1
|
|
|
|
|
|
|
|
# pluginserver : 1 or 0. Set to 1 to activate plugin server with this setup
|
|
|
|
# DISABLED BY DEFAULT
|
|
|
|
pluginserver 1
|
|
|
|
|
2010-11-22 19:20:21 +01:00
|
|
|
# Pandora FMS Plugin exec tool filepath
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
plugin_exec c:\pandora_server\bin/pandora_exec
|
|
|
|
|
|
|
|
# predictionserver : 1 or 0. Set to 1 to activate prediction server with this setup
|
|
|
|
# DISABLED BY DEFAULT
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
predictionserver 0
|
|
|
|
|
|
|
|
# wmiserver : 1 or 0. Set to 1 to activate WMI server with this setup
|
|
|
|
# DISABLED BY DEFAULT
|
|
|
|
wmiserver 0
|
|
|
|
|
|
|
|
# Network timeout (in seconds) for timeout in network connections for Network agents
|
|
|
|
|
|
|
|
network_timeout 5
|
|
|
|
|
2019-12-24 10:43:08 +01:00
|
|
|
# Network timeout (in seconds) for timeout in remote execution commands (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
rcmd_timeout 10
|
|
|
|
|
|
|
|
# Pandora FMS remote execution commands timeout tool filepath (by default at /usr/bin)
|
|
|
|
|
|
|
|
rcmd_timeout_bin C:\PandoraFMS\Pandora_Server\bin\pandora_exec.exe
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# Server keepalive (in seconds)
|
|
|
|
|
|
|
|
server_keepalive 45
|
|
|
|
|
|
|
|
# Server Threshold: defines number of seconds of main loop (in sec)
|
|
|
|
|
|
|
|
server_threshold 5
|
|
|
|
|
|
|
|
# Network threads: Do not set too high (~40). Each threads make a network module check.
|
|
|
|
|
|
|
|
network_threads 5
|
|
|
|
|
|
|
|
# icmp_checks x : defines number of pings for each icmp_proc module type. at least one of
|
2014-08-06 23:21:03 +02:00
|
|
|
# that ping should be 1 to report 1. Lower value have better performance, but more probability
|
|
|
|
# of false positives
|
2010-10-20 15:54:43 +02:00
|
|
|
|
2017-11-08 10:37:15 +01:00
|
|
|
icmp_checks 1
|
2015-03-18 16:21:39 +01:00
|
|
|
|
|
|
|
# Number of ICMP packets to send per request.
|
2017-11-08 10:37:15 +01:00
|
|
|
icmp_packets 2
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# tcp specific options :
|
|
|
|
# tcp_checks: number of tcp retries if first attempt fails.
|
|
|
|
# tcp_timeout: specific timeout for tcp connections
|
|
|
|
|
|
|
|
tcp_checks 1
|
|
|
|
tcp_timeout 30
|
|
|
|
|
|
|
|
# snmp specific options :
|
|
|
|
# snmp_checks: number of snmp request retries if first attempt fails.
|
|
|
|
# snmp_timeout: specific timeout for snmp request.
|
|
|
|
|
|
|
|
snmp_checks 1
|
|
|
|
snmp_timeout 5
|
|
|
|
|
|
|
|
# snmp_proc_deadresponse 1 (default): Return DOWN if cannot contact
|
|
|
|
# or receive NULL from a SNMP PROC module.
|
|
|
|
|
|
|
|
snmp_proc_deadresponse 1
|
|
|
|
|
|
|
|
# plugin_threads: Specify number of plugin server threads for processing plugin calls
|
|
|
|
|
|
|
|
plugin_threads 2
|
|
|
|
|
|
|
|
# plugin_timeout: Specify number of seconds calling plugin exec waiting for response
|
|
|
|
# after this time, call is aborted and result is "unknown".
|
|
|
|
|
|
|
|
plugin_timeout 15
|
|
|
|
|
|
|
|
# wmi_timeout : specific timeout for wmi request.
|
|
|
|
|
|
|
|
wmi_timeout 10
|
|
|
|
|
|
|
|
# wmi_threads: Specify number of WMI server threads for processing WMI remote calls
|
|
|
|
|
|
|
|
wmi_threads 2
|
|
|
|
|
2022-04-07 18:56:04 +02:00
|
|
|
# WMI client binary (wmic by default).
|
|
|
|
|
|
|
|
#wmi_client pandorawmic.exe
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# recon_threads. Each thread will scan a different scantask.
|
|
|
|
|
|
|
|
recon_threads 2
|
|
|
|
|
|
|
|
# dataserver_threads: Number of threads for data server (XML processing threads)
|
|
|
|
|
|
|
|
dataserver_threads 2
|
|
|
|
|
|
|
|
# mta_address: External Mailer (MTA) IP Address to be used by Pandora FMS internal email capabilities
|
2019-09-11 12:42:52 +02:00
|
|
|
# If not set, the MTA configuration specified in the Pandora FMS Console will be used.
|
2010-10-20 15:54:43 +02:00
|
|
|
|
2010-11-22 19:20:21 +01:00
|
|
|
#mta_address localhost
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# mta_port: MTA port (default 25)
|
|
|
|
#mta_port 25
|
|
|
|
|
|
|
|
# mta_user MTA User (if needed for auth, FQD or simple user, depending on your server)
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#mta_user myuser@mydomain.com
|
|
|
|
|
|
|
|
# mta_pass MTA Pass (if needed for auth)
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#mta_pass mypassword
|
|
|
|
|
|
|
|
# mta_auth MTA Auth system (if needed, support: LOGIN, PLAIN, CRAM-MD5, DIGEST-MD)
|
|
|
|
#mta_auth LOGIN
|
|
|
|
|
|
|
|
# mta_from Email address that sends the mail, by default is pandora@localhost
|
|
|
|
# probably you need to change it to avoid problems with your antispam
|
|
|
|
#mta_from pandora@sampledomain.com
|
|
|
|
|
2019-09-10 15:53:47 +02:00
|
|
|
# SMTP encryption protocol (none, ssl, starttls)
|
|
|
|
|
|
|
|
#mta_encryption none
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# xprobe2: Optional package to detect OS types using advanced TCP/IP
|
|
|
|
# fingerprinting tecniques, much more accurates than stadard nmap.
|
|
|
|
# If not provided, nmap is used insted xprobe2
|
|
|
|
|
2010-11-22 19:20:21 +01:00
|
|
|
#xprobe2 c:\pandora_server\bin\xprobe2
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# nmap: If provided, is used to detect OS type with recon server using
|
|
|
|
# advanded OS fingerprint technique. Xprobe2 gives more accurate results
|
|
|
|
# Nmap is also used to do TCP port scanning in detected host.
|
|
|
|
|
2010-11-22 19:20:21 +01:00
|
|
|
#nmap c:\pandora_server\bin\nmap.exe
|
2010-10-20 15:54:43 +02:00
|
|
|
|
2014-12-05 11:07:07 +01:00
|
|
|
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
|
|
|
#fping c:\pandora_server\bin\Fping.exe
|
|
|
|
|
2010-11-22 19:20:21 +01:00
|
|
|
# snmpget: Needed to do SNMP checks.
|
2010-10-20 15:54:43 +02:00
|
|
|
|
2010-11-22 19:20:21 +01:00
|
|
|
#snmpget c:\pandora_server\bin\snmpget.exe
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# Default group id for new agents created with Pandora FMS Data Server
|
2014-10-14 17:55:16 +02:00
|
|
|
# If this token is enabled and Agent is setup with a fixed group, server settings will override agent settings
|
|
|
|
# If this token is disabled and group is not provided in the agent, or provided group doesn't exist, agent data
|
|
|
|
# will be dropped. We use the Group ID #10 (Unknown) for a "valid" default value, please change as your own decision.
|
|
|
|
|
|
|
|
autocreate_group 10
|
2010-10-20 15:54:43 +02:00
|
|
|
|
2022-01-11 15:15:22 +01:00
|
|
|
# Works like autocreate_group, except the name of the group is specified (instead of its id). Do not set both.
|
|
|
|
#autocreate_group_name Unknown
|
|
|
|
|
2019-07-25 13:00:40 +02:00
|
|
|
# If set to 1, new agents will be added to the group specified by autocreate_group (the group specified by the agent will be used as fallback).
|
|
|
|
# If set to 0, new agents will be added to the group specified by the agent (the group specified by autocreate_group will be used as fallback).
|
|
|
|
|
2021-02-26 14:24:44 +01:00
|
|
|
autocreate_group_force 0
|
2019-07-25 13:00:40 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# Set to 1 if want to autocreate agents with Pandora FMS Data Server,
|
|
|
|
# set to 0 to disable
|
|
|
|
|
|
|
|
autocreate 1
|
|
|
|
|
|
|
|
# max_log_size: Specify max size of Pandora FMS server log file (1MB by default). If
|
|
|
|
# log file grows above this limit, is renamed to "pandora_server.log.old".
|
|
|
|
|
2014-09-16 16:22:13 +02:00
|
|
|
max_log_size 1048576
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# max_queue_files (250 by default)
|
|
|
|
# When server have more than max_queue_files in incoming directory, skips the read
|
|
|
|
# the directory to avoid filesystem overhead.
|
|
|
|
|
|
|
|
max_queue_files 250
|
|
|
|
|
2021-02-04 13:34:59 +01:00
|
|
|
# If set to 0, the timestamp attribute in XML data files will be ignored and the system time will be used instead.
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# use_xml_timestamp 1
|
|
|
|
|
|
|
|
# Pandora FMS will autorestart itself each XXX seconds, use this if you experience problems with
|
|
|
|
# shutting down threads, or other stability problems.
|
|
|
|
|
|
|
|
# auto_restart 86400
|
|
|
|
|
|
|
|
# Pandora FMS will restart after restart_delay seconds on critical errors.
|
|
|
|
|
2014-03-20 18:54:51 +01:00
|
|
|
restart 1
|
|
|
|
restart_delay 60
|
2010-10-20 15:54:43 +02:00
|
|
|
|
|
|
|
# More information about GIS Setup in /usr/share/pandora_server/util/gis.README
|
|
|
|
# Flag to activate GIS (positional information for agents and maps)
|
|
|
|
# by default it is desactivated
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#activate_gis 0
|
|
|
|
|
|
|
|
# Radius of error in meters to consider two gis locations as the same location.
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#location_error 50
|
|
|
|
|
|
|
|
# Recon reverse geolocation file. This is the database with the reverse
|
|
|
|
# geolocation information using MaxMind GPL GeoLiteCity.dat format).
|
2018-07-05 15:19:13 +02:00
|
|
|
# Comment it to disable the IP geolocation on agent creation.
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#recon_reverse_geolocation_file /usr/local/share/GeoIP/GeoIPCity.dat
|
|
|
|
|
|
|
|
# Radius (in meters) of the circle in where the agents will be place randomly
|
|
|
|
# when finded by a recon task. Center of the circle is guessed
|
|
|
|
# by geolocating the IP.
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#recon_location_scatter_radius 1000
|
|
|
|
|
|
|
|
# Pandora Server self-monitoring (embedded agent) (by default disabled)
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#self_monitoring 1
|
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# Self monitoring interval (in seconds).
|
|
|
|
#self_monitoring_interval 300
|
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
# Update parent from the agent xml
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2010-10-20 15:54:43 +02:00
|
|
|
#update_parent 1
|
2016-06-13 14:34:30 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# This enable realtime reverse geocoding using Google Maps public api.
|
|
|
|
# This requires internet access, and could have performance penalties processing GIS
|
|
|
|
# information due the connetion needed to resolve all GIS input.
|
|
|
|
# NOTE: If you dont pay the service to google, they will ban your IP in a few days.
|
|
|
|
|
|
|
|
# google_maps_description 1
|
|
|
|
|
|
|
|
# This enable realtime reverse geocoding using Openstreet Maps public api.
|
|
|
|
# This requires internet access, and could have performance penalties processing GIS
|
|
|
|
# information due the connetion needed to resolve all GIS input.
|
|
|
|
# You can alter the code to use a local (your own) openstreet maps server.
|
|
|
|
|
|
|
|
# openstreetmaps_description 1
|
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Event Web Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
webserver 1
|
|
|
|
|
|
|
|
# Number of threads for the Web Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
web_threads 1
|
|
|
|
|
2020-06-25 16:34:09 +02:00
|
|
|
# Uncomment to perform web checks with LWP instead of CURL.
|
|
|
|
#web_engine lwp
|
2016-06-13 14:34:30 +02:00
|
|
|
|
2022-12-22 12:47:03 +01:00
|
|
|
# Enable (1) or disable (0) Pandora FMS Inventory Server.
|
2016-06-13 14:34:30 +02:00
|
|
|
|
|
|
|
inventoryserver 1
|
|
|
|
|
2022-12-22 12:47:03 +01:00
|
|
|
# Number of threads for the Inventory Server.
|
2016-06-13 14:34:30 +02:00
|
|
|
|
|
|
|
inventory_threads 1
|
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Export Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
exportserver 0
|
|
|
|
|
|
|
|
# Number of threads for the Export Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
export_threads 1
|
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Event Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
eventserver 0
|
|
|
|
|
|
|
|
# Event Server event window in seconds (3600 by default) (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
event_window 3600
|
|
|
|
|
2019-07-31 09:06:51 +02:00
|
|
|
# If set to 1, an alert will not be fired if the last event it generated is in 'in-process' status.
|
|
|
|
|
|
|
|
event_inhibit_alerts 0
|
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# Enable (1) or disable (0) Pandora FMS Enterprise ICMP Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
# You need nmap 5.20 or higher in order to use this !
|
|
|
|
|
|
|
|
icmpserver 1
|
|
|
|
|
|
|
|
# Number of threads for the Enterprise ICMP Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
icmp_threads 4
|
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
# Check braa tool is running and operative.
|
|
|
|
|
|
|
|
snmpserver 1
|
|
|
|
|
|
|
|
# Number of threads for the Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
snmp_threads 4
|
|
|
|
|
|
|
|
# Block size for block producer/consumer servers, that is, the number of modules
|
|
|
|
# per block (15 by default) (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
block_size 20
|
|
|
|
|
|
|
|
# If set to 1, process XML data files in a stack instead of a queue. 0 by default.
|
|
|
|
# WARNING: Incremental modules will not work properly if dataserver_lifo is set to 1!!!
|
|
|
|
|
|
|
|
dataserver_lifo 0
|
|
|
|
|
|
|
|
# If set to 1, the policy manager is enabled and the server is listening the policy queue.
|
|
|
|
# 0 by default (PANDORA FMS ENTERPRISE ONLY)
|
|
|
|
|
|
|
|
policy_manager 1
|
|
|
|
|
|
|
|
# If set to 1, new events validate older event for the same module. This will
|
|
|
|
# affect the performance of the server. This was the "normal behaviour" on previous (4.x) versions.
|
|
|
|
# disable only if you really know what you are doing !!.
|
|
|
|
|
|
|
|
event_auto_validation 1
|
|
|
|
|
|
|
|
# If defined, events generated by Pandora FMS will be written to the specified text file.
|
|
|
|
#event_file /var/log/pandora/pandora_events.txt
|
|
|
|
|
|
|
|
# Set the maximum number of traps that will be processed from a single source in a
|
|
|
|
# configured time interval.
|
|
|
|
snmp_storm_protection 25
|
|
|
|
|
|
|
|
# Time interval for snmp_storm protection (in seconds).
|
|
|
|
snmp_storm_timeout 10
|
|
|
|
|
2020-10-28 10:57:21 +01:00
|
|
|
# Silenced time period in seconds, when trap storm is detected
|
|
|
|
snmp_storm_silence_period 300
|
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# Default texts for some events. The macros _module_ and _data_ are supported.
|
|
|
|
#text_going_down_normal Module '_module_' is going to NORMAL (_data_)
|
|
|
|
#text_going_up_critical Module '_module_' is going to CRITICAL (_data_)
|
|
|
|
#text_going_up_warning Module '_module_' is going to WARNING (_data_)
|
|
|
|
#text_going_down_warning Module '_module_' is going to WARNING (_data_)
|
|
|
|
#text_going_unknown Module '_module_' is going to UNKNOWN
|
|
|
|
|
|
|
|
# Events older that the specified time (in seconds) will be auto-validated. Set to 0 to disable this feature.
|
|
|
|
event_expiry_time 0
|
|
|
|
|
|
|
|
# Only events more recent than the specified time window (in seconds) will be auto-validated. This value must
|
|
|
|
# be greater than event_expiry_time.
|
|
|
|
#event_expiry_window 86400
|
|
|
|
|
|
|
|
# If set to 1, SNMP modules run by the Network Server will be claimed back by
|
|
|
|
# the SNMP Enterprise Server when pandora_db is run.
|
|
|
|
claim_back_snmp_modules 1
|
2014-10-01 11:58:45 +02:00
|
|
|
|
|
|
|
# If set to 1 asynchronous modules that do not receive data for twice their
|
|
|
|
# interval will become normal. Set to 0 to disable.
|
|
|
|
async_recovery 1
|
|
|
|
|
2015-02-09 17:47:34 +01:00
|
|
|
# Console API credentials.
|
|
|
|
# Required for some features like the module graphs macros.
|
|
|
|
|
2015-02-09 18:13:13 +01:00
|
|
|
# console_api_url: Api URL (http://localhost/pandora_console/include/api.php by default)
|
|
|
|
console_api_url http://localhost/pandora_console/include/api.php
|
2015-02-09 17:47:34 +01:00
|
|
|
|
|
|
|
# console_api_pass: Api pass
|
|
|
|
# console_api_pass 1234
|
|
|
|
|
|
|
|
# console_user: Console user name (admin by default)
|
|
|
|
console_user admin
|
|
|
|
|
|
|
|
# console_pass: Console password (pandora by default)
|
2017-03-08 08:53:35 +01:00
|
|
|
# To make sure console_api_url, console_api_pass, console_user and console_pass are properly configured run:
|
|
|
|
# curl "<console_api_url>?op=get&op2=test&apipass=<console_api_pass>&user=<console_user>&pass=<console_pass>"
|
|
|
|
# It should return a string similar to:
|
|
|
|
# OK,{VERSION},{BUILD}
|
2015-02-09 17:47:34 +01:00
|
|
|
console_pass pandora
|
2015-03-09 16:11:05 +01:00
|
|
|
|
|
|
|
# Passphrase used to generate the key for password encryption (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
#encryption_passphrase passphrase
|
|
|
|
|
2016-11-29 09:11:00 +01:00
|
|
|
# Enable (1) or disable (0) events related to the unknown module status.
|
|
|
|
unknown_events 1
|
|
|
|
|
2015-03-09 16:11:05 +01:00
|
|
|
# Time interval (as a multiple of the module interval) before a module becomes unknown. Twice the module's interval by default.
|
|
|
|
#unknown_interval 2
|
|
|
|
|
2015-09-30 15:15:50 +02:00
|
|
|
# Maximum executing time of an alert (in seconds)
|
|
|
|
global_alert_timeout 15
|
|
|
|
|
2015-10-09 16:00:34 +02:00
|
|
|
# If set to 1 allows PandoraFMS Server to be configured via the web console (Only Enterprise version)
|
|
|
|
remote_config 0
|
2015-11-13 16:27:41 +01:00
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# Remote address to send the configuration file (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
remote_config_address localhost
|
|
|
|
|
|
|
|
# Remote port to send the configuration file (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
#remote_config_port 41121
|
|
|
|
|
|
|
|
# Extra options for the Tentacle client to send the configuration file (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
#remote_config_opts
|
|
|
|
|
2015-11-13 16:27:41 +01:00
|
|
|
# Module status change events will not be generated and module alerts will not
|
|
|
|
# be executed for the specified number of seconds since the server starts up.
|
|
|
|
warmup_event_interval 0
|
|
|
|
|
|
|
|
# Modules will not become unknown (so no unknown events will be generated) and
|
|
|
|
# keepalive modules will not be updated for the specified number of seconds
|
|
|
|
# since the server starts up.
|
|
|
|
warmup_unknown_interval 300
|
|
|
|
|
2016-11-17 11:14:42 +01:00
|
|
|
# Directory were additional enc files for the XML parser are located.
|
|
|
|
enc_dir /usr/share/pandora_server/enc/
|
|
|
|
|
2017-03-01 14:58:20 +01:00
|
|
|
# The number of times dynamic_min and dynamic_max will be recalculated per dynamic_interval.
|
2021-11-04 16:28:15 +01:00
|
|
|
# Go to https://pandorafms.com/manual/ for more information.
|
2017-03-01 14:58:20 +01:00
|
|
|
dynamic_updates 5
|
|
|
|
|