Ceph Alerts: Module alerts has missing NOTIFY_TYPES member

blackpaw

Renowned Member
Nov 1, 2013
312
23
83
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!