description: 'The supported limit for clients connecting to a subsystem is %(NVMeoFHighClientCount)d' % $._config,
},
},
+ {
+ alert: 'NVMeoFMissingListener',
+ 'for': '10m',
+ expr: 'ceph_nvmeof_subsystem_listener_count == 0 and on(nqn) sum(ceph_nvmeof_subsystem_listener_count) by (nqn) > 0',
+ labels: { severity: 'warning', type: 'ceph_default' },
+ annotations: {
+ summary: 'No listener added for {{ $labels.instance }} NVMe-oF Gateway to {{ $labels.nqn }} subsystem',
+ description: 'For every subsystem, each gateway should have a listener to balance traffic between gateways.',
+ },
+ },
+ {
+ alert: 'NVMeoFZeroListenerSubsystem',
+ 'for': '10m',
+ expr: 'sum(ceph_nvmeof_subsystem_listener_count) by (nqn) == 0',
+ labels: { severity: 'warning', type: 'ceph_default' },
+ annotations: {
+ summary: 'No listeners added to {{ $labels.nqn }} subsystem',
+ description: 'NVMeoF gateway configuration incomplete; one of the subsystems have zero listeners.',
+ },
+ },
{
alert: 'NVMeoFHighHostCPU',
'for': '10m',