Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with status email megaclisas-status #122

Open
schabau opened this issue Jan 31, 2021 · 2 comments
Open

Problem with status email megaclisas-status #122

schabau opened this issue Jan 31, 2021 · 2 comments

Comments

@schabau
Copy link

schabau commented Jan 31, 2021

Hello,
I am using megaclisas-status on a Debian system (Proxmox) and it almost everything works very well.

But I have a problem with the email notification.
The settings under /etc/init.d/megaclisas-statusd are unchanged. A check should therefore be carried out by megaclisas-status every 10 minutes and, in the event of an error, a status email should be sent again every 2 hours.

In the event of an error or during a rebuild I get a status mail from megaclisas-status every 10 minutes and not every 2 hours. That will be a lot of email traffic during a rebuild.
What can I do?

/etc/init.d/megaclisas-statusd
MAILTO=root # Where to report problems
PERIOD=600 # Seconds between each check (default 10 minutes)
REMIND=7200 # Seconds between each reminder (default 2 hours)
RUN_DAEMON=yes

Many greetings
schabau

@flob82
Copy link

flob82 commented Mar 17, 2021

Hi

Facing the same issue.
The problem was the rebuilding percentage when the megaclisas-status --notemp report the status.
Each PERIOD interval with a different percentage you will receive notification.
Made a quick fix as you can see flob82@a3384c3

Just report "Rebuilding" for status file and email with the full megaclisas-status report

++

@schabau
Copy link
Author

schabau commented Mar 19, 2021

Made a quick fix as you can see flob82@a3384c3

Hi,
many thanks for the help. I've updated the two files.
The success will be shown with the next rebuild.

Many greetings
schabau

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants