diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 0901ee61c6..63d6e37cbc 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,14 @@ +2008-07-30 Sancho Lerena + + * win32/installer/pandora.ico: The new official 2.0 icon. + + * win32/bin/Pandora FMS Windows Agent 2.0 (Beta1)-Setup.exe: + Probably not final, but this seems to work for us. + + * win32/bin/PandoraAgent.exe: Latest binary for agent. + + * win32/bin/pandora_agent.conf: A more complex sample file. + 2008-07-09 Esteban Sanchez * pandora_strutils.[cc,h]: Added strUnicodeToAnsi(). diff --git a/pandora_agents/win32/bin/PandoraAgent.exe b/pandora_agents/win32/bin/PandoraAgent.exe index 5c30674126..8d59c29a50 100755 Binary files a/pandora_agents/win32/bin/PandoraAgent.exe and b/pandora_agents/win32/bin/PandoraAgent.exe differ diff --git a/pandora_agents/win32/bin/pandora_agent.conf b/pandora_agents/win32/bin/pandora_agent.conf index 30b52424aa..35fbbfde9f 100644 --- a/pandora_agents/win32/bin/pandora_agent.conf +++ b/pandora_agents/win32/bin/pandora_agent.conf @@ -1,8 +1,7 @@ -# Fichero de configuracion base de agentes de Pandora -# Base config file for Pandora FMS Windows Agent -# Version 1.3.0 -# (c) 2006-2007 Esteban Sanchez +# Base config file for Pandora FMS Windows Agent # (c) 2006-2007 Artica Soluciones Tecnologicas +# Version 2.0 + # 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. @@ -27,9 +26,9 @@ interval 300 # use directive agent_name # agent_name caprica -# Possible values are tentacle (default), ftp and ssh. +# tranfer_modes: Possible values are tentacle (default), ftp and ssh. +transfer_mode tentacle -transfer_mode tentacle server_port 41121 # In case of using FTP or tentacle with password, uncomment and change (user is always pandora) @@ -41,8 +40,8 @@ server_port 41121 # ODBC connections # Configuring "ExampleDSN" DSN. Notice that this DSN connection must be configured # under Control panel -> Administrative tools -> ODBC -> DSN -odbc_ExampleDSN_username UserNameForDsn -odbc_ExampleDSN_password Password1234 +# odbc_ExampleDSN_username UserNameForDsn +# odbc_ExampleDSN_password Password1234 # If set to 1 allows the agent to be configured via the web console. # remote_config 0 @@ -54,22 +53,6 @@ odbc_ExampleDSN_password Password1234 # ================= -# Counting OpenedConnections (check the language string) -module_begin -module_name OpenNetConnections -module_type generic_data -module_exec netstat -na | grep ESTAB | wc -l | tr -d " " -module_description Open Connections (interval 2) -module_end - -# Is Schedule service running ? -module_begin -module_name ServicioProg -module_type generic_proc -module_service Schedule -module_description Schedule Service -module_end - # Is Eventlog service running ? module_begin module_name ServicioReg @@ -94,21 +77,6 @@ module_exec netstat -s | grep "Packets Received" | tr -d " " | cut -f 2 -d "=" | module_description Received packets module_end -# Accepted server sessions (Server in Spanish) -module_begin -module_name ServerSessions -module_type generic_data -module_exec net statistics server | grep "Sesiones aceptadas" | gawk "{ print $3 }" -module_description Accepted server sessions -module_end - -# server sessions erros (Server in Spanish) -module_begin -module_name ServerErrors -module_type generic_data -module_exec net statistics server | grep "Error" | gawk "{ print $4 }" -module_description Server errors -module_end # Received packets using external program exec module_begin @@ -140,26 +108,40 @@ module_name FreeMemory module_type generic_data module_freememory module_description Amount of free memory. -module_end +module_end -# Is Checkpoint SecureClient Service alive ? +# Log events module_begin -module_name Checkpoint_SecureClient -module_type generic_proc -module_proc SR_Service.exe -module_description Checkpoint Secure Client VPN client -module_end - -# Is Network Connect Service VPN Client from Juniper alive ? -module_begin -module_name Juniper_VPN -module_type generic_proc -module_proc dsNcService.exe -module_description Network Connect Service VPN Client from Juniper -module_end - +module_name Logevents +module_type generic_data_string +module_logevent +module_description Log Events +module_end # More examples, uncomment (removing #) to use them # ================================================= + +#module_begin +#module_name Fprot_AV +#module_type generic_proc +#module_proc FPAVServer.exe +#module_description FProt Antivirus running +#module_end + +# Is Checkpoint SecureClient Service alive ? +#module_begin +#module_name Checkpoint_SecureClient +#module_type generic_proc +#module_proc SR_Service.exe +#module_description Checkpoint Secure Client VPN client +#module_end + +# Is Network Connect Service VPN Client from Juniper alive ? +#module_begin +#module_name Juniper_VPN +#module_type generic_proc +#module_proc dsNcService.exe +#module_description Network Connect Service VPN Client from Juniper +#module_end # ODBC query example using ExampleDSN connection defined above. # This module gets the first row in example_table. @@ -196,11 +178,45 @@ module_end #module_cpuusage 1 #module_description CPU#1 usage #module_end + +#module_begin +#module_name log_events_system +#module_type generic_data_string +#module_description System log events +#module_logevent +#module_source System +#module_end + +#module_begin +#module_name log_events_security +#module_type generic_data_string +#module_description Security log events +#module_logevent +#module_source Security +#module_end + +# Counting OpenedConnections (check the language string) +#module_begin +#module_name OpenNetConnections +#module_type generic_data +#module_exec netstat -na | grep ESTAB | wc -l | tr -d " " +#module_description Open Connections (interval 2) +#module_end + +# Accepted server sessions (Server in Spanish) +#module_begin +#module_name ServerSessions +#module_type generic_data +#module_exec net statistics server | grep "Sesiones aceptadas" | gawk "{ print $3 }" +#module_description Accepted server sessions +#module_end -# Log events -module_begin -module_name Logevents -module_type generic_data_string -module_logevent -module_description Log Events -module_end +# server sessions erros (Server in Spanish) +#module_begin +#module_name ServerErrors +#module_type generic_data +#module_exec net statistics server | grep "Error" | gawk "{ print $4 }" +#module_description Server errors +#module_end + + diff --git a/pandora_agents/win32/installer/pandora.ico b/pandora_agents/win32/installer/pandora.ico index 59773d34bf..978c24a591 100644 Binary files a/pandora_agents/win32/installer/pandora.ico and b/pandora_agents/win32/installer/pandora.ico differ