Welcome to Pandora FMS Community › Forums › Soporte de la comunidad › Problemas Agente
-
Problemas Agente
Posted by marioadrada on February 7, 2018 at 13:22Buenas,
Tengo en mi oficina instalado Pandora 7.0, la ultima versiĆ³n y tengo de momento 2 servidores externos monitorizados con agentes. Esto me devuele los valores de CPU_Load, tcp_connections, Discused, Memory_used, network_usage. Hasta ayer me iba bien, pero resulta que he tenido que reiniciar uno de los servidores, y ahora se ha vuelto de color gris (desconocido) y no hay forma de que vuelva a ponerse en verde.
He reiniciado el agente, he reiniciado tentacle en el servidor, pero sigue igual.como lo soluciono?
Gracias,
MarioGerals replied 3 years, 1 month ago 3 Members · 7 Replies -
7 Replies
-
::
Buenos dĆasĀ marioadrada,
Tengo varias preguntas que hacerte, Āætienes en el directorio data_in de tu servidor de Pandora FMS ficheros llamados BADXML?
Si es posible, Āæpuedes pasarme losĀ ficheros pandora_agent.conf y pandora_agent.log de tu agente? A ver si detecto algo errĆ³neo.
ĀæPodrĆas decirme que versiĆ³n de agente tienes instalada yĀ quĆ© sistema operativo tiene dicho agente?
Saludos y perdona por tanta pregunta.
vic.
-
::
Buenos dĆasĀ marioadrada,
Tengo varias preguntas que hacerte, Āætienes en el directorio data_in de tu servidor de Pandora FMS ficheros llamados BADXML?
Si es posible, Āæpuedes pasarme losĀ ficheros pandora_agent.conf y pandora_agent.log de tu agente? A ver si detecto algo errĆ³neo.
ĀæPodrĆas decirme que versiĆ³n de agente tienes instalada yĀ quĆ© sistema operativo tiene dicho agente?
Saludos y perdona por tanta pregunta.
vic.
Buenas,
No tengo ficheros BADXML. EstƔn las carpetas collection, conf, md5 y netflow.
Te envio los ficheros. El SO del agente es windows server 2008 R2, la versiĆ³n del agente es la ultima, ya que lo instale el domingo o sĆ”bado.
NO me deja pasarte los ficheros. Pego los ultimos errores aqui del log y la configuraciĆ³n pasarte todo quiza sea demasiado no?
log:
2018-02-04 20:17:47 Unable to receive file 1f19ff587b1af3970b144a85066d475b.md5
2018-02-04 20:18:08 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-04 20:18:11 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-04 20:22:47 Unable to receive file 1f19ff587b1af3970b144a85066d475b.md5
2018-02-04 20:23:08 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-04 20:23:29 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-06 01:27:47 Unable to receive file 1f19ff587b1af3970b144a85066d475b.md5
2018-02-06 01:27:47 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-06 01:27:47 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:25:48 Pandora agent started
2018-02-07 09:25:50 Unable to receive file 04b0ff12d82547b5dc02149f0d6079cb.md5
2018-02-07 09:26:07 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:26:07 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:31:02 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:31:02 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:40:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:40:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:45:43 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:45:43 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:50:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:50:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:55:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:55:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:00:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:00:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:05:43 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:05:44 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:08:28 Pandora agent stopped
2018-02-07 10:10:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:10:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:15:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:15:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:20:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:20:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:25:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:25:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:30:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:30:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:32:48 Pandora agent stopped
2018-02-07 10:32:48 Pandora agent started
2018-02-07 10:32:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:32:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:37:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:37:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:42:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:42:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:47:51 Pandora Agent: Failed when copying to 88.10.225.130.conf:
server_ip 88.10.225.130
server_path /var/spool/pandora/data_in
temporal “C:Program Filespandora_agenttemp”# Group assigned for this agent (descriptive, p.e: Servers)
group “Servers”# If set to 1 allows the agent to be configured via the web console
# (only works on enterprise version).remote_config 1
agent_name Arquitectura A+U
# 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# This limits operation if temporal dir has not enough free disk.
#temporal_min_size 1024# Delay start execution X second before start to monitoring nothing
#startup_delay 30# Interval is defined in seconds
interval 300# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
transfer_mode tentacle
server_port 41121# timeout in seconds for file transfer programs execution (30 by default)
#transfer_timeout 30# In case of using FTP or tentacle with password. User is always “pandora”
#server_pwd pandora# Extra options for the Tentacle client (for example: server_opts -v -r 5).
#server_opts# If set to 1 disables log writing into pandora_agent.log
#disable_logfile 1# Debug mode renames XML in the temp folder and continues running
# debug 1# XML encoding (ISO-8859-1 by default). Most windows servers experience problems when you set to UTF-8. Other special codepages may be specified here.
#encoding ISO-8859-1# If set to 1 start Drone Agent’s Proxy Mode
# proxy_mode 1# Max number of simultaneus 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 1# Agent mode: Learn (default), No-learn, Autodisable
# agent_mode autodisable# EHorus configuration file default full path.
#It try to find the EKID and set it like a custom field.
ehorus_conf “C:Program Filesehorus_agentehorus_agent.conf”# Secondary server configuration
# ==============================# If secondary_mode is set to on_error, data files are copied to the secondary
# server only if the primary server fails. If set to always, data files are
# always copied to the secondary server.
#secondary_mode on_error
#secondary_server_ip localhost
#secondary_server_path /var/spool/pandora/data_in
#secondary_server_port 41121
#secondary_transfer_mode tentacle
#secondary_transfer_timeout 30
#secondary_server_pwd mypassword
#secondary_server_ssl no
#secondary_server_opts# Example UDP server to be able to execute remote actions such
# as starting or stopping process.
#udp_server 1
#udp_server_port 4321
#udp_server_auth_address 192.168.1.23
#process_firefox_start firefox
#process_firefox_stop killall firefox
#service_messenger 1###############################################
# 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
Buenos dĆasĀ marioadrada,
Tengo varias preguntas que hacerte, Āætienes en el directorio data_in de tu servidor de Pandora FMS ficheros llamados BADXML?
Si es posible, Āæpuedes pasarme losĀ ficheros pandora_agent.conf y pandora_agent.log de tu agente? A ver si detecto algo errĆ³neo.
ĀæPodrĆas decirme que versiĆ³n de agente tienes instalada yĀ quĆ© sistema operativo tiene dicho agente?
Saludos y perdona por tanta pregunta.
vic.
Buenas,
No tengo ficheros BADXML. EstƔn las carpetas collection, conf, md5 y netflow.
Te envio los ficheros. El SO del agente es windows server 2008 R2, la versiĆ³n del agente es la ultima, ya que lo instale el domingo o sĆ”bado.
NO me deja pasarte los ficheros. Pego los ultimos errores aqui del log y la configuraciĆ³n pasarte todo quiza sea demasiado no?
log:
2018-02-04 20:17:47 Unable to receive file 1f19ff587b1af3970b144a85066d475b.md5
2018-02-04 20:18:08 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-04 20:18:11 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-04 20:22:47 Unable to receive file 1f19ff587b1af3970b144a85066d475b.md5
2018-02-04 20:23:08 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-04 20:23:29 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-06 01:27:47 Unable to receive file 1f19ff587b1af3970b144a85066d475b.md5
2018-02-06 01:27:47 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-06 01:27:47 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:25:48 Pandora agent started
2018-02-07 09:25:50 Unable to receive file 04b0ff12d82547b5dc02149f0d6079cb.md5
2018-02-07 09:26:07 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:26:07 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:31:02 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:31:02 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:40:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:40:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:45:43 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:45:43 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:50:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:50:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:55:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 09:55:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:00:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:00:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:05:43 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:05:44 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:08:28 Pandora agent stopped
2018-02-07 10:10:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:10:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:15:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:15:42 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:20:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:20:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:25:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:25:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:30:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:30:41 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:32:48 Pandora agent stopped
2018-02-07 10:32:48 Pandora agent started
2018-02-07 10:32:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:32:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:37:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:37:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:42:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:42:51 Pandora Agent: Failed when copying to 88.10.225.130
2018-02-07 10:47:51 Pandora Agent: Failed when copying to 88.10.225.130.conf:
server_ip 88.10.225.130
server_path /var/spool/pandora/data_in
temporal “C:Program Filespandora_agenttemp”# Group assigned for this agent (descriptive, p.e: Servers)
group “Servers”# If set to 1 allows the agent to be configured via the web console
# (only works on enterprise version).remote_config 1
agent_name Arquitectura A+U
# 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# This limits operation if temporal dir has not enough free disk.
#temporal_min_size 1024# Delay start execution X second before start to monitoring nothing
#startup_delay 30# Interval is defined in seconds
interval 300# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
transfer_mode tentacle
server_port 41121# timeout in seconds for file transfer programs execution (30 by default)
#transfer_timeout 30# In case of using FTP or tentacle with password. User is always “pandora”
#server_pwd pandora# Extra options for the Tentacle client (for example: server_opts -v -r 5).
#server_opts# If set to 1 disables log writing into pandora_agent.log
#disable_logfile 1# Debug mode renames XML in the temp folder and continues running
# debug 1# XML encoding (ISO-8859-1 by default). Most windows servers experience problems when you set to UTF-8. Other special codepages may be specified here.
#encoding ISO-8859-1# If set to 1 start Drone Agent’s Proxy Mode
# proxy_mode 1# Max number of simultaneus 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 1# Agent mode: Learn (default), No-learn, Autodisable
# agent_mode autodisable# EHorus configuration file default full path.
#It try to find the EKID and set it like a custom field.
ehorus_conf “C:Program Filesehorus_agentehorus_agent.conf”# Secondary server configuration
# ==============================# If secondary_mode is set to on_error, data files are copied to the secondary
# server only if the primary server fails. If set to always, data files are
# always copied to the secondary server.
#secondary_mode on_error
#secondary_server_ip localhost
#secondary_server_path /var/spool/pandora/data_in
#secondary_server_port 41121
#secondary_transfer_mode tentacle
#secondary_transfer_timeout 30
#secondary_server_pwd mypassword
#secondary_server_ssl no
#secondary_server_opts# Example UDP server to be able to execute remote actions such
# as starting or stopping process.
#udp_server 1
#udp_server_port 4321
#udp_server_auth_address 192.168.1.23
#process_firefox_start firefox
#process_firefox_stop killall firefox
#service_messenger 1###############################################
# 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_endLa version del agente es Pandora FMS Windows Agent v7.0NG.718_x86_64
-
::
Buenos dĆasĀ marioadrada,
ĀæHas comprobado que tienes acceso desde el agente a tu servidor? Comprueba el firewall y abre los puertos necesarios para la transferencia con el servidor de tentacle.
Comprueba con un ping al servidor y mƔndame una captura de pantalla.
Saludos,
vic.
-
::
Buenos dĆasĀ marioadrada,
ĀæHas comprobado que tienes acceso desde el agente a tu servidor? Comprueba el firewall y abre los puertos necesarios para la transferencia con el servidor de tentacle.
Comprueba con un ping al servidor y mƔndame una captura de pantalla.
Saludos,
vic.
Buenas vic,
Tengo ehorus funcionando, tuve que apagar el servidor y al dia siguiente de encenderlo (por un aviso no lo pude arrancar hasta el dia siguiente) ya no iba, sigue sin reconocerlo.
He reinstalado el agente y ahora me lo ha detectado. Muchas gracias! -
::
Buenos dĆas de nuevo,
Ayer se me cayo el servidor mio (donde tengo instalado pandora server) y todos los agentes que tengo se han quedado con color gris.
Lo unico que puedo hacer es desinstalar e instalar el agente y se que funciona,… a que es debido? Que puedo hacer para que se conete automaticamente?
Lo unico cambio en el fichero .conf del agente cuando lo instalo es la ip del servidor de pandora y nada mas…El log de errores es lo mismo que puse arriba.
gracias,
-
::
Thank you for this amazing piece of information. I’ve read this type of highly engaging content while visiting Essaypandas.com.I recommend you to read that too. You’ll surely enjoy it.
-
::
Thank you for this amazing piece of information. I’ve read this type of highly engaging content while visiting Essaypandas.com. I recommend you to read that too. You’ll surely enjoy it.