Pandora FMS Community

Module in Agent dont work/show

Viox · 25 abr 2013, 23:15 · 3 mensajes · 53 visitas

  1. Inicio del debate

    Good afternoon, this is my first post in the community, recently I'm with Pandora and I found this problem. I have my Agent with many modules configured. But when I see in Pandora Console I see all, I get half or so of the modules that I have loaded. Probe Agent deleting from Web Console and let it rise again to no avail, I always detects it perfect but does not show me all my modules. This is the example of my. Conf

    # Base config file for Pandora FMS Windows Agent
    # (c) 2006-2010 Artica Soluciones Tecnologicas 
    # Version 4.0.3
    
    # General Parameters
    # ==================
    
    # NOTE: The variables $*$ will be substituted in the installation wizard
    
    server_ip 192.168.2.123
    server_path /var/spool/pandora/data_in
    temporal "C:Archivos de programapandora_agenttemp"
    
    #include "C:Archivos de programapandora_agentpandora_agent_alt.conf"
    #broker_agent name_agent
    
    # Agent uses your hostname automatically, if you need to change agent name
    # use directive agent_name (do not use blank spaces, please).
    # This parameter is CASE SENSITIVE.
    
    # agent_name My_Custom_Agent_name
    agent_name AgenteDePrueba
    
    #Parent agent_name
    
    # address: Enforce to server a ip address to this agent 
    # You can also try to detect the first IP using "auto", for example
    
    #address auto
    # or setting a fixed IP address, like for example:
    #address 192.168.36.73
    
    # Group assigned for this agent (descriptive, p.e: Servers)
    group "Pruebas"
    
    # This limits operation if temporal dir has not enough free disk.
    #temporal_min_size 1024
    
    # Delay start execution X second before start to minonitoring nothing 
    #startup_delay 30
    
    # Interval is defined in seconds
    interval 30
    
    # tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
    transfer_mode tentacle
    server_port 41121
    
    # In case of using FTP or tentacle with password. User is always "pandora"
    #server_pwd pandora
    
    # Debug mode do not copy XML data files to server.
    # debug 1
    
    # ODBC connections. Check documentation for more information.
    # 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
    
    # If set to 1 allows the agent to be configured via the web console 
    # (only works on enterprise version).
    # remote_config 1
    
    # Set XML encoding (ISO-8859-1 by default).
    #encoding ISO-8859-1
    
    # If set to 1 start Drone Agent's Proxy Mode 
    # proxy_mode 1
    
    # Max number of simmultaneus connection for proxy (by default 10)
    # proxy_max_connection 10
    
    # Proxy timeout (by default 1s)
    # proxy_timeout 1
    
    # Enable or disable XML buffer.
    xml_buffer 0
    
    module_begin 
    module_name Nombre Del Servidor 
    module_type generic_data 
    module_wmiquery SELECT Name FROM Win32_ComputerSystem 
    module_wmicolumn Nombre Del Servidor 
    module_end
    
    module_begin
    module_name Carga CPU
    module_type generic_data
    module_wmiquery SELECT LoadPercentage FROM Win32_Processor
    module_wmicolumn LoadPercentage
    module_description CPU (%)
    module_min_warning 80
    module_max_warning 90
    module_min_critical 91
    module_max_critical 100
    module_end
    
    module_begin
    module_name Numero De Procesos
    module_type generic_data
    module_exec tasklist | gawk "NR > 3 {print$0}" | wc -l
    module_description Numero De Procesos Corriendo
    module_min_warning 175
    module_max_warning 249
    module_min_critical 250
    module_max_critical 300
    module_end
    
    module_begin
    module_name Memoria Libre
    module_type generic_data
    module_freepercentmemory
    module_description Memoria Libre (%).
    module_min_warning 21
    module_max_warning 30
    module_min_critical 0
    module_max_critical 20
    module_end
    
    module_begin
    module_name DHCP Enabled
    module_type generic_proc
    module_service Dhcp
    module_description Check DCHP service enabled
    module_end
    
    module_plugin cscript.exe //B "%Archivos de programa%Pandora_Agentutildf.vbs"
    
    module_begin
    module_name Espacio Libre C:
    module_type generic_data
    module_freepercentdisk C:
    module_description Espacio Libre en Disco C: (%)
    module_min_warning 31
    module_max_warning 40
    module_min_critical 0
    module_max_critical 30
    module_end
    
    module_begin
    module_name Espacio Libre D:
    module_type generic_data
    module_freepercentdisk D:
    module_description Espacio Libre en Disco D: (%)
    module_end
    
    module_begin
    module_name Uso CPU
    module_type generic_data
    module_cpuusage all
    module_description CPU# usage
    module_min_warning 70
    module_max_warning 90
    module_min_critical 91
    module_max_critical 100
    module_end
    
    module_begin
    module_name Windows Ultima Actualizacion
    module_type generic_data_string
    module_exec getreg LM "SOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" SetupWizardLaunchTime
    module_description Ultima Fecha que se Ejecuto Microsoft Windows update
    module_end
    
    module_begin
    module_name Google Port 80
    module_type generic_proc
    module_tcpcheck http://www.google.com
    module_port 80
    module_timeout 5
    module_description Check local port 80
    module_end
    
    module_begin
    module_name PandoraAgent_log
    module_type generic_data_string
    module_regexp C:archivos de programapandora_agentpandora_agent.log
    module_description Todas Las Lineas del logfile de Pandora
    module_pattern .*
    module_end
    
    module_begin
    module_name VeasGold Memoria
    module_description Memoria Consumida por VeasGold.exe
    module_type generic_data
    module_exec tasklist | grep Veas301g.exe | gawk "{ print $5 }" | tr -d "."
    module_end
    
    module_begin
    module_name VeasGold Memoria
    module_description Memoria Consumida por VeasTransfer.exe
    module_type generic_data
    module_exec tasklist | grep VeasTransfer.exe | gawk "{ print $5 }" | tr -d "."
    module_end
    
    module_begin
    module_name VeasGold.exe
    module_type generic_proc
    module_proc Veas301g.exe
    module_description VeasGold Esta Corriendo
    module_end
    
    module_begin
    module_name VeasTransfer.exe
    module_type generic_proc
    module_proc VeasTransfer.exe
    module_description VeasTransfer Esta Corriendo
    module_end
    
    module_begin 
    module_name Estructura De Discos 
    module_type async_string 
    module_logevent 
    module_source System 
    module_eventcode 55 
    module_application Ntfs 
    module_description Estructura De Discos Corrupta 
    module_end 
    
    module_begin 
    module_name Lectura en Disco Por Sec. 
    module_type generic_data_inc 
    module_wmiquery select DiskReadBytesPersec from Win32_PerfRawData_PerfDisk_PhysicalDisk WHERE name = "_Total" 
    module_wmicolumn Lectura en Disco Por Sec. 
    module_end
    
    module_begin 
    module_name Escritura en Disco Por Sec. 
    module_type generic_data_inc 
    module_wmiquery select DiskWriteBytesPersec from Win32_PerfRawData_PerfDisk_PhysicalDisk WHERE name = "_Total" 
    module_wmicolumn Escritura en Disco Por Sec. 
    module_end
    
    module_begin
    module_name Log Canal1
    module_type generic_data_string
    module_regexp C:Canal1Reportes2013_04.txt
    module_pattern ^[error].*
    module_noseekeof 1
    module_end
    

    Thanks

  2. I am so sorry but I am not able to understand your problem. I think you should consult an expert to get a solution. baby store northern beaches

  3. Hello Viox What are the modules that are not detected correctly? Regards

Entra en tu cuenta para publicar.