Navigation

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

    GEOM Miror Notifications DON'T work

    General pfSense Questions
    2
    4
    586
    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.
    • B
      bulldog5 last edited by

      I have SMTP notifications configured and testing works fine.  I have GEOM Mirror setup with 2 drives and i'm testing notifications, when the array goes into a DEGRADED state, my understanding is an EMAIL notification should be sent indicating such.  This does not happen. The dashboard widget and GEOM Mirrors page show the array in degraded. Along with gmirror status.  Why are notifications not sent?

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Do you have this file in place?

        /var/run/gmirror_active
        

        If you run "ps uxawww" do you see this in the process list?

        /usr/local/bin/minicron 60 /var/run/gmirror_status_check.pid /usr/local/sbin/gmirror_status_check.php
        

        If you run this by hand in a shell, what happens?

        /usr/local/sbin/gmirror_status_check.php
        

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • jimp
          jimp Rebel Alliance Developer Netgate last edited by

          Looks like /usr/local/sbin/gmirror_status_check.php lacked execute permissions in the repository, so this should fix it:

          chmod a+x /usr/local/sbin/gmirror_status_check.php
          

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • B
            bulldog5 last edited by

            @jimp:

            Looks like /usr/local/sbin/gmirror_status_check.php lacked execute permissions in the repository, so this should fix it:

            chmod a+x /usr/local/sbin/gmirror_status_check.php
            

            Yes!! This fixed it, Thanks JIMP

            1 Reply Last reply Reply Quote 0
            • First post
              Last post