Why a mdadm notification email?

  • Hello,


    I receive a mdadm notification email everyday and don't know why!
    Could you help me to understand?


    Code
    Anacron job 'cron.daily' on NAS [NAS]
    
    
    /etc/cron.daily/mdadm:
    mdadm: No mail address or alert command - not monitoring.
    run-parts: /etc/cron.daily/mdadm exited with return code 1


    I saw that mdadm is about RAID, and I've no RAID in my OMV.


    In "System/Notification", I've the settings:
    Storage
    Filesystems [enabled]
    S.M.A.R.T. [enabled]
    Software RAID [disabled]
    System
    CPU usage [disabled]
    Load average [disabled]
    Memory usage [disabled]
    Process monitoring [enabled]
    Software updates [enabled]


    Thanks a lot,
    Chris

  • Add line to /etc/mdadm/mdadm.conf:


    Code
    MAILADDR mymail@myhome.com


    or an email alias as defined in /etc/alias


    as MAILADDR is needed...from cat/etc/crond.daily/openmediavault-mdadm:


    Code
    # Exit if no email address is configured, otherwise the error message
    # 'mdadm: No mail address or alert command - not monitoring.' will be
    # displayed.
    [ -z "$(grep "^MAILADDR" /etc/mdadm/mdadm.conf)" ] && exit 0


    [/code]

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!