zed verbose notifications?

  • Howdy!


    I'm trying to get verbose zfs/zed notifications over e-mail.

    The normal e-mail notifications are working fine, but I see no way to make zed verbose, since:


    • if I manually configure it in /etc/zfs/zed.d/zed.rc, the settings get lost (the file itself tells you it's pointless to do config there since it's auto-generated by OMV)
    • there's no setting on the web interface to configure verbose zed notifications.

    Any ideas?

  • macom

    Approved the thread.
  • Isn't this already set in /etc/zfs/zed.d/zed.rc, ?


    Code
    root@omvt:/etc/zfs/zed.d# cat /etc/zfs/zed.d/zed.rc
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    
    ZED_EMAIL_ADDR="dummysmtp@gail.com"
    ZED_NOTIFY_INTERNAL_SECS=3600
    ZED_NOTIFY_VERBOSE=1
    ZED_SYSLOG_SUBCLASS_EXCLUDE="history_event"
    root@omvt:/etc/zfs/zed.d# 
  • (sorry for the giant delay, I literally moved half-way across the country, haven't had much time to focus on this)


    mine looks very different:


    Code
    #This file blablabla
    #WARNING: Do not blablabla
    
    ZED_EMAIL_ADDR=-----@------.--- (redacted by me right now)
    ZED_NOTIFY_INTERNAL_SECS=3600

    Nothing about verbose or excluded subclass, plus those lines with "root@omvt" you have on yours at the start and end are missing from mine.

    • New
    • Official Post

    If you don't have notifications enabled at the omv level, saltstack will not write the verbose line.

    openmediavault-zfs/srv/salt/omv/deploy/zfszed/files/etc_zfs_zed-d_zed-rc.j2 at master · OpenMediaVault-Plugin-Developers/openmediavault-zfs
    OpenMediaVault plugin for zfs. Contribute to OpenMediaVault-Plugin-Developers/openmediavault-zfs development by creating an account on GitHub.
    github.com

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!