Ad Widget

Collapse

What is status.last?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marius
    Member
    • Apr 2006
    • 47

    #1

    What is status.last?

    1.1 manual trigger section states: "Note:Note ‘status’ is special parameter which is calculated if and only if corresponding host has at least one parameter for monitoring. See description of ‘status’ for more details."

    But the description of 'status' is nowhere to be found.
  • fmtaylor2
    Member
    • May 2006
    • 66

    #2
    psuedo coded

    if [host(number_of_checks)] > 0 && result[any(checks)] >= true
    Then status == 2
    else status == 0

    clear as vodka

    Comment

    • marius
      Member
      • Apr 2006
      • 47

      #3
      Originally posted by fmtaylor2
      if [host(number_of_checks)] > 0 && result[any(checks)] >= true
      Then status == 2
      else status == 0

      clear as vodka
      Hmm the documentation seems to imply that it should be the other way around:

      # Example 7. Server is unreachable.

      {zabbix.zabbix.com:status.last(0)}=2

      Comment

      • fmtaylor2
        Member
        • May 2006
        • 66

        #4
        You are correct. your kung-fu is strong

        Comment

        • marius
          Member
          • Apr 2006
          • 47

          #5
          Originally posted by fmtaylor2
          You are correct. your kung-fu is strong
          Ok I didn't understand what the "2" meant in the doc. It seems like an odd number (why not 1). Anyway it makes more sense now. thanks.

          Comment

          Working...