2008-07-30 Sancho Lerena <slerena@gmail.com>

* 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.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2008-07-30 18:13:00 +00:00
parent 4c49b36740
commit 1438862ae8
4 changed files with 89 additions and 62 deletions

View File

@ -1,3 +1,14 @@
2008-07-30 Sancho Lerena <slerena@gmail.com>
* 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 <estebans@artica.es> 2008-07-09 Esteban Sanchez <estebans@artica.es>
* pandora_strutils.[cc,h]: Added strUnicodeToAnsi(). * pandora_strutils.[cc,h]: Added strUnicodeToAnsi().

View File

@ -1,8 +1,7 @@
# Fichero de configuracion base de agentes de Pandora # Base config file for Pandora FMS Windows Agent
# Base config file for Pandora FMS Windows Agent
# Version 1.3.0
# (c) 2006-2007 Esteban Sanchez
# (c) 2006-2007 Artica Soluciones Tecnologicas # (c) 2006-2007 Artica Soluciones Tecnologicas
# Version 2.0
# 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
# Foundation; either version 2 of the Licence or any later version. # Foundation; either version 2 of the Licence or any later version.
@ -27,9 +26,9 @@ interval 300
# use directive agent_name # use directive agent_name
# agent_name caprica # 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 server_port 41121
# In case of using FTP or tentacle with password, uncomment and change (user is always pandora) # 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 # ODBC connections
# 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.
# remote_config 0 # 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 ? # Is Eventlog service running ?
module_begin module_begin
module_name ServicioReg 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_description Received packets
module_end 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 # Received packets using external program exec
module_begin module_begin
@ -140,26 +108,40 @@ module_name FreeMemory
module_type generic_data module_type generic_data
module_freememory module_freememory
module_description Amount of free memory. module_description Amount of free memory.
module_end module_end
# Is Checkpoint SecureClient Service alive ? # Log events
module_begin module_begin
module_name Checkpoint_SecureClient module_name Logevents
module_type generic_proc module_type generic_data_string
module_proc SR_Service.exe module_logevent
module_description Checkpoint Secure Client VPN client module_description Log Events
module_end 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
# More examples, uncomment (removing #) to use them # 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. # ODBC query example using ExampleDSN connection defined above.
# This module gets the first row in example_table. # This module gets the first row in example_table.
@ -196,11 +178,45 @@ module_end
#module_cpuusage 1 #module_cpuusage 1
#module_description CPU#1 usage #module_description CPU#1 usage
#module_end #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 # server sessions erros (Server in Spanish)
module_begin #module_begin
module_name Logevents #module_name ServerErrors
module_type generic_data_string #module_type generic_data
module_logevent #module_exec net statistics server | grep "Error" | gawk "{ print $4 }"
module_description Log Events #module_description Server errors
module_end #module_end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1014 B

After

Width:  |  Height:  |  Size: 1.1 KiB