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
|
2008-03-07 17:25:50 +01:00
|
|
|
|
|
|
|
# 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
|
2008-06-13 18:42:35 +02:00
|
|
|
|
|
|
|
# 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)
|
|
|
|
|
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
|
|
|
# xprobe: If provided, is used to detect with recon server, OS fingerprint
|
|
|
|
# of detected hosts. Xprobe2 is a GNU tool to detect OS types.
|
|
|
|
|
|
|
|
xprobe2 /usr/bin/xprobe2
|
|
|
|
|
|
|
|
# Default group id for new agents created with Pandora FMS Data Server
|
|
|
|
autocreate_group 2
|
|
|
|
|
|
|
|
# Set to 1 if want to autocreate agents with Pandora FMS Data Server,
|
|
|
|
# set to 0 to disable
|
|
|
|
|
|
|
|
autocreate 1
|
2008-06-19 02:14:17 +02:00
|
|
|
|
|
|
|
# recon_threads (3 by default)
|
|
|
|
|
|
|
|
recon_threads 3
|