Hi, in the documentation says that I can use pused in the system,swap,size key:
type - possible values:
free (free swap space, default), pfree (free swap space, in percent), pused (used swap space, in percent), total (total swap space), used (used swap space):
But when i try to use it in pyzabbix nothing is returned, is there a way to return this value?
this is what i had tried.
items= zh.item.get(output=['hostid', 'name' ,'key_'], search={'key_':'system.swap.size[pused]'})
also tried with a coma before pused:
system.swap.size[,pused]
type - possible values:
free (free swap space, default), pfree (free swap space, in percent), pused (used swap space, in percent), total (total swap space), used (used swap space):
But when i try to use it in pyzabbix nothing is returned, is there a way to return this value?
this is what i had tried.
items= zh.item.get(output=['hostid', 'name' ,'key_'], search={'key_':'system.swap.size[pused]'})
also tried with a coma before pused:
system.swap.size[,pused]