167 lines
4.2 KiB
Plaintext
Executable File
167 lines
4.2 KiB
Plaintext
Executable File
#############################################################################
|
|
# Pandora Server Parameters, please change it for your setup needs
|
|
#############################################################################
|
|
|
|
# Servername: Name of this server
|
|
# if not given, it takes hostname. It's preferable to setup one
|
|
# because machine name could change by some reason.
|
|
|
|
#servername endor
|
|
|
|
# incomingdir: Defines directory where incoming data packets are stored
|
|
# You could set directory relative to base path or absolute, starting with /
|
|
|
|
incomingdir /var/spool/pandora/data_in
|
|
|
|
# log_file: Main logfile for pandora_server
|
|
# You could set file relative to base path or absolute, starting with /
|
|
|
|
log_file /var/log/pandora/pandora_server.log
|
|
|
|
# Log file for Pandora FMS SNMP console. Its generated by NetSNMP Trap daemon
|
|
|
|
snmp_logfile /var/log/pandora/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 /var/log/pandora/pandora_server.error
|
|
|
|
# dbname: Database name (pandora by default
|
|
|
|
dbname pandora
|
|
|
|
# dbuser: Database user name (pandora by default)
|
|
|
|
dbuser pandora
|
|
|
|
# daemon: Runs in daemon mode (background) if 1, if 0 runs in foreground
|
|
# this could be setup on command line with -D option
|
|
|
|
# daemon 1
|
|
|
|
# dbpass: Database password
|
|
|
|
dbpass pandora
|
|
|
|
# dbhost: Database hostname or IP address
|
|
|
|
dbhost localhost
|
|
|
|
# verbosity: level of detail on errors/messages (0 default, 1 verbose, 2 debug.... 10 noisy)
|
|
# -v in command line (verbose) or -d (debug)
|
|
|
|
verbosity 1
|
|
|
|
# Alert threshold
|
|
|
|
alert_threshold 45
|
|
|
|
# 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 1
|
|
|
|
# Activate (1) Pandora Network Server
|
|
|
|
networkserver 1
|
|
|
|
# Activate (1) Pandora Data Server
|
|
|
|
dataserver 1
|
|
|
|
# Activate (1) Pandora FMS Recon server
|
|
|
|
reconserver 1
|
|
|
|
# Network timeout (in seconds) for timeout in network connections for Network agents
|
|
|
|
network_timeout 5
|
|
|
|
# Server keepalive (in seconds)
|
|
|
|
server_keepalive 50
|
|
|
|
# Server Threshold: defines number of seconds of main loop (in sec)
|
|
|
|
server_threshold 15
|
|
|
|
network_threads 5
|
|
|
|
# icmp_checks x : defines number of pings for each icmp_proc module type. at least one of that ping should be 1 to report 1
|
|
icmp_checks 2
|
|
|
|
# alert_recovery 1 | 0 : Defines if Pandora FMS launch another alert when alert condition is recovered. It
|
|
# has the same field1, but adds "[RECOVER]" to field2 and field3. Is disabled by default.
|
|
|
|
alert_recovery 1
|
|
|
|
# tcp specific options :
|
|
# tcp_checks: number of tcp retries if first attempt fails.
|
|
# tcp_timeout: specific timeout for tcp connections
|
|
|
|
tcp_checks 2
|
|
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 4
|
|
snmp_timeout 10
|
|
|
|
# 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 5
|
|
|
|
# plugin_timeout: Specify number of seconds calling plugin exec waiting for response
|
|
# after this time, call is aborted and result is "unknown".
|
|
|
|
plugin_timeout 5
|
|
|
|
# pluginserver : 1 or 0. Set to 1 to activate plugin server with this setup
|
|
|
|
pluginserver 1
|
|
|
|
# predictionserver : 1 or 0. Set to 1 to activate prediction server with this setup
|
|
|
|
predictionserver 1
|
|
|
|
# wmiserver : 1 or 0. Set to 1 to activate prediction server with this setup
|
|
|
|
wmiserver 1
|
|
|
|
# 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 3
|
|
|
|
# mta_address: External Mailer (MTA) IP Address to be used by Pandora FMS internal email capabilities
|
|
# mta_address 192.168.50.1
|
|
|
|
mta_address localhost
|
|
|
|
# mta_port: MTA port (default 25)
|
|
# mta_port 25
|
|
|
|
# mta_user: MTA User (if needed for auth)
|
|
# mta_pass: MTA Pass (if needed for auth)
|
|
# mta_auth: MTA Auth system (if needed, support: LOGIN PLAIN CRAM-MD5 DIGEST-MD)
|
|
|