Ceph Alerts: Module alerts has missing NOTIFY_TYPES member

blackpaw

Renowned Member
Nov 1, 2013
321
33
93
Have enabled ceph alerts as per here:
Not getting any emails and I see this in the mgr logs

2024-07-25T11:21:30.931+1000 73aa68858280 1 mgr[py] Loading python module 'alerts'
2024-07-25T11:21:31.007+1000 73aa68858280 -1 mgr[py] Module alerts has missing NOTIFY_TYPES member
2024-07-25T11:21:32.267+1000 73aa512006c0 0 [alerts DEBUG root] setting log level based on debug_mgr: INFO (2/5)
2024-07-25T11:21:32.267+1000 73aa512006c0 0 [alerts INFO root] Init
2024-07-25T11:21:32.267+1000 73aa512006c0 1 mgr load Constructed class from module: alerts
2024-07-25T11:21:32.267+1000 73aa49a006c0 0 [alerts INFO root] Starting

ceph -s shows

HEALTH_WARN
unable to send alert email


Latest proxmox and ceph (reef).

Any suggestions?

Side note: Why is it so hard to get basic alerts out of ceph, I just want to be notified of cluster health issues, esepcially osd's down. Setting up Zabbix/Graphana/Promethous is way overkill and overly complex for my needs.

Thanks.