Skip to content

Commit

Permalink
update alerts for openstack mixin (grafana#1283)
Browse files Browse the repository at this point in the history
* update alerts for openstack mixin

* Update openstack-mixin/config.libsonnet

Co-authored-by: v-zhuravlev <[email protected]>

* Update openstack-mixin/config.libsonnet

Co-authored-by: v-zhuravlev <[email protected]>

---------

Co-authored-by: v-zhuravlev <[email protected]>
  • Loading branch information
lomobot and v-zhuravlev authored Jul 16, 2024
1 parent 0ed0fe4 commit 2a87a25
Show file tree
Hide file tree
Showing 3 changed files with 377 additions and 59 deletions.
40 changes: 33 additions & 7 deletions openstack-mixin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,47 @@ level = WARNING
- OpenStackCinderHighBackupMemoryUsage: Cinder backups are using a large amount of their maximum memory.
- OpenStackCinderHighVolumeMemoryUsage: Cinder volumes are using a large amount of their maximum memory.
- OpenStackCinderHighPoolCapacityUsage: Cinder pools are using a large amount of their maximum capacity.
- OpenStackNeutronHighIPsUsageWarning: Free IP addresses are running out.
- OpenStackNeutronHighIPsUsageCritical: There are practically no free IP addresses left.
- OpenStackGlanceIsDown: OpenStack Glance service is down.
- OpenStackHeatIsDown: OpenStack Heat service is down.
- OpenStackIdentityIsDown: OpenStack Identity service is down.
- OpenStackPlacementIsDown: OpenStack Placement service is down.
- OpenStackPlacementHighVCPUUsageWarning: OpenStack is using a significant percentage of its allocated vCPU.
- OpenStackPlacementHighVCPUUsageCritical: OpenStack is using a large percentage of its allocated vCPU, consider allocating more resources.
- OpenStackNovaIsDown: OpenStack Nova service is down.
- OpenStackNovaAgentIsDown: OpenStack Nova agent is down on the specific node.
- OpenStackNovaHighVMMemoryUsage: VMs are using a high percentage of their allocated memory.
- OpenStackNeutronIsDown: OpenStack Neutron is down.
- OpenStackNeutronAgentIsDown: OpenStack Neutron agent is down on the specific node.
- OpenStackNeutronL3AgentIsDown: OpenStack Neutron L3 agent is down on the specific node.
- OpenStackCinderIsDown: OpenStack Cinder service is down.
- OpenStackCinderAgentIsDown: OpenStack Cinder agent is down on the specific node.

Default thresholds can be configured in `config.libsonnet`.

```js
{
_configs+:: {
alertsWarningPlacementHighMemoryUsage: 80, // %
alertsWarningPlacementHighMemoryUsage: 80, // %
alertsWarningPlacementHighMemoryUsage: 80, // %
alertsCriticalPlacementHighMemoryUsage: 90, // %
alertsWarningPlacementHighVcpuUsage: 80, // %
alertsCriticalPlacementHighVcpuUsage: 90, // %
alertsWarningNeutronHighIPsUsage: 80, // %
alertsCriticalNeutronHighIPsUsage: 90, // %
alertsWarningNovaHighVMMemoryUsage: 80, // %
alertsWarningNovaHighVMVCPUUsage: 80, // %
alertsCriticalNeutronHighDisconnectedPortRate: 25, // %
alertsCriticalNeutronHighInactiveRouterRate: 15, // %
alertsWarningCinderHighBackupMemoryUsage: 80, // %
alertsWarningCinderHighVolumeMemoryUsage: 80, // %
alertsWarningCinderHighPoolCapacityUsage: 80, // %
alertsCriticalNeutronHighDisconnectedPortRate: 25, // %
alertsCriticalNeutronHighInactiveRouterRate: 15, // %
alertsWarningCinderHighBackupMemoryUsage: 80, // %
alertsWarningCinderHighVolumeMemoryUsage: 80, // %
alertsWarningCinderHighPoolCapacityUsage: 80, // %
alertsCriticalNeutronHighDisconnectedPortRate: 25, // %
alertsCriticalNeutronHighInactiveRouterRate: 15, // %
alertsWarningCinderHighBackupMemoryUsage: 80, // %
alertsWarningCinderHighVolumeMemoryUsage: 80, // %
alertsWarningCinderHighPoolCapacityUsage: 80, // %
}
}
```
Expand Down Expand Up @@ -155,4 +181,4 @@ make
```

For more advanced uses of mixins, see
https://github.com/monitoring-mixins/docs.
https://github.com/monitoring-mixins/docs.
Loading

0 comments on commit 2a87a25

Please sign in to comment.