From 4670bc14a0b7ceb49a9f535c151279a503e8af5b Mon Sep 17 00:00:00 2001 From: raulmateos Date: Wed, 20 Sep 2006 18:00:22 +0000 Subject: [PATCH] 2006-09-20 Raul Mateos * win32\bin\pandora_agent.conf: Updated some texts to english * win32\bin\README: Added git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/win32/bin/README | 51 +++++++++++++++++++++ pandora_agents/win32/bin/pandora_agent.conf | 18 ++++---- 2 files changed, 59 insertions(+), 10 deletions(-) create mode 100644 pandora_agents/win32/bin/README diff --git a/pandora_agents/win32/bin/README b/pandora_agents/win32/bin/README new file mode 100644 index 0000000000..891ed7d2a5 --- /dev/null +++ b/pandora_agents/win32/bin/README @@ -0,0 +1,51 @@ +Pandora is the free Distributed Monitoring System. + +This is the Windows agent, programmed in C++ with GNU tools and gcc. + +Please, read the INSTALL file first. + +You can test the SSH configuration of the agent with command line: + + PandoraAgent.exe --test-ssh + +There is a configuration file, called pandora_agent.conf, where you can find +these directives (this is a small summary, more information at + http://pandora.sourceforge.net): + +server_ip - Hostname or Pandora Server IP where the gathered data will be sent. + +server_path - Path where the server will store the data sent by agent. +Usually is "/opt/pandora/data_in". + +temporal - Path where the agent stores locally data before send them +to the Pandora Server. The agent deletes the data every time it tries +to connect to Pandora Server. + +interval - Period in seconds between every time the agent sends data +to Pandora Server. Usually its value is 300 (5 minutes). + +agent_name - Alternative name of the Agent. This directive is optional, + the name is taken from the system where the agent runs. + +hostname - Alternative name of the host. This directive is optional, + the name is taken from the system where the agent runs. + +private_key - Path to the pandora agent private key. + +module_begin - Beginning of a module + +module_end - End of a module + +module_name - Name for the identification of the module + +module_type - Type of data of the module: + - generic_data - It's a simple numeric, floating point or integer. + - generic_data_inc - It's an integer numeric, difference between the data + collected previously with the data collected at that moment. + - generic_data_string - Text String. + - generic_proc - It stores the state of processes numerically. + Its value is 0 for a "bad" state and any number greater than 0 for the + "good" state. + +module_description - Description of the module :-D + diff --git a/pandora_agents/win32/bin/pandora_agent.conf b/pandora_agents/win32/bin/pandora_agent.conf index 4adea6ae83..8614913658 100644 --- a/pandora_agents/win32/bin/pandora_agent.conf +++ b/pandora_agents/win32/bin/pandora_agent.conf @@ -1,6 +1,6 @@ # Fichero de configuracion base de agentes de Pandora # Base config file for Pandora agents -# Version 1.2 Beta 2 +# Version 1.2 Beta 3 # (c) 2006 Esteban Sanchez # (c) 2006 Artica Soluciones Tecnologicas # This program is Free Software, you can redistribute it and/or modify it @@ -15,7 +15,7 @@ server_ip 127.0.0.1 server_path /opt/pandora_server/data_in -temporal "D:\temp" +temporal "C:\temp" interval 1 agent_name localhost @@ -28,7 +28,7 @@ module_begin module_name OpenNetConnections module_type generic_data module_exec netstat -na | grep ESTAB | wc -l | tr -d " " -module_description Conexiones abiertas (interval 2) +module_description Open Connections (interval 2) module_interval 2 module_end @@ -37,7 +37,7 @@ module_begin module_name ServicioProg module_type generic_proc module_service Schedule -module_description Servicio Programador de tareas +module_description Schedule Service module_end # Is Eventlog service running ? @@ -45,7 +45,7 @@ module_begin module_name ServicioReg module_type generic_proc module_service Eventlog -module_description Servicio Registro de sucesos +module_description Eventlog Service module_end # Is lsass.exe process alive ? @@ -53,15 +53,15 @@ module_begin module_name Proc_lsass module_type generic_proc module_proc "lsass.exe" -module_description Proceso LSASS.exe +module_description LSASS Process module_end # Received packets module_begin module_name ReceivedPackets module_type generic_data -module_exec netstat -s | grep "Paquetes recibidos "| tr -d " " | cut -f 2 -d "=" | tr -d "\n" -module_description Conexiones abiertas (interval 2) +module_exec netstat -s | grep "Packets Received" | tr -d " " | cut -f 2 -d "=" | tr -d "\n" +module_description Received packets (interval 2) module_end # Free space on disk @@ -86,5 +86,3 @@ module_type generic_data module_freememory module_description Amount of free memory. module_end - -