Ad Widget

Collapse

Per-filesystem parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • contemascetti
    Junior Member
    • Mar 2018
    • 1

    #1

    Per-filesystem parameters

    Hello!
    I'm quite new at Zabbix (v3.4.7 on Debian).

    I have written a calculated item which forecasts the time it would take to fill a filesystem volume.
    This can be used to trigger an alert if, say, the volume is going to be filled in X hours.

    The analysis is done on the past data over a time interval (*).
    My problem is that different filesystems have different usage patterns, and they can require
    a longer or shorter interval.

    My item is an item prototype under Discovery list/Mounted filesystem discovery, so all
    hosts with the Template OS Linux will have it by default on all volumes.

    Am I approaching the problem in the right way?
    For now, I am using a macro (either global or host) as interval size, but is there a clean way
    to have a custom value for each filesystem?

    Regards


    (*) four, actually. I got the formula from http://zabbix.org/mw/images/1/18/Prediction_docs.pdf



    Edit - I think what I am looking for is Macro Contexts, maybe I have posted too soon:


    Last edited by contemascetti; 29-03-2018, 15:05.
Working...