Ad Widget

Collapse

Mounted FS Discovery rule collects "Available space" as "Total space"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daniels0056
    Junior Member
    • Jan 2024
    • 2

    #1

    Mounted FS Discovery rule collects "Available space" as "Total space"

    I've a problem with the passive agent collecting "Total Space" as "Available space", and "Used space" is stuck on 128KB no matter how much data I write.

    I've been using the passive agent on all my hosts in my home lab and never encountered this issue before. What I think happened was that I wrongly added a striped ZFS pool called `wd-red-6tb-v1` and the zabbix-agent snapped up the new filesystem, I then removed the pool and recreated it as mirrored with the same name. Somehow this messed up the collection of data.

    I've attempted to fix this by removing all items `/wd-red-6tb-v1*` for this host and executed the discovery rule, which recreated all items again - but still the collection is not correctly tagging values as "total space" or "used space".

    This is only happening for the specific ZFS pool and host, no other host or FS have this issue.

    Did anyone experience this issue before, if so did you find a solution?

    If I look at the items it would seem as it does collect "total" and "used" correctly on the vfs.fs.size data, but that's not happening.

    ​​

    ​​
  • daniels0056
    Junior Member
    • Jan 2024
    • 2

    #2
    I'm sorry for bumping but I can't seem to find an edit button, maybe because I'm still under moderation for being a new member of this forum.

    So, I ran `df -h` on my server and even this shows the total size as "available" size:
    Code:
    proxmox:~# df -h | grep wd-red
    Filesystem            Size  Used Avail Use% Mounted on
    wd-red-6tb-v1         3.1T  128K  3.1T   1% /wd-red-6tb-v1
    I think the issue if with something else completely, nothing Zabbix-related. I'm not sure what could cause this, but I think I'll have to dig somewhere else. Still, if anyone ever encountered this, please let me know.

    Comment

    Working...