2008-02-20 03:09:36 +01:00
|
|
|
#############################################################################
|
2006-03-27 05:37:27 +02:00
|
|
|
# Pandora Server Parameters, 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.
|
|
|
|
|
2007-07-31 19:26:09 +02:00
|
|
|
#servername endor
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
2007-05-24 23:14:06 +02:00
|
|
|
# dbname: Database name (pandora by default
|
|
|
|
|
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
|
|
|
# daemon: Runs in daemon mode (background) if 1, if 0 runs in foreground
|
|
|
|
# this could be setup on command line with -D option
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2006-07-06 19:14:19 +02:00
|
|
|
# daemon 1
|
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
|
|
|
|
2006-06-28 19:08:22 +02:00
|
|
|
dbhost localhost
|
2006-03-27 05:37:27 +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)
|
|
|
|
|
2007-07-20 12:53:19 +02:00
|
|
|
verbosity 1
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Alert threshold
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-05-24 23:14:06 +02:00
|
|
|
alert_threshold 45
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Master Server, 1 if master server (normal mode), 0 for slave mode (slave in multi-server setup)
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-07-31 19:26:09 +02:00
|
|
|
master 1
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Check datafiles using a MD5 hash, 1 to check (default), 0 to ignore .checksum
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2006-07-06 19:14:19 +02:00
|
|
|
checksum 0
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Activate Pandora SNMP console (depending on snmptrapd)
|
|
|
|
# only available on Pandora Network server
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2006-03-27 05:37:27 +02:00
|
|
|
snmpconsole 1
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2007-03-12 18:41:58 +01:00
|
|
|
# Activate (1) Pandora FMS Recon server
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-03-12 18:41:58 +01:00
|
|
|
reconserver 1
|
|
|
|
|
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
|
|
|
|
2007-08-21 20:14:40 +02:00
|
|
|
network_timeout 5
|
2006-07-01 03:54:36 +02:00
|
|
|
|
|
|
|
# Server keepalive (in seconds)
|
2007-03-29 12:42:34 +02:00
|
|
|
|
2007-07-20 12:53:19 +02:00
|
|
|
server_keepalive 50
|
2007-03-29 12:42:34 +02:00
|
|
|
|
|
|
|
# Server Threshold: defines number of seconds of main loop (in sec)
|
|
|
|
|
2007-07-20 12:53:19 +02:00
|
|
|
server_threshold 15
|
2007-07-18 19:53:17 +02:00
|
|
|
|
|
|
|
network_threads 5
|
2007-07-20 12:53:19 +02:00
|
|
|
|
2007-10-04 12:45:46 +02:00
|
|
|
# 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
|
2008-02-20 03:09:36 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2008-02-25 19:00:09 +01:00
|
|
|
# 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
|