Ad Widget

Collapse

icmpping and icmppingsec giving same information

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamkad
    Junior Member
    • Sep 2005
    • 27

    #1

    icmpping and icmppingsec giving same information

    item configuration:

    icmpping icmpping 30 90 365 Simple check Active Simple check
    icmppingsec icmppingsec 60 90 365 Simple check Active Simple check

    latest data:

    DESCRIPTION Last check Last value Change History
    icmpping 11 Dec 14:00:39 0.37 +0.02 Graph
    icmppingsec 11 Dec 14:00:39 0.46 -1.99 Graph

    In zabbix 1.1 help it says that icmpping should return 0 or 1:
    icmpping: Checks if server accessible by ICMP ping
    0 - ICMP ping fails 1 - ICMP ping successful

    Is this a bug or am i doing something wrong?

    Is there another way to get information if host is down using
    simple check? I would like have trigger to inform me when host
    is down and with icmppingsec i can't get it working.

    thanks
  • pdwalker
    Senior Member
    • Dec 2005
    • 166

    #2
    in 1.1b3, I am not having that problem.

    icmpping is returning 1 or 0

    icmppingsec is returning a time.

    Can you verify your rules one more time?

    - Paul

    Comment

    • pdwalker
      Senior Member
      • Dec 2005
      • 166

      #3
      My apologies!

      icmpping is *not* working in 1.1b3. No data is being stored into the database for icmpping.

      A number is being displayed (0.16??) but there are no entries in the history table.

      icmppingsec is working and entries are being stored into the database.

      I'll test in 1.1b4 later today.

      - Paul
      Last edited by pdwalker; 12-12-2005, 08:56. Reason: mention of 1.1b4 testing

      Comment

      • pdwalker
        Senior Member
        • Dec 2005
        • 166

        #4
        Not working in 1.1b4 either. It did work for me in 1.1b2.

        Type:
        Simple Check

        key:
        icmpping

        units:
        <empty>

        use multiplier:
        do not use

        type of information:
        numeric

        store value:
        as is
        Last edited by pdwalker; 12-12-2005, 13:02.

        Comment

        • Nate Bell
          Senior Member
          • Feb 2005
          • 141

          #5
          Wow, I'm glad you guys found this bug before I switched to Beta4 since I use icmpping to detect if our machines are up or down. That's a deal breaker for me until it gets resolved. Thanks for the heads up.

          Comment

          • pdwalker
            Senior Member
            • Dec 2005
            • 166

            #6
            You can try agent.ping for those machines with a zabbix client

            Comment

            • illumin8
              Member
              • Jun 2005
              • 36

              #7
              Ironically the alpha versions are much more stable than any of the beta versions I've seen. At least in the alpha versions templating worked and icmpping worked.

              Ouch... time to deploy alpha 10

              Comment

              • jamkad
                Junior Member
                • Sep 2005
                • 27

                #8
                i hope this will be fixed for beta5

                Comment

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

                  #9
                  I cannot confirm this issue in 1.1beta4 yet. Will be tested and fixed if needed.
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

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

                    #10
                    Yes, both icmpping and icmppingsec are broken in 1.1beta4. Sorry for this.

                    Please wait for ZABBIX 1.1beta5 or download the latest pinger.c from CVS and recompile it with 1.1beta4 sources.
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • rushowr
                      Member
                      • Jul 2005
                      • 30

                      #11
                      Here's a simple script you can run on the monitoring server (via the agent, using a custom parameter) that will emulate the exact same functionality. Just thought I'd share, since I've been officially reamed a new posterier over this today. I had missed the fact that it was broken, and got a chewing over a 5 hour downtime due to the lack of this item.

                      Code:
                      #! /bin/bash
                      
                      /usr/sbin/fping $1 | grep alive | wc -l



                      Run this with a user parameter like:
                      Code:
                      UserParameter=alivecheck.[HOSTNAME],/path/to/script.sh [HOSTNAME]

                      Comment

                      Working...