Ad Widget

Collapse

No data from agent2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brahma08
    Junior Member
    • Apr 2025
    • 3

    #1

    No data from agent2

    I have next setup

    Agent2 server
    Code:
    olhu@ciri:~/zab_agent2$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 24.04.2 LTS
    Release: 24.04
    Codename: noble
    10.1.1.90/25
    Zabbix Agent2 installed

    Zabbix Server 7.2
    Code:
    olhu@mon:~/zab_serv$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 24.04.2 LTS
    Release: 24.04
    Codename: noble
    10.1.1.94/25
    Zabbix Server 7.2 installed



    There are no data from agent2 (ciri)



    What is my mistake?
    What have I configured incorrectly?​

    Ports
    Code:
    olhu@ciri:~/zab_agent2$ telnet 10.1.1.94 10050
    Trying 10.1.1.94...
    Connected to 10.1.1.94.
    Escape character is '^]'.
    Connection closed by foreign host.
    
    olhu@ciri:~/zab_agent2$ telnet 10.1.1.94 10051
    Trying 10.1.1.94...
    Connected to 10.1.1.94.
    Escape character is '^]'.
    Connection closed by foreign host.
    
    olhu@mon:~/zab_serv$ telnet 10.1.1.90 10050
    Trying 10.1.1.90...
    Connected to 10.1.1.90.
    Escape character is '^]'.
    Connection closed by foreign host.
    olhu@mon:~/zab_serv$ telnet 10.1.1.90 10051
    Trying 10.1.1.90...
    telnet: Unable to connect to remote host: Connection refused​
    zabbix_server.conf
    Code:
    # This is a configuration file for Zabbix server daemon
    # To get more information about Zabbix, visit https://www.zabbix.com
    
    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    
    PidFile=/run/zabbix/zabbix_server.pid
    SocketDir=/run/zabbix
    
    DBName=zabbix
    DBUser=zabbix
    DBPassword=PASSWORD
    
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    Timeout=4
    LogSlowQueries=3000
    Include=/etc/zabbix/zabbix_server.d/*.conf
    StatsAllowedIP=127.0.0.1
    EnableGlobalScripts=1
    zabbix_agent2.conf
    Code:
    I have added only data without #
    # This is a configuration file for Zabbix agent 2 (Unix)
    PidFile=/run/zabbix/zabbix_agent2.pid
    LogFile=/var/log/zabbix/zabbix_agent2.log
    LogFileSize=200
    DebugLevel=4
    Server=10.1.1.94
    ServerActive=10.1.1.94
    Hostname=ciri
    Include=/etc/zabbix/zabbix_agent2.d/*.conf
    PluginSocket=/run/zabbix/agent.plugin.sock
    ControlSocket=/run/zabbix/agent.sock
    Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf​
    cat /var/log/zabbix/zabbix_agent2.log

    Code:
    2025/04/22 23:25:26.274584 listener has been stopped
    2025/04/22 23:25:26.274790 [101] server connector has been stopped
    2025/04/22 23:25:26.275090 manager has been stopped
    2025/04/22 23:25:26.275264 [101] memory cache has been stopped
    2025/04/22 23:25:26.275346 Zabbix Agent 2 stopped. (7.2.0)
    2025/04/22 23:25:26.600458 Starting Zabbix Agent 2 (7.2.0)
    2025/04/22 23:25:26.609912 OpenSSL library (OpenSSL 3.0.13 30 Jan 2024) initialized
    2025/04/22 23:25:26.610258 default context ciphersuites: TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 ECDHE-PSK-AES128-CBC-SHA256 ECDHE-PSK-AES128-CBC-SHA PSK-AES128-GCM-SHA256 PSK-AES128-CCM8 PSK-AES128-CCM PSK-AES128-CBC-SHA256 PSK-AES128-CBC-SHA
    2025/04/22 23:25:26.610350 psk context ciphersuites: TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 ECDHE-PSK-AES128-CBC-SHA256 ECDHE-PSK-AES128-CBC-SHA PSK-AES128-GCM-SHA256 PSK-AES128-CCM8 PSK-AES128-CCM PSK-AES128-CBC-SHA256 PSK-AES128-CBC-SHA
    2025/04/22 23:25:26.610732 using configuration file: /etc/zabbix/zabbix_agent2.conf
    2025/04/22 23:25:26.611203 using plugin 'Agent' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.611304 using plugin 'Ceph' (built-in) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.611376 using plugin 'Cpu' (built-in) providing following interfaces: exporter, collector, runner
    2025/04/22 23:25:26.611444 using plugin 'DNS' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.611506 using plugin 'Docker' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.611582 using plugin 'File' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.611666 using plugin 'Hw' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.611736 using plugin 'Kernel' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.611798 using plugin 'Log' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.611855 using plugin 'MQTT' (built-in) providing following interfaces: watcher, configurator
    2025/04/22 23:25:26.612042 using plugin 'MSSQL' (/usr/libexec/zabbix/zabbix-agent2-plugin-mssql) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.612172 using plugin 'Memcached' (built-in) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.612258 using plugin 'Memory' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.612319 using plugin 'Modbus' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.612385 using plugin 'MongoDB' (/usr/libexec/zabbix/zabbix-agent2-plugin-mongodb) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.612452 using plugin 'Mysql' (built-in) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.612517 using plugin 'NetIf' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.612617 using plugin 'Oracle' (built-in) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.612802 using plugin 'PostgreSQL' (/usr/libexec/zabbix/zabbix-agent2-plugin-postgresql) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.612920 using plugin 'Proc' (built-in) providing following interfaces: exporter, collector
    2025/04/22 23:25:26.612998 using plugin 'ProcExporter' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.613061 using plugin 'Redis' (built-in) providing following interfaces: exporter, runner, configurator
    2025/04/22 23:25:26.613143 using plugin 'Smart' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.613212 using plugin 'Sw' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.613276 using plugin 'Swap' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.613337 using plugin 'SystemRun' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.613401 using plugin 'Systemd' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.613464 using plugin 'TCP' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.613595 using plugin 'UDP' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.613658 using plugin 'Uname' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.613725 using plugin 'Uptime' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.613785 using plugin 'Users' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.613846 using plugin 'VFSDev' (built-in) providing following interfaces: exporter, collector
    2025/04/22 23:25:26.613923 using plugin 'VFSDir' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.614000 using plugin 'VfsFs' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.614063 using plugin 'WebCertificate' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.614123 using plugin 'WebPage' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.614190 using plugin 'ZabbixAsync' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.614257 using plugin 'ZabbixStats' (built-in) providing following interfaces: exporter, configurator
    2025/04/22 23:25:26.614306 lowering the plugin ZabbixSync capacity to 1 as the configured capacity 1000 exceeds limits
    2025/04/22 23:25:26.614369 using plugin 'ZabbixSync' (built-in) providing following interfaces: exporter
    2025/04/22 23:25:26.614630 [Modbus] Config is valid
    2025/04/22 23:25:26.614917 Plugin communication protocol version is 6.4.0
    2025/04/22 23:25:26.615034 Zabbix Agent2 hostname: [ciri]
    2025/04/22 23:25:26.615130 starting manager
    2025/04/22 23:25:26.615589 [101] starting memory cache
    2025/04/22 23:25:26.615733 [101] starting server connector for 10.1.1.94:10051
    2025/04/22 23:25:26.616409 [0] starting listener for '0.0.0.0:10050'
    2025/04/22 23:25:26.616996 listening for control connections on /run/zabbix/agent.sock
    2025/04/22 23:25:28.001540 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:28.020619 [101] End of refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:28.020837 [101] In sendHeartbeatMsg() from 10.1.1.94:10051
    2025/04/22 23:25:28.021074 [101] processing update request (0 requests)
    2025/04/22 23:25:28.021184 [101] skipping empty update for unregistered client
    2025/04/22 23:25:28.025648 [101] End of sendHeartBeatMsg() from 10.1.1.94:10051
    2025/04/22 23:25:33.002312 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:33.010506 [101] End of refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:38.001535 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:38.015669 [101] End of refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:43.002436 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:43.010460 [101] End of refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:48.002149 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:48.010496 [101] End of refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:53.001432 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:53.012432 [101] End of refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:58.002333 [101] In refreshActiveChecks() from 10.1.1.94:10051
    2025/04/22 23:25:58.006807 [101] End of refreshActiveChecks() from 10.1.1.94:10051​
    Last edited by brahma08; 23-04-2025, 21:53.
  • brahma08
    Junior Member
    • Apr 2025
    • 3

    #2
    I cannot edit post, but i have correction

    zabbix_agent2.log its zabbix_agent2.conf

    Comment

    Working...