diff --git a/iml_onehost.ini b/iml_onehost.ini index a2e36e7242fc2e1f1718876ff96d3308a128f483..05f68abffb4ae6a4de5ae48335e377bbd86da28f 100644 --- a/iml_onehost.ini +++ b/iml_onehost.ini @@ -5,7 +5,7 @@ ; Opennebula hosts ; ; ---------------------------------------------------------------------- -; 2023-06-i12 <axel.hahn@unibe.ch> initial version +; 2023-06-12 <axel.hahn@unibe.ch> initial version ; ====================================================================== diff --git a/iml_onevm.ini b/iml_onevm.ini index 90121c0ac293acdd6aee1c77a5b3c6c1a197878d..2a4809c6565b31be8bdcb01336c6a45945dbf907 100644 --- a/iml_onevm.ini +++ b/iml_onevm.ini @@ -5,7 +5,7 @@ ; Opennebula virtual machines ; ; ---------------------------------------------------------------------- -; 2023-06-i12 <axel.hahn@unibe.ch> initial version +; 2023-06-12 <axel.hahn@unibe.ch> initial version ; ====================================================================== diff --git a/iml_psql-replication.ini b/iml_psql-replication.ini new file mode 100644 index 0000000000000000000000000000000000000000..21e776fcc9c37c4bedb7cf7a1c98265a96803b22 --- /dev/null +++ b/iml_psql-replication.ini @@ -0,0 +1,39 @@ +; ====================================================================== +; +; POSTGRES replication +; +; ---------------------------------------------------------------------- +; 2023-06-13 <axel.hahn@unibe.ch> initial version +; ====================================================================== + + +; ---------------------------------------------------------------------- +; graph +; ---------------------------------------------------------------------- + +[onehost.graph] +check_command = "Postgres-replication" + +[onehost.urlparams] +areaAlpha = "0.2" +; areaMode = "first" +areaMode = "stacked" +colorList = "66cc88,888888,ddddee" +; ^ ^ ^ +; stream other total + +lineWidth = "2" +min = "0" +;max = "100" +yUnitSystem = "binary" + +[onehost.metrics_filters] +valstreaming = "$service_name_template$.perfdata.state-streaming.value" +valother = "$service_name_template$.perfdata.state-other.value" +valtotal = "$service_name_template$.perfdata.total.value" + +[onehost.functions] +valstreaming = "alias($metric$, 'Streaming')" +valother = "alias($metric$, 'other replication state')" +valtotal = "alias($metric$, ':hidden:')" +