Ad Widget

Collapse

Server load due to Zabbix SMART agent 2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Argo
    Junior Member
    • Jun 2023
    • 1

    #1

    Server load due to Zabbix SMART agent 2

    Hello,

    After the disk failed, when checking this pattern, the load on the server appeared. There was endless spam in auth.log:
    Code:
    Jun 05 08:24:47 servername sudo: zabbix : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/smartctl -a /dev/sda -d 3ware,11219 -j
    Jun 05 08:24:47 servername sudo: zabbix : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/smartctl -a /dev/sda -d 3ware,15205 -j
    Jun 05 08:24:47 servername sudo: zabbix : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/smartctl -a /dev/sda -d 3ware,14882 -j
    Jun 05 08:24:47 servername sudo: zabbix : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/smartctl -a /dev/sda -d 3ware,12554 -j
    Jun 05 08:24:47 servername sudo: zabbix : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/smartctl -a /dev/sda -d 3ware,10740 -j
    Jun 05 08:24:47 servername sudo: zabbix : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/smartctl -a /dev/sda -d 3ware,10754 -j​
    Stop spam and server load by disabling this template and restarting the agent on the server. After replacing the failed disk, the problem disappears.
    On the server itself, only software raid10 is configured. Hardware controllers are not installed.

    Agent and smartctl versions:
    Code:
    ~# /usr/sbin/zabbix_agent2 -V | head -n1
    zabbix_agent2 (Zabbix) 6.2.1
    Code:
    ~# smartctl -V | head -n1
    smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-131-generic] (local build)
    The problem was observed on two different servers with different OS (Ubuntu20, Centos8). Has anyone experienced this and knows how to avoid this behavior when one of the disks fails?​
Working...