2006-07-06 13:02:32 +02:00
|
|
|
# Fichero de configuracion base de agentes de Pandora
|
|
|
|
# Base config file for Pandora agents
|
2006-09-20 20:00:22 +02:00
|
|
|
# Version 1.2 Beta 3
|
2006-07-06 13:02:32 +02:00
|
|
|
# (c) 2006 Esteban Sanchez
|
|
|
|
# (c) 2006 Artica Soluciones Tecnologicas
|
|
|
|
# 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
|
|
|
|
# Foundation; either version 2 of the Licence or any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY, without ever the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
# FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
# General Parameters
|
|
|
|
# ==================
|
|
|
|
|
2006-07-17 10:19:35 +02:00
|
|
|
server_ip 127.0.0.1
|
2006-07-06 13:02:32 +02:00
|
|
|
server_path /opt/pandora_server/data_in
|
2006-09-20 20:00:22 +02:00
|
|
|
temporal "C:\temp"
|
2006-07-06 13:02:32 +02:00
|
|
|
interval 1
|
2006-07-17 10:17:58 +02:00
|
|
|
agent_name localhost
|
2006-07-06 13:02:32 +02:00
|
|
|
|
|
|
|
# Module Definition
|
|
|
|
# =================
|
|
|
|
|
|
|
|
|
2006-07-06 19:17:49 +02:00
|
|
|
# Counting OpenedConnections (check the language string)
|
2006-07-06 13:02:32 +02:00
|
|
|
module_begin
|
2006-07-06 19:17:49 +02:00
|
|
|
module_name OpenNetConnections
|
|
|
|
module_type generic_data
|
|
|
|
module_exec netstat -na | grep ESTAB | wc -l | tr -d " "
|
2006-09-20 20:00:22 +02:00
|
|
|
module_description Open Connections (interval 2)
|
2006-07-06 13:02:32 +02:00
|
|
|
module_interval 2
|
|
|
|
module_end
|
|
|
|
|
2006-07-06 19:17:49 +02:00
|
|
|
# Is Schedule service running ?
|
2006-07-06 13:02:32 +02:00
|
|
|
module_begin
|
|
|
|
module_name ServicioProg
|
|
|
|
module_type generic_proc
|
|
|
|
module_service Schedule
|
2006-09-20 20:00:22 +02:00
|
|
|
module_description Schedule Service
|
2006-07-06 13:02:32 +02:00
|
|
|
module_end
|
|
|
|
|
2006-07-06 19:17:49 +02:00
|
|
|
# Is Eventlog service running ?
|
2006-07-06 13:02:32 +02:00
|
|
|
module_begin
|
|
|
|
module_name ServicioReg
|
|
|
|
module_type generic_proc
|
|
|
|
module_service Eventlog
|
2006-09-20 20:00:22 +02:00
|
|
|
module_description Eventlog Service
|
2006-07-06 13:02:32 +02:00
|
|
|
module_end
|
|
|
|
|
2006-07-06 19:17:49 +02:00
|
|
|
# Is lsass.exe process alive ?
|
|
|
|
module_begin
|
|
|
|
module_name Proc_lsass
|
|
|
|
module_type generic_proc
|
|
|
|
module_proc "lsass.exe"
|
2006-09-20 20:00:22 +02:00
|
|
|
module_description LSASS Process
|
2006-07-06 19:17:49 +02:00
|
|
|
module_end
|
|
|
|
|
|
|
|
# Received packets
|
|
|
|
module_begin
|
|
|
|
module_name ReceivedPackets
|
|
|
|
module_type generic_data
|
2006-09-20 20:00:22 +02:00
|
|
|
module_exec netstat -s | grep "Packets Received" | tr -d " " | cut -f 2 -d "=" | tr -d "\n"
|
|
|
|
module_description Received packets (interval 2)
|
2006-07-12 12:57:20 +02:00
|
|
|
module_end
|
|
|
|
|
|
|
|
# Free space on disk
|
|
|
|
module_begin
|
|
|
|
module_name FreeDiskC
|
|
|
|
module_type generic_data
|
|
|
|
module_freedisk C:
|
|
|
|
module_description Free space on drive C:
|
|
|
|
module_end
|
|
|
|
|
|
|
|
# CPU usage percentage
|
|
|
|
module_begin
|
|
|
|
module_name CPUUse0
|
|
|
|
module_type generic_data
|
|
|
|
module_cpuusage 0
|
|
|
|
module_description CPU#0 usage
|
|
|
|
module_end
|
|
|
|
|
2006-07-13 12:38:32 +02:00
|
|
|
module_begin
|
|
|
|
module_name FreeMemory
|
|
|
|
module_type generic_data
|
|
|
|
module_freememory
|
|
|
|
module_description Amount of free memory.
|
|
|
|
module_end
|