Ad Widget

Collapse

Templates Items Triggers Alerts dont work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xris718
    Junior Member
    • Dec 2012
    • 2

    #1

    Templates Items Triggers Alerts dont work

    Hi

    I am running zabbix version 2.0. on a linux redhat server. The client is also a linux redhat server (kvm). Both can communicate back and forth just fine. The problem is that I have created a Template+Item+Trigger to monitor root space. When space fills up to 95% a trigger needs to be executed and alert sent out. I cant seem to get it working properly. Here is my setup.

    Templates
    -------------
    Name: Template_KVM_Filesystem


    Items
    ------------
    Host: Template_KVM_Filesystem
    Name: root fs < 10% left
    Type: zabbix agent
    Key: vfs.fs.size[/,free]
    Type of information: Numeric (unsigned)
    Data Type: Decimal
    Units: B


    Triggers
    -------------
    Name: root fs < 10% left
    Expression: {Template_KVM_Filesystem:vfs.fs.size[/,free].last(0)}<10
    Severity: High


    The above template has been created and added to my client redhat server which looks like this from client view:

    Items (the items are greyed out and cannot be changed)
    -----
    Parent items: Template_KVM_Filesystem
    Host: kvmtest
    Name: root fs < 10% left
    Type: Zabbix agent
    Key: vfs.fs.size[/,free]
    Type of information: Numeric (unsigned)
    Data Type: Decimal
    Units: B

    Triggers (the items are greyed out and cannot be changed)
    --------
    Parent triggers: Template_KVM_Filesystem
    Name: root fs < 10% left
    Expression: {kvmtest:vfs.fs.size[/,free].last(0)}<10



    So my question is how come the above configuration is not working when space on my client redhat kvm server reaches above 95% and no alert gets triggered?
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    vfs.fs.size(/,free) is not the same as vfs.fs.size/,pfree). You aren't watching percent.

    Comment

    • xris718
      Junior Member
      • Dec 2012
      • 2

      #3
      Awesome I changed it to pfree and it workd. Thanks so much!

      Comment

      Working...