description: 'You may create many gateways in a gateway group, but %(NVMeoFMaxGatewaysPerGroup)d is the tested limit' % $._config,
},
},
+ {
+ alert: 'NVMeoFMaxGatewayGroups',
+ 'for': '1m',
+ expr: 'count(count by (group, cluster) (ceph_nvmeof_gateway_info)) by (cluster) > %.2f' % [$._config.NVMeoFMaxGatewayGroups],
+ labels: { severity: 'warning', type: 'ceph_default' },
+ annotations: {
+ summary: 'Max gateway groups exceeded%(cluster)s' % $.MultiClusterSummary(),
+ description: 'You may create many gateway groups, but %(NVMeoFMaxGatewayGroups)d is the tested limit' % $._config,
+ },
+ },
{
alert: 'NVMeoFSingleGatewayGroup',
'for': '5m',
labels:
severity: "warning"
type: "ceph_default"
+ - alert: "NVMeoFMaxGatewayGroups"
+ annotations:
+ description: "You may create many gateway groups, but 4 is the tested limit"
+ summary: "Max gateway groups exceeded on cluster {{ $labels.cluster }}"
+ expr: "count(count by (group, cluster) (ceph_nvmeof_gateway_info)) by (cluster) > 4.00"
+ for: "1m"
+ labels:
+ severity: "warning"
+ type: "ceph_default"
- alert: "NVMeoFSingleGatewayGroup"
annotations:
description: "Although a single member gateway group is valid, it should only be used for test purposes"