Tracking Center not in sync

Discussion in 'Mail Gateway: HA Cluster' started by Thomas Hukkelberg, Mar 4, 2018.

  1. kyles2013

    kyles2013 New Member

    Joined:
    Jul 29, 2018
    Messages:
    9
    Likes Received:
    0
    I ran dos2unix on the file and the /r is now no longer in the file and the tracking center is now showing messages from all nodes!!! Thank you Sommer for all your help!
     
  2. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    47
    Likes Received:
    5
    Nice! :D
     
  3. DerDanilo

    DerDanilo Member
    Proxmox Subscriber

    Joined:
    Jan 21, 2017
    Messages:
    257
    Likes Received:
    24
    I am interested to put the script on Github. Others can access it and we can track changes and possible different option to use it.
    Automated setup scripts is also possible by hosting it there.
     
  4. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    47
    Likes Received:
    5
    You have my blessing ;)
     
  5. DerDanilo

    DerDanilo Member
    Proxmox Subscriber

    Joined:
    Jan 21, 2017
    Messages:
    257
    Likes Received:
    24
    Want to help?
     
  6. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    47
    Likes Received:
    5
    How can I? Never used Github.
     
  7. DerDanilo

    DerDanilo Member
    Proxmox Subscriber

    Joined:
    Jan 21, 2017
    Messages:
    257
    Likes Received:
    24
    Please PM me.
     
  8. chebedewel

    chebedewel New Member

    Joined:
    Nov 16, 2018
    Messages:
    10
    Likes Received:
    2
    @Sommer Thank you very much for this little script ! My setup is a bit different, with a cluster of 6 I'm using syslog to send everything to the quarantine host, and from there your script does wonders !!
     
  9. Juliano Silva

    Juliano Silva Member

    Joined:
    Oct 15, 2017
    Messages:
    163
    Likes Received:
    0
    Does it work for the latest version?
     
  10. Juliano Silva

    Juliano Silva Member

    Joined:
    Oct 15, 2017
    Messages:
    163
    Likes Received:
    0
    How does it work for 2 nodes?

    /usr/bin/pmg-log-tracker-default "$@" | head -n -1
    ssh root@serverNODE -1 /usr/bin/pmg-log-tracker-default "$@" | sed '/^#/ d'
    ssh root@serverNODE-2 /usr/bin/pmg-log-tracker-default "$@" | sed '/^#/ d'
     
  11. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    47
    Likes Received:
    5
    Yes
     
  12. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    47
    Likes Received:
    5
    Exactly
     
  13. Juliano Silva

    Juliano Silva Member

    Joined:
    Oct 15, 2017
    Messages:
    163
    Likes Received:
    0
    pmg-log-tracker viewing duplicate emails
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice