Updated configuration files for FreeBSD.
This commit is contained in:
parent
9e3b5559ee
commit
892621e5aa
|
@ -11,6 +11,7 @@ server_ip localhost
|
||||||
server_path /var/spool/pandora/data_in
|
server_path /var/spool/pandora/data_in
|
||||||
temporal /tmp
|
temporal /tmp
|
||||||
logfile /var/log/pandora/pandora_agent.log
|
logfile /var/log/pandora/pandora_agent.log
|
||||||
|
|
||||||
#include /etc/pandora/pandora_agent_alt.conf
|
#include /etc/pandora/pandora_agent_alt.conf
|
||||||
#broker_agent name_agent
|
#broker_agent name_agent
|
||||||
|
|
||||||
|
@ -49,10 +50,16 @@ udp_server_auth_address 0.0.0.0
|
||||||
# Group assigned for this agent (descriptive, p.e: Servers)
|
# Group assigned for this agent (descriptive, p.e: Servers)
|
||||||
group Servers
|
group Servers
|
||||||
|
|
||||||
|
# address: Enforce to server a ip address to this agent
|
||||||
|
# You can also try to detect the first IP using "auto", for example
|
||||||
|
address auto
|
||||||
|
# or setting a fixed IP address, like for example:
|
||||||
|
#address 192.168.36.73
|
||||||
|
|
||||||
# Autotime: Enforce to server to ignore timestamp coming from this
|
# Autotime: Enforce to server to ignore timestamp coming from this
|
||||||
# agent, used when agents has no timer or it's inestable. 1 to enable
|
# agent, used when agents has no timer or it's inestable. 1 to enable
|
||||||
# this feature
|
# this feature
|
||||||
# autotime 1
|
#autotime 1
|
||||||
|
|
||||||
# Timezone offset: Difference with the server timezone
|
# Timezone offset: Difference with the server timezone
|
||||||
#timezone_offset 0
|
#timezone_offset 0
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Pandora FMS Server Parameters
|
# Pandora FMS Server Parameters
|
||||||
# Pandora FMS, the Flexible Monitoring System.
|
# Pandora FMS, the Flexible Monitoring System.
|
||||||
# Version 5.1SP1
|
# Version 6.0SP4
|
||||||
# Licensed under GPL license v2,
|
# Licensed under GPL license v2,
|
||||||
# (c) 2003-2014 Artica Soluciones Tecnologicas
|
# (c) 2003-2016 Artica Soluciones Tecnologicas
|
||||||
# http://www.pandorafms.com
|
# http://www.pandorafms.com
|
||||||
# Please change it for your setup needs
|
# Please change it for your setup needs
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
@ -78,8 +78,9 @@ dbhost 127.0.0.1
|
||||||
|
|
||||||
verbosity 3
|
verbosity 3
|
||||||
|
|
||||||
# Master Server, 1 if master server (normal mode), 0 for slave mode (slave in multi-server setup)
|
# 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.
|
||||||
master 1
|
master 1
|
||||||
|
|
||||||
# Activate Pandora SNMP console (depending on snmptrapd)
|
# Activate Pandora SNMP console (depending on snmptrapd)
|
||||||
|
@ -106,6 +107,10 @@ snmp_ignore_authfailure 1
|
||||||
|
|
||||||
snmp_pdu_address 0
|
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
|
||||||
|
|
||||||
# Activate (1) Pandora Network Server
|
# Activate (1) Pandora Network Server
|
||||||
|
|
||||||
networkserver 1
|
networkserver 1
|
||||||
|
@ -171,7 +176,6 @@ icmp_packets 1
|
||||||
|
|
||||||
tcp_checks 1
|
tcp_checks 1
|
||||||
tcp_timeout 10
|
tcp_timeout 10
|
||||||
|
|
||||||
# snmp specific options :
|
# snmp specific options :
|
||||||
# snmp_checks: number of snmp request retries if first attempt fails.
|
# snmp_checks: number of snmp request retries if first attempt fails.
|
||||||
# snmp_timeout: specific timeout for snmp request.
|
# snmp_timeout: specific timeout for snmp request.
|
||||||
|
@ -251,6 +255,7 @@ xprobe2 /usr/local/bin/xprobe2
|
||||||
|
|
||||||
nmap /usr/local/bin/nmap
|
nmap /usr/local/bin/nmap
|
||||||
|
|
||||||
|
# Default path is /usr/sbin/fping for installation default in distro Centos , if you are installing in other distribution,
|
||||||
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
# Path to the fping binary. Used by the Enterprise ICMP Server.
|
||||||
fping /usr/local/sbin/fping
|
fping /usr/local/sbin/fping
|
||||||
|
|
||||||
|
@ -261,7 +266,6 @@ nmap_timing_template 2
|
||||||
recon_timing_template 3
|
recon_timing_template 3
|
||||||
|
|
||||||
# snmpget: Needed to do SNMP checks. By default is on /usr/local/bin/snmpget
|
# snmpget: Needed to do SNMP checks. By default is on /usr/local/bin/snmpget
|
||||||
|
|
||||||
snmpget /usr/local/bin/snmpget
|
snmpget /usr/local/bin/snmpget
|
||||||
|
|
||||||
# snmp_trapd: Needed by Pandora FMS SNMP console.
|
# snmp_trapd: Needed by Pandora FMS SNMP console.
|
||||||
|
@ -278,6 +282,8 @@ braa_retries 3
|
||||||
|
|
||||||
# Default group id for new agents created with Pandora FMS Data Server
|
# Default group id for new agents created with Pandora FMS Data Server
|
||||||
# If this token is enabled and Agent is setup with a fixed group, server settings will override agent settings
|
# 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
|
autocreate_group 10
|
||||||
|
|
||||||
|
@ -294,13 +300,14 @@ max_log_size 1048576
|
||||||
# max_log_generation: Specify max generation count (between 1 and 9) of Pandora FMS server log files.
|
# max_log_generation: Specify max generation count (between 1 and 9) of Pandora FMS server log files.
|
||||||
max_log_generation 1
|
max_log_generation 1
|
||||||
|
|
||||||
# max_queue_files (500 by default)
|
# max_queue_files (5000 by default)
|
||||||
# When server have more than max_queue_files in incoming directory, skips the read
|
# When server have more than max_queue_files in incoming directory, skips the read
|
||||||
# the directory to avoid filesystem overhead.
|
# the directory to avoid filesystem overhead.
|
||||||
|
|
||||||
max_queue_files 500
|
max_queue_files 5000
|
||||||
|
|
||||||
# Use the XML file last modification time as timestamp.
|
# Use the XML file last modification time as timestamp.
|
||||||
|
|
||||||
# use_xml_timestamp 1
|
# use_xml_timestamp 1
|
||||||
|
|
||||||
# Pandora FMS will autorestart itself each XXX seconds, use this if you experience problems with
|
# Pandora FMS will autorestart itself each XXX seconds, use this if you experience problems with
|
||||||
|
@ -347,6 +354,9 @@ restart_delay 60
|
||||||
|
|
||||||
self_monitoring 1
|
self_monitoring 1
|
||||||
|
|
||||||
|
# Self monitoring interval (in seconds).
|
||||||
|
self_monitoring_interval 300
|
||||||
|
|
||||||
# Update parent from the agent xml
|
# Update parent from the agent xml
|
||||||
|
|
||||||
#update_parent 1
|
#update_parent 1
|
||||||
|
@ -408,12 +418,12 @@ icmpserver 1
|
||||||
|
|
||||||
# Number of threads for the Enterprise ICMP Server (PANDORA FMS ENTERPRISE ONLY).
|
# Number of threads for the Enterprise ICMP Server (PANDORA FMS ENTERPRISE ONLY).
|
||||||
|
|
||||||
icmp_threads 1
|
icmp_threads 4
|
||||||
|
|
||||||
# Enable (1) or disable (0) Pandora FMS Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
# Enable (1) or disable (0) Pandora FMS Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
||||||
# Check braa tool is running and operative.
|
# Check braa tool is running and operative.
|
||||||
|
|
||||||
snmpserver 1
|
snmpserver 4
|
||||||
|
|
||||||
# Number of threads for the Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
# Number of threads for the Enterprise SNMP Server (PANDORA FMS ENTERPRISE ONLY).
|
||||||
|
|
||||||
|
@ -481,9 +491,53 @@ claim_back_snmp_modules 1
|
||||||
# interval will become normal. Set to 0 to disable.
|
# interval will become normal. Set to 0 to disable.
|
||||||
async_recovery 1
|
async_recovery 1
|
||||||
|
|
||||||
|
# Console API credentials.
|
||||||
|
# Required for some features like the module graphs macros.
|
||||||
|
|
||||||
|
# console_api_url: Api URL (http://localhost/pandora_console/include/api.php by default)
|
||||||
|
console_api_url http://localhost/pandora_console/include/api.php
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
console_pass pandora
|
||||||
|
|
||||||
# Passphrase used to generate the key for password encryption (PANDORA FMS ENTERPRISE ONLY).
|
# Passphrase used to generate the key for password encryption (PANDORA FMS ENTERPRISE ONLY).
|
||||||
#encryption_passphrase passphrase
|
#encryption_passphrase passphrase
|
||||||
|
|
||||||
|
# Enable (1) or disable (0) events related to the unknown module status.
|
||||||
|
unknown_events 1
|
||||||
|
|
||||||
# Time interval (as a multiple of the module interval) before a module becomes unknown. Twice the module's interval by default.
|
# Time interval (as a multiple of the module interval) before a module becomes unknown. Twice the module's interval by default.
|
||||||
#unknown_interval 2
|
#unknown_interval 2
|
||||||
|
|
||||||
|
# Maximum executing time of an alert (in seconds)
|
||||||
|
global_alert_timeout 15
|
||||||
|
|
||||||
|
# If set to 1 allows PandoraFMS Server to be configured via the web console (PANDORA FMS ENTERPRISE ONLY).
|
||||||
|
remote_config 0
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Directory were additional enc files for the XML parser are located.
|
||||||
|
enc_dir /usr/local/share/pandora_server/enc/
|
||||||
|
|
Loading…
Reference in New Issue