Ad Widget

Collapse

Zabbix 7.0.17 windows file system change rate (dependant LLD item caculation)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andrew_PT
    Junior Member
    • May 2025
    • 7

    #1

    Zabbix 7.0.17 windows file system change rate (dependant LLD item caculation)

    Hi

    We are running Zabbix 7.0.17 on a Ubuntu 24.04 server, and our servers are almost all Windows for our workloads.

    I would like to have a average (last 30 days) change rate for the file systems on the servers to allow us to plan disk space changes.

    I have tried to create an Item in the LLD (Low Level Discovery) for this and as a seperate item (only against 1 disk) but have not found the correct way as yet.

    Can a depenetant item run a calulation like average?

    on a dedicated item for C: I get the following error
    • Cannot evaluate function: item "/XXXXX/vfs.fs.size[C:,used]" does not exist at "avg(//vfs.fs.size[C:,used],30d)".

    The LLD just is not returning any data or error on following as a "calculated" item
    • avg(//vfs.fs.dependent.size[C:,used],30d)

    Thank you for any help and have a good day

    Andrew
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    In a discovery, you need to use prototype, not hardcoded values...
    So if you havea prototype, something like
    Code:
    vfs.fs.size[{#FSNAME},used]
    Then you also use
    Code:
    avg(//vfs.fs.size[{#FSNAME},used],30d)
    yes. this by default creates those items for all found FS-es... but you can use overrides for fine tuning...

    Comment

    • Andrew_PT
      Junior Member
      • May 2025
      • 7

      #3
      Hi

      Thank you for the reply

      this does not appear to work for me

      if I clone the existing used item I get this error
      Click image for larger version

Name:	image.png
Views:	43
Size:	35.0 KB
ID:	506623
      When I create a new item as a Calculated item like this
      Click image for larger version

Name:	image.png
Views:	31
Size:	15.6 KB
ID:	506624
      the latest data shows this error
      Click image for larger version

Name:	image.png
Views:	32
Size:	5.7 KB
ID:	506625
      So any idea on what I am doing wrong?

      Thank you and have a good day

      Andrew

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Bad wording from my side.. FIrst pic, you cannot do that, its for calculated item..
        and on second pic.. just verify, whats your correct item key in prototype and use it... Whatever I used are examples, not something you have to copy-paste...

        Comment

        Working...