2006-03-27 05:37:27 +02:00
|
|
|
# Fichero de configuracion base de agentes de Pandora
|
|
|
|
# Base config file for Pandora agents
|
2020-09-08 15:00:36 +02:00
|
|
|
# Version 7.0NG.749, AIX version
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# General Parameters
|
|
|
|
# ==================
|
|
|
|
|
2006-07-06 19:17:49 +02:00
|
|
|
server_ip 192.168.50.1
|
2007-04-11 16:14:32 +02:00
|
|
|
server_path /var/spool/pandora/data_in
|
2007-04-11 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agent.conf, pandora_agents.spec: Changed
PATHS to adapt them to the upcoming 1.3 release.
* pandora_agents/bsd-ipso/pandora_agent_daemon, pandora_agent.conf,
pandora_agent.sh: Changed PATHS to adapt them to
the upcoming 1.3 release.
* pandora_agents/aix/pandora_agent_daemon, pandora_agent.conf,
pandora_agent.sh: Changed PATHS to adapt them
to the upcoming 1.3 release.
* pandora_agents/hp-ux/pandora_agent_daemon, pandora_agent.conf,
pandora_agent.sh: Changed PATHS to adapt them
to the upcoming 1.3 release.
* pandora_agents/win32/bin/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release.
* pandora_agents/meta_agent/pandora_agent_sim.sh, pandora_agent_daemon,
pandora_agent_1.conf, pandora_agent_2.conf, pandora_agent_3.conf,
pandora_agent_4.conf, pandora_agent_5.conf: Changed PATHS
to adapt them to the upcoming 1.3 release.
* pandora_agents/solaris/pandora_agent_daemon, pandora_agent.conf,
pandora_agent.sh: Changed PATHS to adapt them to the upcoming
1.3 release.
* pandora_server/pandora_network, pandora_snmpconsole, pandora_server
pandora_recon: Changed PATHS to adapt them to the
upcoming 1.3 release.
* pandora_server/specs/fedoracore5/pandora_server.spec: Changed
PATHS to adapt them to the upcoming 1.3 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 14:52:04 +02:00
|
|
|
pandora_path /usr/share/pandora_agent
|
2007-04-11 16:14:32 +02:00
|
|
|
temporal /var/spool/pandora/data_out
|
2007-06-12 11:32:54 +02:00
|
|
|
interval 300
|
|
|
|
checksum 0
|
2017-07-18 13:31:50 +02:00
|
|
|
# Debug mode renames XML in the temp folder and continues running
|
2007-06-25 13:23:43 +02:00
|
|
|
debug 0
|
2007-06-12 11:32:54 +02:00
|
|
|
# By default is 22 (for ssh)
|
|
|
|
#server_port 22
|
|
|
|
|
|
|
|
# ftp, ssh or local
|
|
|
|
transfer_mode ssh
|
|
|
|
|
|
|
|
# delayed_startup defines number of MINUTES before start execution
|
|
|
|
# for first time when startup Pandora Agent
|
|
|
|
|
2007-06-14 17:27:04 +02:00
|
|
|
#delayed_startup 90
|
2007-06-12 11:32:54 +02:00
|
|
|
|
|
|
|
#Pandora nice defines priority of execution. Less priority means more intensive execution
|
2007-06-25 13:23:43 +02:00
|
|
|
#A recommended value for stressed sytems is 10. 0 priority means no Pandora CPU protection enabled
|
|
|
|
#pandora_nice 0
|
2006-03-27 05:37:27 +02:00
|
|
|
|
|
|
|
# Module Definition
|
|
|
|
# =================
|
|
|
|
|
|
|
|
#packets sent
|
|
|
|
module_begin
|
|
|
|
module_name packets_sent
|
|
|
|
module_type generic_data_inc
|
|
|
|
module_exec netstat -as | grep "packets sent from this host" | head -1 | awk ' { print $1 } '
|
|
|
|
module_end
|
|
|
|
|
|
|
|
#packets for this host
|
|
|
|
module_begin
|
|
|
|
module_name packets_rcv
|
|
|
|
module_type generic_data_inc
|
|
|
|
module_exec netstat -as | grep "packets for this host" | head -1 | awk ' { print $1 } '
|
|
|
|
module_end
|
|
|
|
|
|
|
|
#total packets received
|
|
|
|
module_begin
|
|
|
|
module_name packets_rcv_total
|
|
|
|
module_type generic_data_inc
|
|
|
|
module_exec netstat -as | grep "total packets received" | head -1 |awk ' { print $1 } '
|
|
|
|
module_end
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name process
|
|
|
|
module_type generic_data
|
|
|
|
module_exec ps -A | wc -l | awk '{ print $1 }'
|
|
|
|
module_end
|
|
|
|
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name cpu_user
|
|
|
|
module_type generic_data
|
|
|
|
module_exec vmstat | tail -1 | awk '{ print $14 }'
|
|
|
|
module_end
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name cpu_sys
|
|
|
|
module_type generic_data
|
2006-07-06 19:17:49 +02:00
|
|
|
module_interval 2
|
2006-03-27 05:37:27 +02:00
|
|
|
module_exec vmstat | tail -1 | awk '{ print $15 }'
|
|
|
|
module_end
|
|
|
|
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name disk_var_free
|
|
|
|
module_type generic_data
|
|
|
|
module_exec df -k | grep /var | tr -s "%" " " | awk '{ print 100 - $4 }'
|
|
|
|
module_end
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name mem_free
|
|
|
|
module_type generic_data
|
|
|
|
module_exec vmstat | tail -1 | awk '{ print $4 }'
|
|
|
|
module_end
|
2007-06-12 11:32:54 +02:00
|
|
|
|