mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch '815-modify-debug-text-line-in-pandora_agent.conf-files-dev' into 'develop'
Added new comment to debug in conf See merge request !669
This commit is contained in:
commit
97cfe0260a
@ -15,8 +15,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# Optional. UDP Server to receive orders from outside
|
# Optional. UDP Server to receive orders from outside
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Base config file for Pandora FMS Windows Agent
|
# Base config file for Pandora FMS Windows Agent
|
||||||
# (c) 2006-2010 Artica Soluciones Tecnologicas
|
# (c) 2006-2010 Artica Soluciones Tecnologicas
|
||||||
# Version 7.0NG.707
|
# Version 7.0NG.707
|
||||||
|
|
||||||
# This program is Free Software, you can redistribute it and/or modify it
|
# This program is Free Software, you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public Licence as published by the Free Software
|
# under the terms of the GNU General Public Licence as published by the Free Software
|
||||||
@ -11,109 +11,109 @@
|
|||||||
|
|
||||||
# Edit this file to change your parameters or/and add your own modules
|
# Edit this file to change your parameters or/and add your own modules
|
||||||
# Any line with a # character at the first column will be ignored (comment)
|
# Any line with a # character at the first column will be ignored (comment)
|
||||||
|
|
||||||
# General Parameters
|
# General Parameters
|
||||||
# ==================
|
# ==================
|
||||||
|
|
||||||
# NOTE: The variables $*$ will be substituted in the installation wizard
|
# NOTE: The variables $*$ will be substituted in the installation wizard
|
||||||
|
|
||||||
server_ip $ServerIP$
|
server_ip $ServerIP$
|
||||||
server_path $ServerPath$
|
server_path $ServerPath$
|
||||||
temporal $AgentTemp$
|
temporal $AgentTemp$
|
||||||
logfile $AgentLog$
|
logfile $AgentLog$
|
||||||
|
|
||||||
#include "C:\Archivos de programa\pandora_agent\pandora_agent_alt.conf"
|
#include "C:\Archivos de programa\pandora_agent\pandora_agent_alt.conf"
|
||||||
#broker_agent name_agent
|
#broker_agent name_agent
|
||||||
|
|
||||||
# Agent uses your hostname automatically, if you need to change agent name
|
# Agent uses your hostname automatically, if you need to change agent name
|
||||||
# use directive agent_name (do not use blank spaces, please).
|
# use directive agent_name (do not use blank spaces, please).
|
||||||
# This parameter is CASE SENSITIVE.
|
# This parameter is CASE SENSITIVE.
|
||||||
|
|
||||||
# agent_name My_Custom_Agent_name
|
|
||||||
|
|
||||||
#Parent agent_name
|
|
||||||
#parent_agent_name caprica
|
|
||||||
|
|
||||||
# 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
|
# agent_name My_Custom_Agent_name
|
||||||
# or setting a fixed IP address, like for example:
|
|
||||||
#address 192.168.36.73
|
#Parent agent_name
|
||||||
|
#parent_agent_name caprica
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# Group assigned for this agent (descriptive, p.e: Servers)
|
# Group assigned for this agent (descriptive, p.e: Servers)
|
||||||
group $AgentGroup$
|
group $AgentGroup$
|
||||||
|
|
||||||
# This limits operation if temporal dir has not enough free disk.
|
# This limits operation if temporal dir has not enough free disk.
|
||||||
#temporal_min_size 1024
|
#temporal_min_size 1024
|
||||||
|
|
||||||
# Delay start execution X second before start to minonitoring nothing
|
# Delay start execution X second before start to minonitoring nothing
|
||||||
#startup_delay 30
|
#startup_delay 30
|
||||||
|
|
||||||
# Interval is defined in seconds
|
# Interval is defined in seconds
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
|
# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
|
||||||
transfer_mode tentacle
|
transfer_mode tentacle
|
||||||
server_port 41121
|
server_port 41121
|
||||||
|
|
||||||
# In case of using FTP or tentacle with password. User is always "pandora"
|
# In case of using FTP or tentacle with password. User is always "pandora"
|
||||||
#server_pwd pandora
|
#server_pwd pandora
|
||||||
|
|
||||||
# Debug mode do not copy XML data files to server.
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# debug 1
|
# debug 1
|
||||||
|
|
||||||
# ODBC connections. Check documentation for more information.
|
# ODBC connections. Check documentation for more information.
|
||||||
# Configuring "ExampleDSN" DSN. Notice that this DSN connection must be configured
|
# Configuring "ExampleDSN" DSN. Notice that this DSN connection must be configured
|
||||||
# under Control panel -> Administrative tools -> ODBC -> DSN
|
# under Control panel -> Administrative tools -> ODBC -> DSN
|
||||||
# odbc_ExampleDSN_username UserNameForDsn
|
# odbc_ExampleDSN_username UserNameForDsn
|
||||||
# odbc_ExampleDSN_password Password1234
|
# odbc_ExampleDSN_password Password1234
|
||||||
|
|
||||||
# If set to 1 allows the agent to be configured via the web console
|
# If set to 1 allows the agent to be configured via the web console
|
||||||
# (only works on enterprise version).
|
# (only works on enterprise version).
|
||||||
# remote_config 1
|
# remote_config 1
|
||||||
|
|
||||||
# Set XML encoding (ISO-8859-1 by default).
|
# Set XML encoding (ISO-8859-1 by default).
|
||||||
#encoding ISO-8859-1
|
#encoding ISO-8859-1
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
# Max number of simmultaneus connection for proxy (by default 10)
|
# Max number of simmultaneus connection for proxy (by default 10)
|
||||||
# proxy_max_connection 10
|
# proxy_max_connection 10
|
||||||
|
|
||||||
# Proxy timeout (by default 1s)
|
# Proxy timeout (by default 1s)
|
||||||
# proxy_timeout 1
|
# proxy_timeout 1
|
||||||
|
|
||||||
# Enable or disable XML buffer.
|
# Enable or disable XML buffer.
|
||||||
xml_buffer 0
|
xml_buffer 0
|
||||||
|
|
||||||
# WMI by default. Set to NT if you don't want to use WMI.
|
# WMI by default. Set to NT if you don't want to use WMI.
|
||||||
win32_monitoring_lib NT
|
win32_monitoring_lib NT
|
||||||
|
|
||||||
# Secondary server configuration
|
# Secondary server configuration
|
||||||
# ==============================
|
# ==============================
|
||||||
|
|
||||||
# If secondary_mode is set to on_error, data files are copied to the secondary
|
# If secondary_mode is set to on_error, data files are copied to the secondary
|
||||||
# server only if the primary server fails. If set to always, data files are
|
# server only if the primary server fails. If set to always, data files are
|
||||||
# always copied to the secondary server.
|
# always copied to the secondary server.
|
||||||
#secondary_mode on_error
|
#secondary_mode on_error
|
||||||
#secondary_server_ip localhost
|
#secondary_server_ip localhost
|
||||||
#secondary_server_path /var/spool/pandora/data_in
|
#secondary_server_path /var/spool/pandora/data_in
|
||||||
#secondary_server_port 41121
|
#secondary_server_port 41121
|
||||||
#secondary_transfer_mode tentacle
|
#secondary_transfer_mode tentacle
|
||||||
#secondary_server_pwd mypassword
|
#secondary_server_pwd mypassword
|
||||||
#secondary_server_ssl no
|
#secondary_server_ssl no
|
||||||
#secondary_server_opts
|
#secondary_server_opts
|
||||||
|
|
||||||
# Module Definition
|
# Module Definition
|
||||||
# Check online documentation and module library at http://pandorafms.org
|
# Check online documentation and module library at http://pandorafms.org
|
||||||
# =================
|
# =================
|
||||||
|
|
||||||
# CPU Load using WMI
|
# CPU Load using WMI
|
||||||
module_begin
|
module_begin
|
||||||
module_name CPU Load
|
module_name CPU Load
|
||||||
module_type generic_data
|
module_type generic_data
|
||||||
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
|
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
|
||||||
module_wmicolumn LoadPercentage
|
module_wmicolumn LoadPercentage
|
||||||
module_description CPU Load (%)
|
module_description CPU Load (%)
|
||||||
@ -121,8 +121,8 @@ module_min_warning 80
|
|||||||
module_max_warning 90
|
module_max_warning 90
|
||||||
module_min_critical 91
|
module_min_critical 91
|
||||||
module_max_critical 100
|
module_max_critical 100
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
# Number processes
|
# Number processes
|
||||||
module_begin
|
module_begin
|
||||||
module_name Number processes
|
module_name Number processes
|
||||||
|
@ -11,7 +11,7 @@ pandora_path /usr/share/pandora_agent
|
|||||||
temporal /var/spool/pandora/data_out
|
temporal /var/spool/pandora/data_out
|
||||||
interval 300
|
interval 300
|
||||||
checksum 0
|
checksum 0
|
||||||
#agent_name adama
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
debug 0
|
debug 0
|
||||||
# By default is 22 (for ssh)
|
# By default is 22 (for ssh)
|
||||||
#server_port 22
|
#server_port 22
|
||||||
|
@ -13,6 +13,7 @@ pandora_path /opt/pandora_agent
|
|||||||
temporal /var/spool/pandora/data_out
|
temporal /var/spool/pandora/data_out
|
||||||
interval 600
|
interval 600
|
||||||
agent_name nokia
|
agent_name nokia
|
||||||
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
debug 0
|
debug 0
|
||||||
checksum 0
|
checksum 0
|
||||||
harmless_mode 1
|
harmless_mode 1
|
||||||
|
@ -11,6 +11,7 @@ temporal /var/spool/pandora/data_out
|
|||||||
interval 300
|
interval 300
|
||||||
#agent_name satellite_system
|
#agent_name satellite_system
|
||||||
checksum 1
|
checksum 1
|
||||||
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# Module Definition
|
# Module Definition
|
||||||
|
@ -15,8 +15,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -15,8 +15,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -14,8 +14,7 @@ logfile /opt/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 30
|
interval 30
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -11,6 +11,7 @@ temporal /var/spool/pandora/data_out
|
|||||||
interval 300
|
interval 300
|
||||||
#agent_name satellite_system
|
#agent_name satellite_system
|
||||||
checksum 0
|
checksum 0
|
||||||
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
debug 0
|
debug 0
|
||||||
# By default is 22 (for ssh)
|
# By default is 22 (for ssh)
|
||||||
#server_port 22
|
#server_port 22
|
||||||
|
@ -15,8 +15,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# Optional. UDP Server to receive orders from outside
|
# Optional. UDP Server to receive orders from outside
|
||||||
|
@ -18,8 +18,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# Optional. UDP Server to receive orders from outside
|
# Optional. UDP Server to receive orders from outside
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
@ -17,8 +17,7 @@ logfile /var/log/pandora/pandora_agent.log
|
|||||||
# Interval in seconds, 300 by default
|
# Interval in seconds, 300 by default
|
||||||
interval 300
|
interval 300
|
||||||
|
|
||||||
# Debug mode only generate XML, and stop after first execution,
|
# Debug mode renames XML in the temp folder and continues running
|
||||||
# and does not copy XML to server.
|
|
||||||
debug 0
|
debug 0
|
||||||
|
|
||||||
# By default, agent takes machine name
|
# By default, agent takes machine name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user