Ad Widget

Collapse

Return value of simple checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • predatorz
    Senior Member
    • Mar 2007
    • 109

    #1

    Return value of simple checks

    Hi all,

    Just to clarify,

    Why does simple check return value of 2 when 0 - server down, 1 - server running ?
    e.g. pop, smtp, tcp, imap, and etc check ?

    2 stands for unreachable ? How does zabbix determine server unreachable?

    If so, does the below trigger works better compared to {Hostname:icmpping.max(300)}=0

    {Hostname:icmpping.max(300)}<1 | {Hostname:icmpping.max(300)>1
    Since value of 1 states that server is running
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    The 2 stands for timeout!
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • predatorz
      Senior Member
      • Mar 2007
      • 109

      #3
      Okay. Thanks for clarifying.

      Can i just check what is the difference below triggers?
      {Hostname:icmpping.max(300)}=0
      {Hostname:icmpping.max(300)}#1
      {Hostname:icmpping.min(300)}=0
      {Hostname:icmpping.min(300)}#1
      {Hostname:icmpping.max(300)}<1 | {Hostname:icmpping.max(300)}>1

      Does all of it works the same way?
      Last edited by predatorz; 09-04-2007, 04:18.

      Comment

      • predatorz
        Senior Member
        • Mar 2007
        • 109

        #4
        Why does zabbix simple check return value of 2 instead of 0 as the service is down ?

        Comment

        Working...