Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error en funcionamiento agente Windows
#1
Buen día. Tengo un agente instalado en un servidor windows server 2008 R2 Enterprise y al parecer todo anda bien, el log no indica ningún error:

2018-11-06 00:00:01 Pandora agent started
2018-11-06 11:38:11 Pandora agent started
2018-11-06 14:47:43 Pandora agent stopped
2018-11-06 14:48:36 Pandora agent started

Al activar el debug, tampoco presenta errores y parece que todos los módulos se estuvieran ejecutando correctamente:

2018-11-06 14:48:36 Run begin
2018-11-06 14:48:36 Run CPU Load
2018-11-06 14:48:39 Run TCP_Connections
2018-11-06 14:48:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 14:48:39 Run plugin
2018-11-06 14:48:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 14:48:39 Run plugin
2018-11-06 14:48:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 14:48:39 Run plugin
2018-11-06 14:48:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\diskdrives.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\cdromdrives.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\videocardinfo.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\ifaces.vbs""
2018-11-06 14:48:41 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052421.
2018-11-06 14:48:41 Run plugin
2018-11-06 14:48:41 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\monitors.vbs""
2018-11-06 14:48:41 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052421.
2018-11-06 14:48:41 Run plugin
2018-11-06 14:48:41 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\printers.vbs""
2018-11-06 14:48:41 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052421.
2018-11-06 14:48:41 Run plugin
2018-11-06 14:48:41 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\raminfo.vbs""
2018-11-06 14:48:42 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052422.
2018-11-06 14:48:42 Run plugin
2018-11-06 14:48:42 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs""
2018-11-06 14:48:44 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052424.
2018-11-06 14:48:44 Run plugin
2018-11-06 14:48:44 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\userslogged.vbs""
2018-11-06 14:48:45 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052425.
2018-11-06 14:48:45 Run plugin
2018-11-06 14:48:45 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productkey.vbs""
2018-11-06 14:48:46 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052426.
2018-11-06 14:48:46 Run plugin
2018-11-06 14:48:46 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productID.vbs""
2018-11-06 14:48:46 Run Tomcat8
2018-11-06 14:48:46 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 14:48:49 Run Tomcat6
2018-11-06 14:48:49 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 14:48:51 Run plugin
2018-11-06 14:48:51 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs""
2018-11-06 14:48:53 Run Number processes
2018-11-06 14:48:53 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 14:48:53 Run CPUUse
2018-11-06 14:48:56 Run Processor_Time
2018-11-06 14:48:56 Next execution on 300 seconds
2018-11-06 14:53:36 Run begin
2018-11-06 14:53:36 Run CPU Load
2018-11-06 14:53:39 Run TCP_Connections
2018-11-06 14:53:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 14:53:39 Run plugin
2018-11-06 14:53:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 14:53:39 Run plugin
2018-11-06 14:53:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 14:53:39 Run plugin
2018-11-06 14:53:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 14:53:40 Run plugin
2018-11-06 14:53:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Run Tomcat8
2018-11-06 14:53:40 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 14:53:42 Run Tomcat6
2018-11-06 14:53:42 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 14:53:44 Run plugin
2018-11-06 14:53:44 plugin: Interval is not fulfilled
2018-11-06 14:53:44 Run Number processes
2018-11-06 14:53:44 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 14:53:44 Run CPUUse
2018-11-06 14:53:48 Run Processor_Time
2018-11-06 14:53:48 Next execution on 300 seconds
2018-11-06 14:58:36 Run begin
2018-11-06 14:58:36 Run CPU Load
2018-11-06 14:58:39 Run TCP_Connections
2018-11-06 14:58:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 14:58:39 Run plugin
2018-11-06 14:58:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 14:58:39 Run plugin
2018-11-06 14:58:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 14:58:39 Run plugin
2018-11-06 14:58:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 14:58:40 Run plugin
2018-11-06 14:58:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Run Tomcat8
2018-11-06 14:58:40 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 14:58:42 Run Tomcat6
2018-11-06 14:58:42 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 14:58:44 Run plugin
2018-11-06 14:58:44 plugin: Interval is not fulfilled
2018-11-06 14:58:44 Run Number processes
2018-11-06 14:58:44 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 14:58:44 Run CPUUse
2018-11-06 14:58:47 Run Processor_Time
2018-11-06 14:58:47 Next execution on 300 seconds
2018-11-06 15:03:36 Run begin
2018-11-06 15:03:36 Run CPU Load
2018-11-06 15:03:39 Run TCP_Connections
2018-11-06 15:03:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 15:03:39 Run plugin
2018-11-06 15:03:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 15:03:39 Run plugin
2018-11-06 15:03:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 15:03:39 Run plugin
2018-11-06 15:03:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 15:03:40 Run plugin
2018-11-06 15:03:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Run Tomcat8
2018-11-06 15:03:40 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 15:03:42 Run Tomcat6
2018-11-06 15:03:42 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 15:03:44 Run plugin
2018-11-06 15:03:44 plugin: Interval is not fulfilled
2018-11-06 15:03:44 Run Number processes
2018-11-06 15:03:44 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 15:03:44 Run CPUUse
2018-11-06 15:03:47 Run Processor_Time
2018-11-06 15:03:47 Next execution on 300 seconds

Ya hice pruebas desde el servidor agente con el tentacle_agent hacia el servidor donde está instalado el pandora server y se pudo transferir un archivo sin ningún problema. Sin embargo el agente no aparece en el pandora server, parece ser que los archivos con los xml de los módulos no están siendo creados pues no los veo en la carpeta "temp" cuando está activado el debug. He actualizado hasta la última versión (v7.0NG.728_x86_64) y cambiado el path de instalación pero nada ha funcionado, agradezco la ayuda que me puedan brindar.

Adjunto la información de mi pandora_agent.conf

server_ip pandora.univalle.edu.co
server_path /var/spool/pandora/data_in
temporal "C:\Users\Administrador\Desktop\Pandora_Agent\temp"

group "Biblioteca"

remote_config 0

debug 1

agent_name Opac

agent_name_cmd __rand__

address auto

interval 300

server_opts -c
transfer_mode tentacle
server_port 41121

xml_buffer 1

ehorus_conf "C:\Program Files\ehorus_agent\ehorus_agent.conf"



###############################################
# Module Definition
# Check online documentation and module library at http://pandorafms.org
# =================

# CPU Load using WMI 
module_begin
module_name CPU Load
module_type generic_data
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
module_wmicolumn LoadPercentage
module_max 100
module_min 0
module_description User CPU Usage (%)
module_min_warning 70
module_max_warning 90
module_min_critical 91
module_max_critical 100
module_unit %
module_group System
module_end

# Basic info about TCP Connection
module_begin
module_name TCP_Connections
module_type generic_data 
module_exec netstat -an | find /c /v "estab"
module_description Total number of TCP connections active
module_group Networking
module_end

# Example plugin to retrieve drive usage
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs"

# Example plugin to retrieve memory usage
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs"

# Example plugin to retrieve network usage
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs"

## Windows inventory module (This information will be displayed only in enterprise version)
## Please check the WMI is healthy before activate this functionality

module_begin
module_plugin cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs"
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\diskdrives.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\cdromdrives.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\videocardinfo.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\ifaces.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\monitors.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\printers.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\raminfo.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\userslogged.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productkey.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productID.vbs"
module_crontab * 12-15 * * 1
module_end

#########################################
#               EXAMPLES                #
#########################################
module_begin
module_name Tomcat8
module_type generic_data
module_exec cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8
module_description procesador utilizado por el servicio Tomcat 8.
module_group Servicio Web
module_end

module_begin
module_name Tomcat6
module_type generic_data
module_exec cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6
module_description procesador utilizado por el servicio Tomcat 6.
module_group Servicio Web
module_end


# Example: get Network information using Agent plugin

# External inventory plugin
module_begin
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs"
module_interval 288
## 288 x 5min = 24 hr, one execution per day, using module_interval <factor>
module_end

# Number processes
module_begin
module_name Number processes
module_type generic_data
module_exec tasklist | gawk "NR > 3 {print$0}" | wc -l
module_description Number of processes running
module_min_warning 175
module_max_warning 249
module_min_critical 250
module_max_critical 300
module_end

# CPU usage percentage
module_begin
module_name CPUUse
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

# Get processor time from Performance Counter (SPANISH only, check your 
# locale string) using the Windows Performance tool to 
# identify proper PerCounter strings. Check documentation for detailed steps.
module_begin
module_name Processor_Time
module_type generic_data
module_perfcounter \Procesador(_Total)\% de tiempo de procesador
module_end
 Reply
#2
(11-06-2018, 08:05 PM)Shinji_Langley Wrote: Buen día. Tengo un agente instalado en un servidor windows server 2008 R2 Enterprise y al parecer todo anda bien, el log no indica ningún error:

2018-11-06 00:00:01 Pandora agent started
2018-11-06 11:38:11 Pandora agent started
2018-11-06 14:47:43 Pandora agent stopped
2018-11-06 14:48:36 Pandora agent started

Al activar el debug, tampoco presenta errores y parece que todos los módulos se estuvieran ejecutando correctamente:

2018-11-06 14:48:36 Run begin
2018-11-06 14:48:36 Run CPU Load
2018-11-06 14:48:39 Run TCP_Connections
2018-11-06 14:48:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 14:48:39 Run plugin
2018-11-06 14:48:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 14:48:39 Run plugin
2018-11-06 14:48:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 14:48:39 Run plugin
2018-11-06 14:48:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\diskdrives.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\cdromdrives.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\videocardinfo.vbs""
2018-11-06 14:48:40 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052420.
2018-11-06 14:48:40 Run plugin
2018-11-06 14:48:40 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\ifaces.vbs""
2018-11-06 14:48:41 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052421.
2018-11-06 14:48:41 Run plugin
2018-11-06 14:48:41 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\monitors.vbs""
2018-11-06 14:48:41 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052421.
2018-11-06 14:48:41 Run plugin
2018-11-06 14:48:41 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\printers.vbs""
2018-11-06 14:48:41 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052421.
2018-11-06 14:48:41 Run plugin
2018-11-06 14:48:41 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\raminfo.vbs""
2018-11-06 14:48:42 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052422.
2018-11-06 14:48:42 Run plugin
2018-11-06 14:48:42 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs""
2018-11-06 14:48:44 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052424.
2018-11-06 14:48:44 Run plugin
2018-11-06 14:48:44 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\userslogged.vbs""
2018-11-06 14:48:45 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052425.
2018-11-06 14:48:45 Run plugin
2018-11-06 14:48:45 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productkey.vbs""
2018-11-06 14:48:46 Module with cron * 12-15 * * 1 will be executed at timestamp: 1542052426.
2018-11-06 14:48:46 Run plugin
2018-11-06 14:48:46 Executing: cmd.exe /c "cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productID.vbs""
2018-11-06 14:48:46 Run Tomcat8
2018-11-06 14:48:46 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 14:48:49 Run Tomcat6
2018-11-06 14:48:49 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 14:48:51 Run plugin
2018-11-06 14:48:51 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs""
2018-11-06 14:48:53 Run Number processes
2018-11-06 14:48:53 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 14:48:53 Run CPUUse
2018-11-06 14:48:56 Run Processor_Time
2018-11-06 14:48:56 Next execution on 300 seconds
2018-11-06 14:53:36 Run begin
2018-11-06 14:53:36 Run CPU Load
2018-11-06 14:53:39 Run TCP_Connections
2018-11-06 14:53:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 14:53:39 Run plugin
2018-11-06 14:53:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 14:53:39 Run plugin
2018-11-06 14:53:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 14:53:39 Run plugin
2018-11-06 14:53:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 14:53:40 Run plugin
2018-11-06 14:53:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Cron not matched for module plugin
2018-11-06 14:53:40 Run Tomcat8
2018-11-06 14:53:40 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 14:53:42 Run Tomcat6
2018-11-06 14:53:42 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 14:53:44 Run plugin
2018-11-06 14:53:44 plugin: Interval is not fulfilled
2018-11-06 14:53:44 Run Number processes
2018-11-06 14:53:44 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 14:53:44 Run CPUUse
2018-11-06 14:53:48 Run Processor_Time
2018-11-06 14:53:48 Next execution on 300 seconds
2018-11-06 14:58:36 Run begin
2018-11-06 14:58:36 Run CPU Load
2018-11-06 14:58:39 Run TCP_Connections
2018-11-06 14:58:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 14:58:39 Run plugin
2018-11-06 14:58:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 14:58:39 Run plugin
2018-11-06 14:58:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 14:58:39 Run plugin
2018-11-06 14:58:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 14:58:40 Run plugin
2018-11-06 14:58:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Cron not matched for module plugin
2018-11-06 14:58:40 Run Tomcat8
2018-11-06 14:58:40 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 14:58:42 Run Tomcat6
2018-11-06 14:58:42 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 14:58:44 Run plugin
2018-11-06 14:58:44 plugin: Interval is not fulfilled
2018-11-06 14:58:44 Run Number processes
2018-11-06 14:58:44 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 14:58:44 Run CPUUse
2018-11-06 14:58:47 Run Processor_Time
2018-11-06 14:58:47 Next execution on 300 seconds
2018-11-06 15:03:36 Run begin
2018-11-06 15:03:36 Run CPU Load
2018-11-06 15:03:39 Run TCP_Connections
2018-11-06 15:03:39 Executing: cmd.exe /c "netstat -an | find /c /v "estab""
2018-11-06 15:03:39 Run plugin
2018-11-06 15:03:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs""
2018-11-06 15:03:39 Run plugin
2018-11-06 15:03:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs""
2018-11-06 15:03:39 Run plugin
2018-11-06 15:03:39 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs""
2018-11-06 15:03:40 Run plugin
2018-11-06 15:03:40 Executing: cmd.exe /c "cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs""
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Cron not matched for module plugin
2018-11-06 15:03:40 Run Tomcat8
2018-11-06 15:03:40 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8"
2018-11-06 15:03:42 Run Tomcat6
2018-11-06 15:03:42 Executing: cmd.exe /c "cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6"
2018-11-06 15:03:44 Run plugin
2018-11-06 15:03:44 plugin: Interval is not fulfilled
2018-11-06 15:03:44 Run Number processes
2018-11-06 15:03:44 Executing: cmd.exe /c "tasklist | gawk "NR > 3 {print$0}" | wc -l"
2018-11-06 15:03:44 Run CPUUse
2018-11-06 15:03:47 Run Processor_Time
2018-11-06 15:03:47 Next execution on 300 seconds

Ya hice pruebas desde el servidor agente con el tentacle_agent hacia el servidor donde está instalado el pandora server y se pudo transferir un archivo sin ningún problema. Sin embargo el agente no aparece en el pandora server, parece ser que los archivos con los xml de los módulos no están siendo creados pues no los veo en la carpeta "temp" cuando está activado el debug. He actualizado hasta la última versión (v7.0NG.728_x86_64) y cambiado el path de instalación pero nada ha funcionado, agradezco la ayuda que me puedan brindar.

Adjunto la información de mi pandora_agent.conf

server_ip pandora.univalle.edu.co
server_path /var/spool/pandora/data_in
temporal "C:\Users\Administrador\Desktop\Pandora_Agent\temp"

group "Biblioteca"

remote_config 0

debug 1

agent_name Opac

agent_name_cmd __rand__

address auto

interval 300

server_opts -c
transfer_mode tentacle
server_port 41121

xml_buffer 1

ehorus_conf "C:\Program Files\ehorus_agent\ehorus_agent.conf"



###############################################
# Module Definition
# Check online documentation and module library at http://pandorafms.org
# =================

# CPU Load using WMI 
module_begin
module_name CPU Load
module_type generic_data
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
module_wmicolumn LoadPercentage
module_max 100
module_min 0
module_description User CPU Usage (%)
module_min_warning 70
module_max_warning 90
module_min_critical 91
module_max_critical 100
module_unit %
module_group System
module_end

# Basic info about TCP Connection
module_begin
module_name TCP_Connections
module_type generic_data 
module_exec netstat -an | find /c /v "estab"
module_description Total number of TCP connections active
module_group Networking
module_end

# Example plugin to retrieve drive usage
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\df_percent_used.vbs"

# Example plugin to retrieve memory usage
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\mem_percent_used.vbs"

# Example plugin to retrieve network usage
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\network.vbs"

## Windows inventory module (This information will be displayed only in enterprise version)
## Please check the WMI is healthy before activate this functionality

module_begin
module_plugin cscript.exe //nologo "C:\Users\Administrador\Desktop\Pandora_Agent\util\nic_traffic.vbs"
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\diskdrives.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\cdromdrives.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\videocardinfo.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\ifaces.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\monitors.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\printers.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\raminfo.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\userslogged.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productkey.vbs"
module_crontab * 12-15 * * 1
module_end

module_begin
module_plugin cscript.exe //B //t:20 "C:\Users\Administrador\Desktop\Pandora_Agent\util\productID.vbs"
module_crontab * 12-15 * * 1
module_end

#########################################
#               EXAMPLES                #
#########################################
module_begin
module_name Tomcat8
module_type generic_data
module_exec cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat8.exe Tomcat8
module_description procesador utilizado por el servicio Tomcat 8.
module_group Servicio Web
module_end

module_begin
module_name Tomcat6
module_type generic_data
module_exec cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\process_cpu.vbs" Tomcat6.exe Tomcat6
module_description procesador utilizado por el servicio Tomcat 6.
module_group Servicio Web
module_end


# Example: get Network information using Agent plugin

# External inventory plugin
module_begin
module_plugin cscript.exe //B "C:\Users\Administrador\Desktop\Pandora_Agent\util\software_installed.vbs"
module_interval 288
## 288 x 5min = 24 hr, one execution per day, using module_interval <factor>
module_end

# Number processes
module_begin
module_name Number processes
module_type generic_data
module_exec tasklist | gawk "NR > 3 {print$0}" | wc -l
module_description Number of processes running
module_min_warning 175
module_max_warning 249
module_min_critical 250
module_max_critical 300
module_end

# CPU usage percentage
module_begin
module_name CPUUse
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

# Get processor time from Performance Counter (SPANISH only, check your 
# locale string) using the Windows Performance tool to 
# identify proper PerCounter strings. Check documentation for detailed steps.
module_begin
module_name Processor_Time
module_type generic_data
module_perfcounter \Procesador(_Total)\% de tiempo de procesador
module_end

Buenos días Shinji_Langley,

Cuando has creado el agente en el sistema windows, has reiniciado el agente una vez has cambiado la configuración del mismo? has reiniciado el servidor al que esta apuntando el agente? Esta correctamente configurada la IP del servidor al que el agente debe de apuntar, prueba a apuntarla la IP en vez del nombre del servidor por si acaso existe una confusión por parte del agente.

Comentame si despues de probar todo esto sigue sin funcionar.

Alberto
 Reply
#3
(11-07-2018, 11:38 AM)Buen día alberto.sanchez Wrote: Gracias por la respuesta, sí, el agente también lo he cambiado a apuntar directamente a la IP. Se ha reiniciado el agente varias veces pero el servidor no lo puedo reiniciar pues está en producción y no tengo permiso de realizar eso. Problemas de conexión no son porque puedo transferir archivos manualmente entre ese server y el server del pandora con el tentacle_client.exe. Mi pregunta es, por qué no quedan escritos los archivos xml cuando activo el debug, adicionalmente, un clon de este servidor había funcionado con anterioridad con la misma configuración.


Buenos días Shinji_Langley,

Cuando has creado el agente en el sistema windows, has reiniciado el agente una vez has cambiado la configuración del mismo? has reiniciado el servidor al que esta apuntando el agente? Esta correctamente configurada la IP del servidor al que el agente debe de apuntar, prueba a apuntarla la IP en vez del nombre del servidor por si acaso existe una confusión por parte del agente.

Comentame si despues de probar todo esto sigue sin funcionar.

Alberto
 Reply
#4
(11-08-2018, 08:01 PM)Shinji_Langley Wrote:
(11-07-2018, 11:38 AM)Buen día alberto.sanchez Wrote: Gracias por la respuesta, sí, el agente también lo he cambiado a apuntar directamente a la IP. Se ha reiniciado el agente varias veces pero el servidor no lo puedo reiniciar pues está en producción y no tengo permiso de realizar eso. Problemas de conexión no son porque puedo transferir archivos manualmente entre ese server y el server del pandora con el tentacle_client.exe. Mi pregunta es, por qué no quedan escritos los archivos xml cuando activo el debug, adicionalmente, un clon de este servidor había funcionado con anterioridad con la misma configuración.


Buenos días Shinji_Langley,

Cuando has creado el agente en el sistema windows, has reiniciado el agente una vez has cambiado la configuración del mismo? has reiniciado el servidor al que esta apuntando el agente? Esta correctamente configurada la IP del servidor al que el agente debe de apuntar, prueba a apuntarla la IP en vez del nombre del servidor por si acaso existe una confusión por parte del agente.

Comentame si despues de probar todo esto sigue sin funcionar.

Alberto

Buenos días Shinji_Langley,

Tienes el server_ssl a "yes"? No se puede tener el server_opts con la opción -c y la opción de server_ssl activada, porque entra en conflicto y no realizaría ninguna de las dos, no creando así los xml.

Alberto
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes