Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-824

ntp simple check do not check correctly the use_ip flag

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.5, 1.6
    • None
    • Server (S)
    • None

    Description

      the exist from 1.4.1 to 1.6.x...

      simple check do not use host_dns if "use dns is checked" but use ip defined...

      to correct this you must modifiy check_simple.c as is:

      diff -u -r zabbix-1.4.1/src/zabbix_server/poller/checks_simple.c zabbix-1.4.1-patched/src/zabbix_server/poller/checks_simple.c
      — zabbix-1.4.1/src/zabbix_server/poller/checks_simple.c 2007-06-29 22:50:26.000000000 +0200
      +++ zabbix-1.4.1-patched/src/zabbix_server/poller/checks_simple.c 2007-07-25 02:00:30.836587875 +0200
      @@ -59,7 +59,7 @@

      { zbx_snprintf(c,sizeof(c),"net.tcp.service[%s,%s]", item->key, - item->host_ip); + item->host_dns); }

      }
      }

      Attachments

        Activity

          People

            alexei Alexei Vladishev
            mcarbonneaux Mathieu CARBONNEAUX
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: