Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Apinger.conf – duplicate targets

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Michael Sh.
      last edited by

      Hi!

      /etc/inc/gwlb.inc->setup_gateways_monitor()
      Because function not clean temp buffers $alarmscfg and $apingercfg it make multiply entries for one gateway in apinger.conf.

                      $apingerconfig .= $alarmscfg;
                      $apingerconfig .= $apingercfg;
                      $alarmscfg = "";    // reset
                      $apingercfg = "";    // reset
              }
              fwrite($fd, $apingerconfig);
              fclose($fd);
      
      
      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Should be on newer snapshots.
        Thanks.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.