Ad Widget

Collapse

Can't get working disk perfomance metrics on host behind firewall

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Egidijus
    Junior Member
    • Oct 2018
    • 3

    #1

    Can't get working disk perfomance metrics on host behind firewall

    Server: Zabbix v3.4 on AWS
    Client: zabbix_agentd (daemon) (Zabbix) 3.4.14, on local infrastructure.

    Zabbix agents are configured using this instruction: https://www.fontenay-ronan.fr/zabbix...-nat-firewall/, basic statistic working and reporting smoothly. But not enough information about disk subsystem perfomance. Thus installed template https://share.zabbix.com/storage-dev...nce-monitoring. Monitoring works smoothly for local server.

    Installed agent on target server behind the firewall, basic statistic working and reporting smoothly (CPU, etc.), but I cannot make Zabbix agent report disk perfomance statistics to Zabbix server.
    $ /usr/local/bin/lld-disks.py produces expected results on target server:
    administrator@ubuntu:~$ /usr/local/bin/lld-disks.py
    {
    "data": [

    {
    "{#DEVICENAME}": "sda1"
    }
    ]
    }

    Meanwhile tests below fail. I believe it is trying to do passive check, e.q. request to Zabbix agent, which is not possible in my scenario, cause it is behind firewall.
    $ zabbix_get -s 127.0.0.1 -k "custom.vfs.dev.write.sectors[sda1]"
    zabbix_get [11526]: Get value error: cannot connect to [[127.0.0.1]:10050]: [111] Connection refused
    $ zabbix_get -s MY_ZABBIX_SERVER_IP -k "custom.vfs.dev.write.sectors[sda1]"
    zabbix_get [11553]: Timeout while executing operation


    Advice needed, how to configure Zabbix agent, in order to send disk perfomance information to Zabbix server. Or maybe other solution would be recommended in order to monitor disk perfomance (later mysql will bw needed) for a host behind a firewall?
Working...