mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-05-28 04:34:57 -04:00
commit
e9f656e436
6 changed files with 39 additions and 5 deletions
2
.github/workflows/L10n-update.yml
vendored
2
.github/workflows/L10n-update.yml
vendored
|
|
@ -3,7 +3,7 @@ name: L10n Update
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
trigger-update:
|
||||
|
|
|
|||
4
.github/workflows/php.yml
vendored
4
.github/workflows/php.yml
vendored
|
|
@ -3,11 +3,11 @@ name: PHP Tests
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- release/*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Icinga Web Graphite Integration
|
||||
|
||||
[](https://php.net/)
|
||||

|
||||

|
||||
[](https://github.com/Icinga/icingaweb2-module-graphite)
|
||||
|
||||

|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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')"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue