2008-02-20 03:09:36 +01:00
|
|
|
#############################################################################
|
2008-07-22 17:52:34 +02:00
|
|
|
# Pandora FMS Server Parameters
|
|
|
|
# Pandora FMS, the Flexible Monitoring System.
|
2021-04-19 16:09:29 +02:00
|
|
|
# Version 7.0NG.754
|
2010-05-16 00:32:56 +02:00
|
|
|
# Licensed under GPL license v2,
|
2020-11-27 13:52:35 +01:00
|
|
|
# (c) 2003-2021 Artica Soluciones Tecnologicas
|
2008-07-22 17:52:34 +02:00
|
|
|
# http://www.pandorafms.com
|
|
|
|
# Please change it for your setup needs
|
2008-02-20 03:09:36 +01:00
|
|
|
#############################################################################
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Servername: Name of this server
|
2008-02-20 03:09:36 +01:00
|
|
|
# if not given, it takes hostname. It's preferable to setup one
|
2007-03-29 12:42:34 +02:00
|
|
|
# because machine name could change by some reason.
|
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
#servername greystone
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# incomingdir: Defines directory where incoming data packets are stored
|
2006-07-03 19:18:19 +02:00
|
|
|
# You could set directory relative to base path or absolute, starting with /
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-06-29 23:25:37 +02:00
|
|
|
incomingdir /var/spool/pandora/data_in
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# log_file: Main logfile for pandora_server
|
2006-07-03 19:18:19 +02:00
|
|
|
# You could set file relative to base path or absolute, starting with /
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-08-21 20:14:40 +02:00
|
|
|
log_file /var/log/pandora/pandora_server.log
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2007-07-31 19:26:09 +02:00
|
|
|
# Log file for Pandora FMS SNMP console. Its generated by NetSNMP Trap daemon
|
2021-05-11 16:13:52 +02:00
|
|
|
# If you change it, please update the file /etc/logrotate.d/pandora_server accordingly.
|
2007-07-31 19:26:09 +02:00
|
|
|
|
|
|
|
snmp_logfile /var/log/pandora/pandora_snmptrap.log
|
|
|
|
|
2006-07-03 19:18:19 +02:00
|
|
|
# Error logfile: aux logfile for pandora_server errors (in Daemon mode)
|
|
|
|
# You could set file relative to base path or absolute, starting with /
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-08-21 20:14:40 +02:00
|
|
|
errorlog_file /var/log/pandora/pandora_server.error
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2010-04-05 00:55:47 +02:00
|
|
|
# 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
|
|
|
|
|
2017-12-04 11:37:08 +01:00
|
|
|
# dbengine: mysql
|
2013-02-12 17:07:27 +01:00
|
|
|
dbengine mysql
|
2011-04-27 19:44:14 +02:00
|
|
|
|
2010-04-05 00:55:47 +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
|
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
# dbname: Database name (pandora by default)
|
2007-05-24 23:14:06 +02:00
|
|
|
|
2007-07-31 19:26:09 +02:00
|
|
|
dbname pandora
|
2007-05-24 23:14:06 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
# dbuser: Database user name (pandora by default)
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-08-21 20:14:40 +02:00
|
|
|
dbuser pandora
|
2007-07-20 12:53:19 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
# dbpass: Database password
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-07-20 12:53:19 +02:00
|
|
|
dbpass pandora
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# dbhost: Database hostname or IP address
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2014-06-04 17:42:38 +02:00
|
|
|
dbhost 127.0.0.1
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2012-04-20 05:56:09 +02:00
|
|
|
# dbport: Database port number
|
2017-12-04 11:37:08 +01:00
|
|
|
# Default value depends on the dbengine (mysql: 3306)
|
2012-04-20 05:56:09 +02:00
|
|
|
#dbport 3306
|
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
# By default, parent agent will not be updated
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2011-09-02 12:25:48 +02:00
|
|
|
#update_parent 0
|
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
# verbosity: level of detail on errors/messages (0 default, 1 verbose, 2 debug.... 10 noisy)
|
2010-04-05 00:55:47 +02:00
|
|
|
# -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.
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2014-09-16 16:15:25 +02:00
|
|
|
verbosity 3
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2015-01-13 15:46:46 +01:00
|
|
|
# Master Server priority. The running server with the highest master value will
|
|
|
|
# be the master. Ties are broken at random. If set to 0, this server will
|
|
|
|
# never become master.
|
2007-07-31 19:26:09 +02:00
|
|
|
master 1
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Activate Pandora SNMP console (depending on snmptrapd)
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
snmpconsole 0
|
2012-02-20 18:47:08 +01:00
|
|
|
|
2014-07-28 18:24:40 +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
|
|
|
|
|
2012-02-20 18:47:08 +01:00
|
|
|
# snmptrapd will ignore authenticationFailure traps if set to 1.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-02-20 18:47:08 +01:00
|
|
|
snmp_ignore_authfailure 1
|
|
|
|
|
|
|
|
# snmptrapd will read the PDU source address instead of the agent-addr field is set to 1.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-02-20 18:47:08 +01:00
|
|
|
snmp_pdu_address 0
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2014-11-14 14:37:39 +01:00
|
|
|
# Path to the snmp_trapd binary. If set to manual, the server will not attemp to start snmp_trapd.
|
|
|
|
|
|
|
|
#snmp_trapd manual
|
|
|
|
|
2017-12-04 11:37:08 +01:00
|
|
|
# SNMP Trap forwarding. Go to http://wiki.pandorafms.com for more information.
|
|
|
|
#snmp_forward_trap 1
|
|
|
|
#snmp_forward_ip 192.168.1.145
|
|
|
|
#snmp_forward_version 1
|
|
|
|
#snmp_forward_secName
|
|
|
|
#snmp_forward_engineid
|
|
|
|
#snmp_forward_authProtocol
|
|
|
|
#snmp_forward_authPassword
|
|
|
|
#snmp_forward_privProtocol
|
|
|
|
#snmp_forward_privPassword
|
|
|
|
#snmp_forward_secLevel
|
2018-02-12 10:08:46 +01:00
|
|
|
#snmp_forward_community
|
2017-12-04 11:37:08 +01:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
# Activate (1) Pandora Network Server
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
networkserver 1
|
|
|
|
|
|
|
|
# Activate (1) Pandora Data Server
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
dataserver 1
|
|
|
|
|
2019-11-18 10:04:47 +01:00
|
|
|
# Activate (1) Pandora FMS Discovery server
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2019-11-18 10:04:47 +01:00
|
|
|
discoveryserver 1
|
|
|
|
|
|
|
|
# Discovery SAP (PANDORA FMS ENTERPRISE ONLY)
|
|
|
|
# java /usr/bin/java
|
|
|
|
|
|
|
|
# Discovery SAP utils (PANDORA FMS ENTERPRISE ONLY)
|
|
|
|
# sap_utils /usr/share/pandora_server/util/recon_scripts/SAP
|
2007-03-12 18:41:58 +01:00
|
|
|
|
2020-02-18 16:43:36 +01:00
|
|
|
# Discovery Microsoft SQL ODBC driver (PANDORA FMS ENTERPRISE ONLY)
|
|
|
|
# mssql_driver ODBC Driver 17 for SQL Server
|
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# pluginserver : 1 or 0. Set to 1 to activate plugin server with this setup
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-05-08 17:47:19 +02:00
|
|
|
pluginserver 1
|
2008-07-22 17:52:34 +02:00
|
|
|
|
2009-12-18 19:22:33 +01:00
|
|
|
# Pandora FMS Plugin exec tool filepath (by default at /usr/bin)
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-02-01 12:41:52 +01:00
|
|
|
plugin_exec /usr/bin/timeout
|
2009-09-25 02:09:15 +02:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# predictionserver : 1 or 0. Set to 1 to activate prediction server with this setup
|
2009-10-14 00:47:53 +02:00
|
|
|
# DISABLED BY DEFAULT
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2009-10-14 00:47:53 +02:00
|
|
|
predictionserver 0
|
2008-07-22 17:52:34 +02:00
|
|
|
|
2008-08-28 15:47:48 +02:00
|
|
|
# wmiserver : 1 or 0. Set to 1 to activate WMI server with this setup
|
2009-10-14 00:47:53 +02:00
|
|
|
# DISABLED BY DEFAULT
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
wmiserver 1
|
2008-07-22 17:52:34 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
# Network timeout (in seconds) for timeout in network connections for Network agents
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
network_timeout 4
|
2006-07-01 03:54:36 +02:00
|
|
|
|
2019-11-13 16:41:36 +01:00
|
|
|
# Network timeout (in seconds) for timeout in remote execution commands (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
2019-12-23 17:28:40 +01:00
|
|
|
rcmd_timeout 10
|
2019-11-13 16:41:36 +01:00
|
|
|
|
2019-12-24 10:43:08 +01:00
|
|
|
# Pandora FMS remote execution commands timeout tool filepath (by default at /usr/bin)
|
|
|
|
|
|
|
|
rcmd_timeout_bin /usr/bin/timeout
|
|
|
|
|
2019-12-19 11:48:20 +01:00
|
|
|
# Remote execution modules, ssh_launcher extra option (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
ssh_launcher /usr/share/pandora_server/util/ssh_launcher.sh
|
|
|
|
|
2006-07-01 03:54:36 +02:00
|
|
|
# Server keepalive (in seconds)
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
server_keepalive 45
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2017-12-05 11:13:37 +01:00
|
|
|
# Log server thread status to disk (always set to 0, except when debugging).
|
|
|
|
|
|
|
|
thread_log 0
|
|
|
|
|
2007-03-29 12:42:34 +02:00
|
|
|
# Server Threshold: defines number of seconds of main loop (in sec)
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-06-09 14:27:01 +02:00
|
|
|
server_threshold 5
|
2007-07-18 19:53:17 +02:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# Network threads: Do not set too high (~40). Each threads make a network module check.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
network_threads 4
|
2008-02-20 03:09:36 +01:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# 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. Setting this to 1 will make all icmp montioring faster but
|
|
|
|
# with more probability of failure.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2017-11-08 10:37:15 +01:00
|
|
|
icmp_checks 1
|
2008-02-20 03:09:36 +01:00
|
|
|
|
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
|
2015-03-18 16:21:39 +01:00
|
|
|
|
2008-02-20 03:09:36 +01:00
|
|
|
# tcp specific options :
|
|
|
|
# tcp_checks: number of tcp retries if first attempt fails.
|
|
|
|
# tcp_timeout: specific timeout for tcp connections
|
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
tcp_checks 1
|
2014-05-30 15:56:44 +02:00
|
|
|
tcp_timeout 10
|
2008-02-20 03:09:36 +01:00
|
|
|
|
|
|
|
# snmp specific options :
|
|
|
|
# snmp_checks: number of snmp request retries if first attempt fails.
|
|
|
|
# snmp_timeout: specific timeout for snmp request.
|
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
snmp_checks 1
|
2014-05-30 15:56:44 +02:00
|
|
|
snmp_timeout 4
|
2008-02-20 03:09:36 +01:00
|
|
|
|
|
|
|
# snmp_proc_deadresponse 1 (default): Return DOWN if cannot contact
|
|
|
|
# or receive NULL from a SNMP PROC module.
|
|
|
|
|
|
|
|
snmp_proc_deadresponse 1
|
|
|
|
|
2008-02-25 19:00:09 +01:00
|
|
|
# plugin_threads: Specify number of plugin server threads for processing plugin calls
|
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
plugin_threads 1
|
2008-02-25 19:00:09 +01:00
|
|
|
|
|
|
|
# plugin_timeout: Specify number of seconds calling plugin exec waiting for response
|
|
|
|
# after this time, call is aborted and result is "unknown".
|
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
plugin_timeout 12
|
2008-02-25 19:00:09 +01:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# wmi_timeout : specific timeout for wmi request.
|
2008-02-25 19:00:09 +01:00
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
wmi_timeout 7
|
2008-03-07 17:25:50 +01:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# wmi_threads: Specify number of WMI server threads for processing WMI remote calls
|
2008-03-07 17:25:50 +01:00
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
wmi_threads 1
|
2008-03-07 17:25:50 +01:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# recon_threads. Each thread will scan a different scantask.
|
2008-03-07 17:25:50 +01:00
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
recon_threads 1
|
2008-03-07 17:25:50 +01:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# dataserver_threads: Number of threads for data server (XML processing threads)
|
2008-03-07 17:25:50 +01:00
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
dataserver_threads 1
|
2008-06-13 18:42:35 +02:00
|
|
|
|
|
|
|
# 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.
|
2008-06-13 18:42:35 +02:00
|
|
|
|
2019-09-11 12:42:52 +02:00
|
|
|
#mta_address localhost
|
2008-06-13 18:42:35 +02:00
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
# mta_port, this is the mail server port (default 25)
|
|
|
|
|
2010-04-05 00:55:47 +02:00
|
|
|
#mta_port 25
|
|
|
|
|
|
|
|
# mta_user MTA User (if needed for auth, FQD or simple user, depending on your server)
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-04-05 00:55:47 +02:00
|
|
|
#mta_user myuser@mydomain.com
|
|
|
|
|
|
|
|
# mta_pass MTA Pass (if needed for auth)
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-04-05 00:55:47 +02:00
|
|
|
#mta_pass mypassword
|
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
# mta_auth MTA Auth system (if needed, it supports LOGIN, PLAIN, CRAM-MD5, DIGEST-MD)
|
|
|
|
|
2010-04-05 00:55:47 +02:00
|
|
|
#mta_auth LOGIN
|
2008-06-13 18:42:35 +02:00
|
|
|
|
2010-04-05 00:55:47 +02:00
|
|
|
# mta_from Email address that sends the mail, by default is pandora@localhost
|
2008-11-11 13:32:58 +01:00
|
|
|
# probably you need to change it to avoid problems with your antispam
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-10-22 16:03:49 +02:00
|
|
|
#mta_from Pandora FMS <pandora@mydomain.com>
|
2008-06-13 18:42:35 +02:00
|
|
|
|
2019-09-10 15:53:47 +02:00
|
|
|
# SMTP encryption protocol (none, ssl, starttls)
|
|
|
|
|
|
|
|
#mta_encryption none
|
|
|
|
|
2013-06-19 11:53:28 +02:00
|
|
|
# Set 1 if want eMail deliver alert in separate mail (default).
|
|
|
|
# Set 0 if want eMail deliver shared mail by all destination.
|
|
|
|
mail_in_separate 1
|
|
|
|
|
|
|
|
|
2009-08-19 21:49:55 +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
|
2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.
* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
and pandora_event() (this has been moved from DB.pm).
* pandora_server.conf: Added options for xprobe2, autocreate and
autocreate_group.
* pandora_network: Added support for TCP scanning (not implemented in
console yet), parent detection using traceroute, OS fingerprinting with
xprobe2, event creation using central functions, and some optimizations.
* pandora_server: Added support for agent autocreation, OS detection from
the XML header, and event notification "new_agent" type.
* pandora_recon: First code to implement traceroute functionality
using Pureperl module. Added code for remote OS fingerprinting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 19:26:03 +02:00
|
|
|
|
|
|
|
xprobe2 /usr/bin/xprobe2
|
|
|
|
|
2009-08-19 21:49:55 +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.
|
|
|
|
|
|
|
|
nmap /usr/bin/nmap
|
|
|
|
|
2015-02-09 12:00:34 +01:00
|
|
|
# Default path is /usr/sbin/fping for installation default in distro Centos , if you are installing in other distribution,
|
|
|
|
# you install fping in /usr/bin/fping and change the path in this line.
|
2014-12-05 11:07:07 +01:00
|
|
|
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
2015-01-09 11:28:18 +01:00
|
|
|
fping /usr/sbin/fping
|
2015-02-09 12:00:34 +01:00
|
|
|
# fping /usr/bin/fping
|
2014-12-05 11:07:07 +01:00
|
|
|
|
2014-08-07 12:43:25 +02:00
|
|
|
# A value that specifies how aggressive nmap should be from 1 to 5. 1 means slower but more reliable, 5 means faster but less reliable. 2 by default.
|
|
|
|
nmap_timing_template 2
|
|
|
|
|
2014-08-14 18:17:29 +02:00
|
|
|
# Like nmap_timing_template, but applies to Satellite Server and Recon Server network scans. 3 by default.
|
|
|
|
recon_timing_template 3
|
|
|
|
|
2009-03-04 18:15:39 +01:00
|
|
|
# snmpget: Needed to do SNMP checks. By default is on /usr/bin/snmpget
|
|
|
|
|
|
|
|
snmpget /usr/bin/snmpget
|
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
# Location of the braa binary needed by the Enterprise SNMP Server
|
|
|
|
# /usr/bin/braa by default (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
braa /usr/bin/braa
|
|
|
|
|
2013-03-20 16:50:41 +01:00
|
|
|
# Number of retries before braa hands a module over to the Network Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
braa_retries 3
|
|
|
|
|
2019-01-14 15:16:36 +01:00
|
|
|
# Location of the pandorafsnmp binary needed by the Enterprise SNMP Server.
|
|
|
|
# /usr/bin/pandorafsnmp by default (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
fsnmp /usr/bin/pandorafsnmp
|
|
|
|
|
2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.
* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
and pandora_event() (this has been moved from DB.pm).
* pandora_server.conf: Added options for xprobe2, autocreate and
autocreate_group.
* pandora_network: Added support for TCP scanning (not implemented in
console yet), parent detection using traceroute, OS fingerprinting with
xprobe2, event creation using central functions, and some optimizations.
* pandora_server: Added support for agent autocreation, OS detection from
the XML header, and event notification "new_agent" type.
* pandora_recon: First code to implement traceroute functionality
using Pureperl module. Added code for remote OS fingerprinting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 19:26:03 +02:00
|
|
|
# Default group id for new agents created with Pandora FMS Data Server
|
2014-05-30 15:56:44 +02:00
|
|
|
# If this token is enabled and Agent is setup with a fixed group, server settings will override agent settings
|
2014-10-14 17:55:16 +02:00
|
|
|
# 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.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2014-10-14 17:55:16 +02:00
|
|
|
autocreate_group 10
|
2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.
* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
and pandora_event() (this has been moved from DB.pm).
* pandora_server.conf: Added options for xprobe2, autocreate and
autocreate_group.
* pandora_network: Added support for TCP scanning (not implemented in
console yet), parent detection using traceroute, OS fingerprinting with
xprobe2, event creation using central functions, and some optimizations.
* pandora_server: Added support for agent autocreation, OS detection from
the XML header, and event notification "new_agent" type.
* pandora_recon: First code to implement traceroute functionality
using Pureperl module. Added code for remote OS fingerprinting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 19:26:03 +02:00
|
|
|
|
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).
|
|
|
|
|
2020-03-03 12:52:58 +01:00
|
|
|
autocreate_group_force 0
|
2019-07-25 13:00:40 +02:00
|
|
|
|
2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.
* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
and pandora_event() (this has been moved from DB.pm).
* pandora_server.conf: Added options for xprobe2, autocreate and
autocreate_group.
* pandora_network: Added support for TCP scanning (not implemented in
console yet), parent detection using traceroute, OS fingerprinting with
xprobe2, event creation using central functions, and some optimizations.
* pandora_server: Added support for agent autocreation, OS detection from
the XML header, and event notification "new_agent" type.
* pandora_recon: First code to implement traceroute functionality
using Pureperl module. Added code for remote OS fingerprinting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 19:26:03 +02:00
|
|
|
# Set to 1 if want to autocreate agents with Pandora FMS Data Server,
|
2014-05-30 15:56:44 +02:00
|
|
|
# set to 0 to disable (for security purposes, for example).
|
2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.
* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
and pandora_event() (this has been moved from DB.pm).
* pandora_server.conf: Added options for xprobe2, autocreate and
autocreate_group.
* pandora_network: Added support for TCP scanning (not implemented in
console yet), parent detection using traceroute, OS fingerprinting with
xprobe2, event creation using central functions, and some optimizations.
* pandora_server: Added support for agent autocreation, OS detection from
the XML header, and event notification "new_agent" type.
* pandora_recon: First code to implement traceroute functionality
using Pureperl module. Added code for remote OS fingerprinting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 19:26:03 +02:00
|
|
|
|
|
|
|
autocreate 1
|
2008-06-19 02:14:17 +02:00
|
|
|
|
2008-07-22 17:52:34 +02:00
|
|
|
# max_log_size: Specify max size of Pandora FMS server log file (1MB by default). If
|
2014-09-16 12:27:39 +02:00
|
|
|
# log file grows above this limit, is renamed to "pandora_server.log.0".
|
2008-07-22 17:52:34 +02:00
|
|
|
|
2014-09-16 16:22:13 +02:00
|
|
|
max_log_size 1048576
|
2008-06-19 02:14:17 +02:00
|
|
|
|
2014-09-16 12:27:39 +02:00
|
|
|
# max_log_generation: Specify max generation count (between 1 and 9) of Pandora FMS server log files.
|
|
|
|
max_log_generation 1
|
|
|
|
|
2015-08-10 16:47:23 +02:00
|
|
|
# max_queue_files (5000 by default)
|
2009-06-24 18:53:17 +02:00
|
|
|
# When server have more than max_queue_files in incoming directory, skips the read
|
|
|
|
# the directory to avoid filesystem overhead.
|
|
|
|
|
2015-08-10 16:47:23 +02:00
|
|
|
max_queue_files 5000
|
2009-03-04 18:15:39 +01:00
|
|
|
|
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.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2009-09-02 11:52:55 +02:00
|
|
|
# use_xml_timestamp 1
|
|
|
|
|
2009-10-14 00:47:53 +02:00
|
|
|
# Pandora FMS will autorestart itself each XXX seconds, use this if you experience problems with
|
|
|
|
# shutting down threads, or other stability problems.
|
|
|
|
|
2009-11-13 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Updated configuration tokens.
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Config.pm,
lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/PredictionServer.pm,
lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/NetworkServer.pm,
lib/PandoraFMS/Tools.pm, lib/PandoraFMS/WMIServer.pm,
bin/pandora_server: Standardized and improved logging.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-13 14:52:48 +01:00
|
|
|
# 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
|
2009-11-13 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Updated configuration tokens.
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Config.pm,
lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/PredictionServer.pm,
lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/NetworkServer.pm,
lib/PandoraFMS/Tools.pm, lib/PandoraFMS/WMIServer.pm,
bin/pandora_server: Standardized and improved logging.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-13 14:52:48 +01:00
|
|
|
|
2010-03-04 20:55:19 +01: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
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-03-04 20:55:19 +01:00
|
|
|
#activate_gis 0
|
2010-01-25 19:36:23 +01:00
|
|
|
|
2010-03-04 20:55:19 +01:00
|
|
|
# Radius of error in meters to consider two gis locations as the same location.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-03-04 20:55:19 +01:00
|
|
|
#location_error 50
|
2010-02-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Better error management, avoiding to show Enterprise
loading errors, and showing in console critical errors, helping to identify
silly errors like DB credentials, etc.
Added usage of pandora_get_sharedconfig() to get configuration from DB.
* Config.pm: Updated build. Added pandora_get_sharedconfig(). Force three
config tokens to be readed from DB, using default values if cannot be readen
from database (agentaccess, realtimestat and stats_interval).
* Core.pm: Added new parameter to pandora_event() to pass status of the
event (validated, not validated). Implemented auto-validation of low
priority events: normal/ok events will be always shown as autovalidated, and
warning and normal events will be validated with critical events, and when
a module is restored (normal/ok), all it's warning/critical pending events
will be validated.
Fixed also bug with FF Threshold who doesnt' trigger events until FF + 1
instead FF value.
* Server.pm,
NetworkServer.pm,
Dataserver.pm,
ReconServer.pm: Raise event with status 0 (non validated) by default.
* NetworkServer.pm: Implemented support for SNMP v3.
* util/pandora_db.pm: Very important upgrade to this script. Now will
delete all huge tables (tagente_datos, tagente_datos_string and
tagent_acccess) using several independent blocks (by default 100) avoiding
mysql locks which happen in the past.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 18:32:10 +01:00
|
|
|
|
2010-03-04 20:55:19 +01:00
|
|
|
# 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.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-02-15 21:34:57 +01:00
|
|
|
#recon_reverse_geolocation_file /usr/local/share/GeoIP/GeoIPCity.dat
|
|
|
|
|
2010-03-04 20:55:19 +01:00
|
|
|
# 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.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2010-02-15 21:34:57 +01:00
|
|
|
#recon_location_scatter_radius 1000
|
|
|
|
|
2013-02-12 17:07:27 +01:00
|
|
|
# Pandora Server self-monitoring (embedded agent) (by default enabled)
|
|
|
|
|
|
|
|
self_monitoring 1
|
2010-02-25 18:09:19 +01:00
|
|
|
|
2014-10-15 15:06:57 +02:00
|
|
|
# Self monitoring interval (in seconds).
|
|
|
|
self_monitoring_interval 300
|
|
|
|
|
2019-10-22 11:54:27 +02:00
|
|
|
# Pandora Sample Agent. If enabled, every 10 minutes, this embedded agent
|
|
|
|
# will make sample data. Disabled by default.
|
|
|
|
|
|
|
|
sample_agent 0
|
|
|
|
|
|
|
|
# Pandora Sample Agent interval (in seconds).
|
|
|
|
|
|
|
|
sample_agent_interval 600
|
|
|
|
|
2010-02-25 18:09:19 +01:00
|
|
|
# Update parent from the agent xml
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2020-03-03 12:52:58 +01:00
|
|
|
update_parent 1
|
2011-02-07 14:45:34 +01: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.
|
2011-03-09 14:49:30 +01:00
|
|
|
# NOTE: If you dont pay the service to google, they will ban your IP in a few days.
|
|
|
|
|
2011-02-07 14:45:34 +01:00
|
|
|
# google_maps_description 1
|
|
|
|
|
2011-03-09 14:49:30 +01:00
|
|
|
# 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
|
2011-08-12 11:30:28 +02:00
|
|
|
|
2021-03-18 16:12:39 +01:00
|
|
|
# Enable (1) or disable (0) Pandora FMS Web Server/Goliat.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
webserver 1
|
|
|
|
|
2021-03-18 16:12:39 +01:00
|
|
|
# Number of threads for the Web Server/Goliat.
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-05-08 17:47:19 +02:00
|
|
|
web_threads 1
|
2011-08-12 11:30:28 +02:00
|
|
|
|
2017-05-05 12:54:55 +02:00
|
|
|
# Default timeout (in seconds) for web modules.
|
|
|
|
|
|
|
|
web_timeout 60
|
|
|
|
|
2020-06-25 16:34:09 +02:00
|
|
|
# Uncomment to perform web checks with LWP instead of CURL.
|
|
|
|
#web_engine lwp
|
2013-11-11 16:17:26 +01:00
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
# Enable (1) or disable (0) Pandora FMS Inventory Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
inventoryserver 1
|
|
|
|
|
|
|
|
# Number of threads for the Web Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-05-08 17:47:19 +02:00
|
|
|
inventory_threads 1
|
2011-08-12 11:30:28 +02:00
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Export Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
|
|
|
exportserver 0
|
2011-08-12 11:30:28 +02:00
|
|
|
|
|
|
|
# Number of threads for the Export Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
export_threads 1
|
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Event Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
|
|
|
eventserver 0
|
2011-08-12 11:30:28 +02:00
|
|
|
|
2019-11-19 11:56:11 +01:00
|
|
|
# Correlated alerts, event window in seconds (3600 by default) (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
event_window 3600
|
|
|
|
|
2019-11-19 11:56:11 +01:00
|
|
|
# Correlated Alerts, log window in seconds (3600 by default) (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
log_window 3600
|
|
|
|
|
2019-11-21 17:47:21 +01:00
|
|
|
# Pre-load windows on start with available information. (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
#preload_windows 0
|
|
|
|
|
2021-04-14 22:36:56 +02:00
|
|
|
# Correlated Alerts, group cache ttl (in seconds). Set to 0 to disable. (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
#event_server_cache_ttl 10
|
|
|
|
|
2021-04-27 14:59:59 +02:00
|
|
|
# Log retrieving, items per request. (High values could make elasticsearch crash)
|
|
|
|
#elastic_query_size 10
|
|
|
|
|
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
|
|
|
|
|
2011-08-12 11:30:28 +02:00
|
|
|
# Enable (1) or disable (0) Pandora FMS Enterprise ICMP Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
# You need nmap 5.20 or higher in order to use this !
|
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
icmpserver 1
|
2011-08-12 11:30:28 +02:00
|
|
|
|
|
|
|
# Number of threads for the Enterprise ICMP Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2015-09-23 10:32:10 +02:00
|
|
|
icmp_threads 4
|
2011-08-12 11:30:28 +02:00
|
|
|
|
|
|
|
# Enable (1) or disable (0) Pandora FMS Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
# Check braa tool is running and operative.
|
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
snmpserver 1
|
2011-08-12 11:30:28 +02:00
|
|
|
|
|
|
|
# Number of threads for the Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2015-09-23 10:32:10 +02:00
|
|
|
snmp_threads 4
|
2011-08-12 11:30:28 +02:00
|
|
|
|
2016-06-13 14:34:30 +02:00
|
|
|
# Pandora FMS TransactionalServer (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
transactionalserver 0
|
|
|
|
|
|
|
|
# Threshold for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
|
|
|
|
transactional_threshold 2
|
|
|
|
|
2011-08-12 17:44:01 +02:00
|
|
|
# Block size for block producer/consumer servers, that is, the number of modules
|
|
|
|
# per block (15 by default) (PANDORA FMS ENTERPRISE ONLY).
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2014-05-30 15:56:44 +02:00
|
|
|
block_size 20
|
2011-12-23 11:20:43 +01:00
|
|
|
|
2012-10-24 11:38:08 +02:00
|
|
|
# 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!!!
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2012-10-24 11:38:08 +02:00
|
|
|
dataserver_lifo 0
|
|
|
|
|
2012-12-13 18:07:23 +01:00
|
|
|
# If set to 1, the policy manager is enabled and the server is listening the policy queue.
|
|
|
|
# 0 by default (PANDORA FMS ENTERPRISE ONLY)
|
2013-02-12 17:07:27 +01:00
|
|
|
|
2013-08-27 11:31:15 +02:00
|
|
|
policy_manager 1
|
2012-12-13 18:07:23 +01:00
|
|
|
|
|
|
|
# If set to 1, the event replicate process is enabled. 0 by default. (PANDORA FMS ENTERPRISE ONLY)
|
|
|
|
# WARNING: This process doesn't do anything if is not properly configured from the console setup
|
2013-02-12 17:07:27 +01:00
|
|
|
|
|
|
|
event_replication 0
|
2013-01-31 19:02:41 +01:00
|
|
|
|
|
|
|
# If set to 1, new events validate older event for the same module. This will
|
2013-02-12 17:07:27 +01:00
|
|
|
# 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 !!.
|
|
|
|
|
2013-01-31 19:02:41 +01:00
|
|
|
event_auto_validation 1
|
|
|
|
|
2013-07-01 16:05:44 +02:00
|
|
|
# If defined, events generated by Pandora FMS will be written to the specified text file.
|
|
|
|
#event_file /var/log/pandora/pandora_events.txt
|
|
|
|
|
2013-08-13 19:04:56 +02:00
|
|
|
# Set the maximum number of traps that will be processed from a single source in a
|
|
|
|
# configured time interval.
|
2014-05-30 15:56:44 +02:00
|
|
|
snmp_storm_protection 25
|
2013-08-13 19:04:56 +02:00
|
|
|
|
|
|
|
# Time interval for snmp_storm protection (in seconds).
|
2014-05-30 15:56:44 +02:00
|
|
|
snmp_storm_timeout 10
|
2013-08-13 19:04:56 +02:00
|
|
|
|
2020-10-28 10:57:21 +01:00
|
|
|
# Silenced time period in seconds, when trap storm is detected
|
|
|
|
snmp_storm_silence_period 300
|
|
|
|
|
2013-09-04 15:28:13 +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
|
2013-09-09 18:09:34 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2014-05-30 14:26:40 +02:00
|
|
|
# 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
|
2014-05-30 14:26:40 +02:00
|
|
|
|
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)
|
2020-01-17 22:58:45 +01:00
|
|
|
# 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
|
|
|
|
|
2015-03-03 10:26:56 +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-15 10:55:38 +02:00
|
|
|
# If set to 1 allows PandoraFMS Server to be configured via the web console (PANDORA FMS ENTERPRISE ONLY).
|
2015-10-09 16:00:34 +02:00
|
|
|
remote_config 0
|
2015-10-15 10:55:38 +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.
|
|
|
|
# Go to http://wiki.pandorafms.com/ for more information.
|
|
|
|
dynamic_updates 5
|
2017-12-04 11:37:08 +01:00
|
|
|
#dynamic_warning
|
|
|
|
#dynamic_constant
|
2017-03-01 14:58:20 +01:00
|
|
|
|
2018-01-11 16:00:22 +01:00
|
|
|
# Periodically update unknown modules (1), instead of only once (0). Periodic
|
|
|
|
# updates may affect server performance.
|
|
|
|
unknown_updates 0
|
|
|
|
|
2017-08-23 09:35:17 +02:00
|
|
|
# Enable (1) or disable (0) the Pandora FMS WUX Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
wuxserver 0
|
|
|
|
|
|
|
|
# Host of the Selenium Grid Server.
|
|
|
|
#wux_host localhost
|
|
|
|
|
|
|
|
# Port of the Selenium Grid Server.
|
|
|
|
#wux_port 4444
|
|
|
|
|
2017-12-01 12:26:13 +01:00
|
|
|
# Maximum timeout to connect to a target web site, also for communications with a Selenium Grid server.
|
|
|
|
#wux_webagent_timeout 15
|
|
|
|
|
2020-04-22 16:09:12 +02:00
|
|
|
# Force closing previous sessions on remote wux_host, only for Selenium Grid server 3.
|
|
|
|
#clean_wux_sessions 1
|
|
|
|
|
2017-11-15 11:08:39 +01:00
|
|
|
# Enable (1) or disable (0) the Pandora FMS Syslog Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
syslogserver 1
|
|
|
|
|
|
|
|
# Full path to syslog's output file (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
syslog_file /var/log/messages
|
|
|
|
|
|
|
|
# Number of threads for the Syslog Server (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
syslog_threads 2
|
|
|
|
|
|
|
|
# Maximum number of lines queued by the Syslog Server's producer on each run (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
syslog_max 65535
|
|
|
|
|
2019-07-15 15:43:53 +02:00
|
|
|
# Sync Server
|
|
|
|
#syncserver
|
|
|
|
|
2017-12-04 11:37:08 +01:00
|
|
|
# Port tentacle server
|
|
|
|
#sync_port 41121
|
|
|
|
|
|
|
|
# Sync certificate path of the authenticating CA
|
|
|
|
#sync_ca /home/cacert.pem
|
|
|
|
|
|
|
|
# Sync server certificate path
|
|
|
|
#sync_cert /home/tentaclecert.pem
|
|
|
|
|
|
|
|
# Sync server certificate private key path
|
|
|
|
#sync_key /home/tentaclekey.pem
|
|
|
|
|
|
|
|
# Sync number of attempts
|
|
|
|
#sync_retries 3
|
|
|
|
|
|
|
|
# Sync timeout
|
2018-01-31 13:34:43 +01:00
|
|
|
#sync_timeout 10
|
|
|
|
|
2019-07-15 15:43:53 +02:00
|
|
|
# Address
|
2018-02-12 10:08:46 +01:00
|
|
|
# sync_address
|
|
|
|
|
2018-06-19 12:18:15 +02:00
|
|
|
# Pandora FMS Database HA Tool execution interval in seconds (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
ha_interval 30
|
|
|
|
|
|
|
|
# Pandora FMS Database HA Tool monitoring interval in seconds. Must be a multiple of ha_interval (PANDORA FMS ENTERPRISE ONLY).
|
|
|
|
ha_monitoring_interval 60
|
|
|
|
|