Hi,
I have a trigger that uses the Linux swap space item, but it displays free space while I would prefer to use used space. The following items exist:
And a custom operational data string like so:
I don't fully understand how the value macros in operational data work, but as far as I can tell, it's "smart", and inverting this metric does not seem obvious. I suspect I might need to modify the items or add new ones. How might I go about this?
I have a trigger that uses the Linux swap space item, but it displays free space while I would prefer to use used space. The following items exist:
- system.swap.size[,pfree]
- system.swap.size[,free]
- system.swap.size[,total]
Code:
max(/Linux by Zabbix agent/system.swap.size[,pfree],5m)<{$SWAP.PFREE.MIN.WARN} and last(/Linux by Zabbix agent/system.swap.size[,total])>0
Code:
Free: {ITEM.LASTVALUE1}, total: {ITEM.LASTVALUE2}
Comment