Ad Widget

Collapse

Can't search by system.swap.size[pused]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Molusco
    Junior Member
    • Dec 2019
    • 20

    #1

    Can't search by system.swap.size[pused]

    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]
Working...