GEOM Miror Notifications DON'T work
-
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?
-
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
-
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
-
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