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

icmp* simple check SourceIP problem

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.4rc3
    • 1.8.3
    • Server (S)
    • None

      Hello,

      if using "SourceIP" in zabbix server configuration, there exist problem with icmp* simple check, because using fping to icmp ping with -S argument as SourceIP, but official last fping 2.4b2 version didn't have this feature.

      After patching fping with patch or using fping version 2.4b2_to-ipv6 [ http://unfix.org/projects/ipv6/fping-2.4b2_to-ipv6.tar.gz ], there is exist -I argument for source interface/ip. But is needed to patch .../zabbix-1.8.3/src/libs/zbxicmpping/icmpping.c on line 64:

      • i += zbx_snprintf(params + i, sizeof(/source_ip/params) - i, " -S%s ", CONFIG_SOURCE_IP);
        + i += zbx_snprintf(params + i, sizeof(/source_ip/params) - i, " -I%s ", CONFIG_SOURCE_IP);

      or exist "other version" ??

            Unassigned Unassigned
            paxon Laky paxon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: