Ad Widget

Collapse

APC template - APC: Run Time Remaining ERROR?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • axterics
    Junior Member
    • Jan 2009
    • 12

    #1

    APC template - APC: Run Time Remaining ERROR?

    Looking at the template "Template_APC_Battery" trigger I see this:

    Disaster Template_APC_Battery:APC: Run Time Remaining Critical Level - PC_5000 {APC_5000:upsAdvRunTimeRemaining. last( 0 ) }<5

    High Template_APC_Battery:APC: Run Time Remaining Low - APC_5000 {APC_5000:upsAdvRunTimeRemaining. last( 0 ) }<10

    I create a new trigger that sum the value in key "upsAdvRunTimeRemaining" of 2 UPS:
    {APC_5000:upsAdvRunTimeRemaining. last( 0 )}+{APC_5000S:upsAdvRunTimeRemaining. last( 0 ) }<120

    I force a hight value of minutes for check that the trigger change status to "PROBLEM" but the trigger show me always "OK"

    So I discover that the item have the parameter units set to "s" aka seconds instead the template trigger seem thinking in minutes (I don't really think a server shudown in 5 seconds :| )...

    I set so "<7200" (120*60sec) and not the problem is triggered, I set that the value a little below my sum real value and the trigger is OK...

    Is correct? Is the template buggy?
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    The trigger should be set in seconds. I had mine already set that way so not sure how the template got messed up.

    I just restested mine by upping my values so not sure why your is not working. Do the values being returned by zabbix match what the UPS web GUI (or front panel) is saying?

    Comment

    • axterics
      Junior Member
      • Jan 2009
      • 12

      #3
      Maybe my english is not so well...
      I solved my problem. If I set the value in seconds is all right.
      I want only the confirm that the template is buggy...

      Comment

      Working...