Ad Widget

Collapse

OpenSolaris Agent and multiterabyte volumes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ulzeraj
    Junior Member
    • Jul 2010
    • 1

    #1

    OpenSolaris Agent and multiterabyte volumes

    Hello. I'm depoloying Zabbix in my organization and everything is going fine, but I cant monitor some zfs volumes with >=2tb of storage capacity. Tested with binary precompiled agents 1.8.2, 1.8 and 1.6.6.

    rpool is the zpool where the system is installed. It has 1.33gb total space and the agent reads it just fine:


    Code:
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/rpool,pfree]
    vfs.fs.size[/rpool,pfree]                     [d|99.999994]
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/rpool,free]
    vfs.fs.size[/rpool,free]                      [u|1465741476352]
    storage is a 4tb test zpool:
    Code:
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage,free]
    vfs.fs.size[/storage,free]                    [m|ZBX_NOTSUPPORTED]
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage,pfree]
    vfs.fs.size[/storage,pfree]                   [m|ZBX_NOTSUPPORTED]
    storage/test is a 1 tb volume:
    Code:
    sysadmin@ferro:~/Downloads# zfs create storage/test
    sysadmin@ferro:~/Downloads# zfs set quota=1tb storage/test
    sysadmin@ferro:~/Downloads# zfs list storage/test
    NAME           USED  AVAIL  REFER  MOUNTPOINT
    storage/test  28.4K  1024G  28.4K  /storage/test
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage/test,free]
    vfs.fs.size[/storage/test,free]               [u|1099511598592]
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage/test,pfree]
    vfs.fs.size[/storage/test,pfree]              [d|99.999997]
    I have extended storage/test to 1.9tb. Still works:
    Code:
    sysadmin@ferro:~/Downloads# zfs set quota=1.9tb storage/test
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage/test,free]
    vfs.fs.size[/storage/test,free]               [u|2089072063488]
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage/test,pfree]
    vfs.fs.size[/storage/test,pfree]              [d|99.999999]
    Now I extend it to 2tb. The agent say its not supported:
    Code:
    sysadmin@ferro:~/Downloads# zfs set quota=2tb storage/test
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage/test,free]
    vfs.fs.size[/storage/test,free]               [m|ZBX_NOTSUPPORTED]
    sysadmin@ferro:~/Downloads# /opt/zabbix/sbin/zabbix_agent -c /opt/zabbix/etc/zabbix_agent.conf -t vfs.fs.size[/storage/test,pfree]
    vfs.fs.size[/storage/test,pfree]              [m|ZBX_NOTSUPPORTED]
    Is this a limitation of zabbix on opensolaris or zabbix agent cant monitor multiterabyte volumes?

    Thanks in advance!
  • alubel
    Junior Member
    • Jan 2010
    • 13

    #2
    1.8.3 has the issue as well

    really wish this worked - they fixed the ethernet statistics part, wonder why not this?

    Comment

    • walterheck
      Senior Member
      • Jul 2009
      • 153

      #3
      Best way to make sure that gets fixed is to file a bug report (or find one that has already been filed and add a note that you run into the same problem).

      If you do, please link to it here for future searchers...
      Free and Open Source Zabbix Templates Repository | Hosted Zabbix @ Tribily (http://tribily.com)

      Comment

      Working...