diff --git a/zabbix-templates/mysql-mariadb-zabbix-template.json b/zabbix-templates/mysql-mariadb-zabbix-template.json index b954bbf..e380e5e 100644 --- a/zabbix-templates/mysql-mariadb-zabbix-template.json +++ b/zabbix-templates/mysql-mariadb-zabbix-template.json @@ -1747,6 +1747,7 @@ { "uuid": "8ceb226f000d48f099ee6e128ad551b5", "name": "Database discovery", + "type": "ZABBIX_ACTIVE", "key": "mysql.db.discovery[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"]", "delay": "1h", "filter": { @@ -1767,13 +1768,20 @@ "key": "mysql.dbsize[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\",\"{#DBNAME}\"]", "delay": "5m", "history": "7d", - "units": "B", + "value_type": "FLOAT", + "units": "MB", "preprocessing": [ { "type": "DISCARD_UNCHANGED_HEARTBEAT", "parameters": [ "1h" ] + }, + { + "type": "MULTIPLIER", + "parameters": [ + "9.5367431640625E-7" + ] } ], "tags": [ @@ -1980,6 +1988,7 @@ { "uuid": "aed60b7ae3794d0ba25ad82da12b8966", "name": "Replication discovery", + "type": "ZABBIX_ACTIVE", "key": "mysql.replication.discovery[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"]", "delay": "1h", "description": "If \"show slave status\" returns Master_Host, \"Replication: *\" items are created.",