Merge pull request #303 from Icinga/terminology

Terminology
This commit is contained in:
Johannes Meyer 2023-06-27 14:13:30 +02:00 committed by GitHub
commit e9f656e436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 5 deletions

View file

@ -3,7 +3,7 @@ name: L10n Update
on:
push:
branches:
- master
- main
jobs:
trigger-update:

View file

@ -3,11 +3,11 @@ name: PHP Tests
on:
push:
branches:
- master
- main
- release/*
pull_request:
branches:
- master
- main
jobs:
lint:

View file

@ -1,7 +1,7 @@
# Icinga Web Graphite Integration
[![PHP Support](https://img.shields.io/badge/php-%3E%3D%207.2-777BB4?logo=PHP)](https://php.net/)
![Build Status](https://github.com/icinga/icingaweb2-module-graphite/workflows/PHP%20Tests/badge.svg?branch=master)
![Build Status](https://github.com/icinga/icingaweb2-module-graphite/workflows/PHP%20Tests/badge.svg?branch=main)
[![Github Tag](https://img.shields.io/github/tag/Icinga/icingaweb2-module-graphite.svg)](https://github.com/Icinga/icingaweb2-module-graphite)
![Icinga Logo](https://icinga.com/wp-content/uploads/2014/06/icinga_logo.png)

View file

@ -184,7 +184,7 @@ pl.value = "alias(color($metric$, '#1a7dd7'), 'Packet loss (%)')"
## Default Template Settings <a id="templates-default-settings"></a>
Next to maintaining templates for specific commands, you can
specify the default template settings in the [default.ini](https://github.com/Icinga/icingaweb2-module-graphite/blob/master/templates/default.ini)
specify the default template settings in the [default.ini](https://github.com/Icinga/icingaweb2-module-graphite/blob/main/templates/default.ini)
configuration file.
The following example adjusts the background and foreground colors

View file

@ -268,3 +268,20 @@ yUnitSystem = "sec"
[mysql-seconds_behind_master.functions]
value = "alias(color($metric$, '#1a7dd7'), 'Seconds behind master')"
[mysql-seconds_behind_source.graph]
check_command = "mysql"
[mysql-seconds_behind_source.metrics_filters]
value = "$service_name_template$.perfdata.seconds_behind_source.value"
[mysql-seconds_behind_source.urlparams]
areaAlpha = "0.5"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "sec"
[mysql-seconds_behind_source.functions]
value = "alias(color($metric$, '#1a7dd7'), 'Seconds behind source')"

View file

@ -280,6 +280,23 @@ yUnitSystem = "sec"
value = "alias(color($metric$, '#1a7dd7'), 'Seconds slave is behind master')"
[mysql_health-replica_lag.graph]
check_command = "mysql_health"
[mysql_health-replica_lag.metrics_filters]
value = "$service_name_template$.perfdata.replica_lag.value"
[mysql_health-replica_lag.urlparams]
areaAlpha = "0.5"
areaMode = "all"
lineWidth = "2"
min = "0"
yUnitSystem = "sec"
[mysql_health-replica_lag.functions]
value = "alias(color($metric$, '#1a7dd7'), 'Seconds replica is behind source')"
[mysql_health-slow_queries.graph]
check_command = "mysql_health"