Updated pandora_agent.conf for FreeBSD.
This commit is contained in:
parent
e248496ded
commit
db86a091a8
|
@ -1,7 +1,7 @@
|
||||||
# Base config file for Pandora FMS agents
|
# Base config file for Pandora FMS agents
|
||||||
# Version 5.1SP4, FreeBSD Version
|
# Version 5.1SP4, FreeBSD Version
|
||||||
# Licensed under GPL license v2,
|
# Licensed under GPL license v2,
|
||||||
# Copyright (c) 2003-2010 Artica Soluciones Tecnologicas
|
# Copyright (c) 2003-2016 Artica Soluciones Tecnologicas
|
||||||
# http://www.pandorafms.com
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# General Parameters
|
# General Parameters
|
||||||
|
@ -21,6 +21,18 @@ interval 300
|
||||||
# and does not copy XML to server.
|
# and does not copy XML to server.
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
|
# Optional. UDP Server to receive orders from outside
|
||||||
|
# By default is disabled, set 1 to enable
|
||||||
|
# Set port (41122 by default)
|
||||||
|
# Set address to restrict who can order a agent restart (0.0.0.0 = anybody)
|
||||||
|
#
|
||||||
|
udp_server 0
|
||||||
|
udp_server_port 41122
|
||||||
|
udp_server_auth_address 0.0.0.0
|
||||||
|
|
||||||
|
#process_xeyes_start xeyes
|
||||||
|
#process_xeyes_stop killall xeyes
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
#agent_name adama
|
#agent_name adama
|
||||||
|
|
||||||
|
@ -48,6 +60,13 @@ group Servers
|
||||||
# Agent position paramters
|
# Agent position paramters
|
||||||
# Those parameters define the geographical position of the agent
|
# Those parameters define the geographical position of the agent
|
||||||
|
|
||||||
|
# gis_exec: Call a script that returns a string with a fixed
|
||||||
|
# format of latitude,longitude,altitude
|
||||||
|
# i.e.: 41.377,-5.105,2.365
|
||||||
|
|
||||||
|
#gis_exec /tmp/gis.sh
|
||||||
|
|
||||||
|
# This sets the GIS coordinates as fixed values:
|
||||||
# latitude
|
# latitude
|
||||||
#latitude 0
|
#latitude 0
|
||||||
# longitude
|
# longitude
|
||||||
|
@ -55,7 +74,7 @@ group Servers
|
||||||
# altitude
|
# altitude
|
||||||
#altitude 0
|
#altitude 0
|
||||||
|
|
||||||
#Position description
|
#GPS Position description
|
||||||
#position_description Madrid, centro
|
#position_description Madrid, centro
|
||||||
|
|
||||||
# By default agent try to take default encoding defined in host.
|
# By default agent try to take default encoding defined in host.
|
||||||
|
@ -92,7 +111,7 @@ transfer_mode tentacle
|
||||||
#cron_mode
|
#cron_mode
|
||||||
|
|
||||||
# If set to 1 allows the agent to be configured via the web console (Only Enterprise version)
|
# If set to 1 allows the agent to be configured via the web console (Only Enterprise version)
|
||||||
# remote_config 1
|
remote_config 0
|
||||||
|
|
||||||
# If set to 1 start Drone Agent's Proxy Mode
|
# If set to 1 start Drone Agent's Proxy Mode
|
||||||
# proxy_mode 1
|
# proxy_mode 1
|
||||||
|
@ -107,7 +126,15 @@ transfer_mode tentacle
|
||||||
#agent_threads 1
|
#agent_threads 1
|
||||||
|
|
||||||
# User the agent will run as
|
# User the agent will run as
|
||||||
#pandora_user root
|
#pandora_user pandora
|
||||||
|
|
||||||
|
# Enable or disable XML buffer.
|
||||||
|
# If you are in a secured environment and want to enable the XML buffer you
|
||||||
|
# should consider changing the temporal directory, since /tmp is world writable.
|
||||||
|
xml_buffer 1
|
||||||
|
|
||||||
|
# Minimum available bytes in the temporal directory to enable the XML buffer
|
||||||
|
temporal_min_size 1024
|
||||||
|
|
||||||
# Secondary server configuration
|
# Secondary server configuration
|
||||||
# ==============================
|
# ==============================
|
||||||
|
@ -205,7 +232,10 @@ module_type async_string
|
||||||
module_exec last | head -1
|
module_exec last | head -1
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
# Plugin example
|
|
||||||
|
# This plugin detects all disk and report free space (%)
|
||||||
|
|
||||||
|
module_plugin pandora_df_free
|
||||||
|
|
||||||
# This parses /var/log/auth.log file, under the module name "syslog"
|
# This parses /var/log/auth.log file, under the module name "syslog"
|
||||||
# And search for "sshd" string into it, sending only that information.
|
# And search for "sshd" string into it, sending only that information.
|
||||||
|
@ -214,3 +244,7 @@ module_plugin grep_log /var/log/auth.log Syslog sshd
|
||||||
|
|
||||||
# Plugin for inventory on the agent (Only Enterprise)
|
# Plugin for inventory on the agent (Only Enterprise)
|
||||||
# module_plugin inventory 1 cpu ram video nic hd cdrom software init_services filesystem users route
|
# module_plugin inventory 1 cpu ram video nic hd cdrom software init_services filesystem users route
|
||||||
|
|
||||||
|
# Log collection modules. Only for enterprise version, this will collect log files for forensic analysis.
|
||||||
|
# This is for LOG monitoring, only on enterprise version
|
||||||
|
#module_plugin grep_log_module /var/log/messages Syslog \.\*
|
||||||
|
|
Loading…
Reference in New Issue