Ad Widget

Collapse

pinger change availability of host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gescheit
    Senior Member
    • Jul 2007
    • 156

    #1

    pinger change availability of host

    This patch for zabbix 1.4.1. I made that pinger(simple check: icmppingsec, icmpping) change status of host.
    Патч для zabbix 1.4.1. Теперь при пинговании хоста через simple check меняется состояние хоста. Не знаю почему это не было сделано раньше.
    Attached Files
    Last edited by gescheit; 15-07-2007, 15:10.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    The patch is not really correct. Failed ping does not immediately means that a host is unavailable.

    I think that ZABBIX has to be improved in order to track several levels of host availability (icmp ping, passive checks, active checks, SNMP, etc). I do not know how to implement it though.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • gescheit
      Senior Member
      • Jul 2007
      • 156

      #3
      And what does it mean if a host is not pinging? I think if host not pinging this means that he is not available.

      A correct what if the host is not responding to snmp this means that he is not available?
      (Sorry for my english )

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Originally posted by gescheit
        And what does it mean if a host is not pinging? I think if host not pinging this means that he is not available.
        If you will have blocaded ICMP packets on firewall this will does not mean host is not avalaible.
        If a host is not pinging its mean it does not pinging .. nothing more.
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        • gescheit
          Senior Member
          • Jul 2007
          • 156

          #5
          First, no blocking. Second, if you block SNMP will also be means that the host is not available. Third, if you deny 10050 port will also be means that the host is unavailable.
          Even if the host is not included snmp zabbix it believes it off.
          Last edited by gescheit; 19-07-2007, 14:59.

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Gescheit, what is your definition of host unavailability? Just wondering...
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • gescheit
              Senior Member
              • Jul 2007
              • 156

              #7
              Pings determines available or not remote host. (read this http://en.wikipedia.org/wiki/Ping). Also TCP(like tcp,23) check show status of host.

              If the host is not responding to snmp(zabbix agent) it does not mean that host is not available, it is likely that there snmp(zabbix agent) is off.

              Comment

              • welkin
                Senior Member
                • Mar 2007
                • 132

                #8
                I think ping is an simple tool to determine the status of a host because it is "your" network which you want to monitor and in this case if a host is not pingable, it is likely down (in your own network you wouldn't block icmpping if you use it for status calculation).
                Another nice alternative could be to set manual a bunch of items(or just one) which should determine the status.
                It could be possible to connect triggers with the status of a host e.g. that a certain trigger (or more than one) determine the status of a host . This would add even more flexibility to zabbix.

                mfg
                welkin

                Comment

                • gescheit
                  Senior Member
                  • Jul 2007
                  • 156

                  #9
                  It would be wonderful if I could choose what kind of testing is changing status of host. I just do first small step for this.

                  Question : If the host not have SNMP and it is impossible to install zabbix agent, his status will always be "Unknown" ?

                  Comment

                  • Alexei
                    Founder, CEO
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Sep 2004
                    • 5654

                    #10
                    Originally posted by welkin
                    Another nice alternative could be to set manual a bunch of items(or just one) which should determine the status.
                    It could be possible to connect triggers with the status of a host e.g. that a certain trigger (or more than one) determine the status of a host . This would add even more flexibility to zabbix.
                    I agree with you very much on this. I think that host availability will be implemented in a similar way in newer major releases of ZABBIX.
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    Working...