Hello Everyone.
I'm using Zabbix 5 and CentOS host.
I want to modify the trigger '{#FSNAME}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}%)' by default the trigger is:
But I want to know if there is a way to divide ptotal by 20% instead insert manually size in GB in expression like the default value is 10G. My environment for example I have different size of disk and I need the trigger action only when I get 20% size free or less.
I tried some changes but doesn't work.
Thanks.
I'm using Zabbix 5 and CentOS host.
I want to modify the trigger '{#FSNAME}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}%)' by default the trigger is:
{Template OS Linux by Zabbix agent:vfs.fs.size[{#FSNAME},pused].last()}>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and (({Template OS Linux by Zabbix agent:vfs.fs.size[{#FSNAME},total].last()}-{Template OS Linux by Zabbix agent:vfs.fs.size[{#FSNAME},used].last()})<10G or {Template OS Linux by Zabbix agent:vfs.fs.size[{#FSNAME},pused].timeleft(1h,,100)}<1d)
I tried some changes but doesn't work.
Thanks.