Ad Widget

Collapse

Proxy cannot send data fast enough

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gumis_148
    Member
    • Jan 2019
    • 52

    #1

    Proxy cannot send data fast enough

    I have a problem with a proxy server that collects data from all hosts and passes it to zabbix server. However, it often has breaks in data collection (initially data is sent with a delay, then it does not send anything anymore). There is no error in the proxy logs. Additionally, almost all queues are over 10 minutes. I have disabled items that had the Not supported status. Where to start the analysis?


    zabbix_server.conf
    Code:
    ListenPort=10051
    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    PidFile=/var/run/zabbix/zabbix_server.pid
    SocketDir=/var/run/zabbix
    DBName=zabbix
    DBUser=zabbix_srv
    DBPassword=Awg/iD6wR1id1en/8rg
    StartPollers=3
    StartPollersUnreachable=5
    JavaGateway=127.0.0.1
    StartJavaPollers=0
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    CacheSize=512M
    ValueCacheSize=32M
    Timeout=30
    AlertScriptsPath=/usr/lib/zabbix/alertscripts
    ExternalScripts=/usr/lib/zabbix/externalscripts
    LogSlowQueries=3000
    StatsAllowedIP=127.0.0.1

    zabbix_proxy.conf
    Code:
    ProxyMode=0
    Server=10.10.10.10
    ServerPort=10051
    Hostname=ZABBIX-PROXY
    ListenPort=10051
    LogFile=/var/log/zabbix/zabbix_proxy.log
    LogFileSize=0
    DebugLevel=3
    PidFile=/var/run/zabbix/zabbix_proxy.pid
    SocketDir=/var/run/zabbix
    DBName=zabbix
    DBUser=zabbix
    DBPassword=ucFgIrag
    ProxyOfflineBuffer=72
    ConfigFrequency=600
    StartPollers=20
    StartPollersUnreachable=20
    StartTrappers=5
    StartPingers=5
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    CacheSize=128M
    Timeout=25
    ExternalScripts=/usr/lib/zabbix/externalscripts
    LogSlowQueries=3000
    StatsAllowedIP=127.0.0.1

    Code:
    [root@ZABBIX-PROXY ~]# ps ax | grep sender
    1604511 ? S 0:00 /usr/sbin/zabbix_proxy: heartbeat sender [sending heartbeat message success in 0.077498 sec, idle 60 sec]
    1604512 ? S 0:59 /usr/sbin/zabbix_proxy: data sender [sent 22 values in 0.108079 sec, idle 1 sec]
    1651760 pts/0 R+ 0:00 grep --color=auto sender
    [root@ZABBIX-PROXY ~]# ps ax | grep trapper
    1604506 ? S 0:06 /usr/sbin/zabbix_proxy: trapper #1 [processed data in 0.041803 sec, waiting for connection]
    1604507 ? S 0:04 /usr/sbin/zabbix_proxy: trapper #2 [processed data in 0.032595 sec, waiting for connection]
    1604508 ? S 0:05 /usr/sbin/zabbix_proxy: trapper #3 [processed data in 0.000977 sec, waiting for connection]
    1604509 ? S 0:05 /usr/sbin/zabbix_proxy: trapper #4 [processed data in 0.000226 sec, waiting for connection]
    1604510 ? S 0:05 /usr/sbin/zabbix_proxy: trapper #5 [processed data in 0.000546 sec, waiting for connection]
    1651787 pts/0 R+ 0:00 grep --color=auto trapper

    mariadb.log
    Code:
    2021-01-11 8:29:10 6835 [Warning] Aborted connection 6835 to db: 'zabbix' user: 'zabbix_srv' host: 'localhost' (Got an error reading communication packets)
    2021-01-11 8:29:10 6844 [Warning] Aborted connection 6844 to db: 'zabbix' user: 'zabbix_srv' host: 'localhost' (Got an error reading communication packets)
    2021-01-11 8:29:10 6838 [Warning] Aborted connection 6838 to db: 'zabbix' user: 'zabbix_srv' host: 'localhost' (Got an error reading communication packets)
    2021-01-11 8:29:10 6832 [Warning] Aborted connection 6832 to db: 'zabbix' user: 'zabbix_srv' host: 'localhost' (Got an error reading communication packets)

    Click image for larger version

Name:	queue.PNG
Views:	723
Size:	29.2 KB
ID:	416526
    Attached Files
Working...