diff --git a/zabbix-templates/apache-zabbix-template.json b/zabbix-templates/apache-zabbix-template.json index a1af36f..6866744 100644 --- a/zabbix-templates/apache-zabbix-template.json +++ b/zabbix-templates/apache-zabbix-template.json @@ -1002,7 +1002,8 @@ "dashboards": [ { "uuid": "a328c9e713424465a8e1adec7322b0dc", - "name": "Apache performance", + "name": "Web Server", + "display_period": "60", "pages": [ { "widgets": [ diff --git a/zabbix-templates/lxd-container-zabbix-template.json b/zabbix-templates/lxd-container-zabbix-template.json index 0929e9c..977569b 100644 --- a/zabbix-templates/lxd-container-zabbix-template.json +++ b/zabbix-templates/lxd-container-zabbix-template.json @@ -48,6 +48,7 @@ "uuid": "98fb6eac561748dcbaf458eb36924c4f", "expression": "avg(/LXD Container/ct.cpu.load[percpu,avg1],5m)>20", "name": "Processor load is too high on {HOST.NAME}", + "status": "DISABLED", "priority": "WARNING" } ] @@ -811,7 +812,8 @@ "dashboards": [ { "uuid": "df90d1983d9f4d4aa9517639657a2337", - "name": "System performance", + "name": "Operating System", + "display_period": "60", "pages": [ { "widgets": [ diff --git a/zabbix-templates/mysql-mariadb-zabbix-template.json b/zabbix-templates/mysql-mariadb-zabbix-template.json index ac5b60b..b954bbf 100644 --- a/zabbix-templates/mysql-mariadb-zabbix-template.json +++ b/zabbix-templates/mysql-mariadb-zabbix-template.json @@ -14,8 +14,8 @@ "templates": [ { "uuid": "f255e3fc32124b55b2a17ef3c961e5f5", - "template": "MySQL - MariaDB", - "name": "MySQL - MariaDB", + "template": "MariaDB", + "name": "MariaDB", "description": "Requirements for template operation:\n1.Install Zabbix agent and MySQL client.\n2.Copy template_db_mysql.conf into folder with Zabbix agent configuration (/etc/zabbix/zabbix_agentd.d/ by default). Don't forget to restart zabbix-agent.\n3.Create MySQL user for monitoring. For example:\nCREATE USER 'zbx_monitor'@'%' IDENTIFIED BY '';\nGRANT REPLICATION CLIENT,PROCESS,SHOW DATABASES,SHOW VIEW ON *.* TO 'zbx_monitor'@'%';\nFor more information read the MySQL documentation https://dev.mysql.com/doc/refman/8.0/en/grant.html , please. \n4.Create .my.cnf in home directory of Zabbix agent for Linux (/var/lib/zabbix by default) or my.cnf in c:\\ for Windows. For example:\n[client]\nuser='zbx_monitor'\npassword=''\n\n\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384189-discussion-thread-for-official-zabbix-template-db-mysql\n\nTemplate tooling version used: 0.42", "groups": [ { @@ -94,7 +94,7 @@ "triggers": [ { "uuid": "e51c9ee3061c4e3889be1666afe6959d", - "expression": "min(/MySQL - MariaDB/mysql.aborted_connects.rate,5m)>{$MYSQL.ABORTED_CONN.MAX.WARN}", + "expression": "min(/MariaDB/mysql.aborted_connects.rate,5m)>{$MYSQL.ABORTED_CONN.MAX.WARN}", "name": "MySQL: Server has aborted connections", "event_name": "MySQL: Server has aborted connections (over {$MYSQL.ABORTED_CONN.MAX.WARN} for 5m)", "priority": "AVERAGE", @@ -102,7 +102,7 @@ "dependencies": [ { "name": "MySQL: Refused connections", - "expression": "last(/MySQL - MariaDB/mysql.connection_errors_max_connections.rate)>0" + "expression": "last(/MariaDB/mysql.connection_errors_max_connections.rate)>0" } ], "tags": [ @@ -183,7 +183,7 @@ "triggers": [ { "uuid": "0e8ea91d72a64507aaadf9ea5efa6412", - "expression": "max(/MySQL - MariaDB/mysql.buffer_pool_utilization,5m)<{$MYSQL.BUFF_UTIL.MIN.WARN}", + "expression": "max(/MariaDB/mysql.buffer_pool_utilization,5m)<{$MYSQL.BUFF_UTIL.MIN.WARN}", "name": "MySQL: Buffer pool utilization is too low", "event_name": "MySQL: Buffer pool utilization is too low (less than {$MYSQL.BUFF_UTIL.MIN.WARN}% for 5m)", "priority": "WARNING", @@ -531,7 +531,7 @@ "triggers": [ { "uuid": "2ff2d0f399df4cb08b7196d3a4690567", - "expression": "last(/MySQL - MariaDB/mysql.connection_errors_max_connections.rate)>0", + "expression": "last(/MariaDB/mysql.connection_errors_max_connections.rate)>0", "name": "MySQL: Refused connections", "event_name": "MySQL: Refused connections (max_connections limit reached)", "priority": "AVERAGE", @@ -683,7 +683,7 @@ "triggers": [ { "uuid": "1b8761292e89476e91834f8e567a1dbe", - "expression": "min(/MySQL - MariaDB/mysql.created_tmp_disk_tables.rate,5m)>{$MYSQL.CREATED_TMP_DISK_TABLES.MAX.WARN}", + "expression": "min(/MariaDB/mysql.created_tmp_disk_tables.rate,5m)>{$MYSQL.CREATED_TMP_DISK_TABLES.MAX.WARN}", "name": "MySQL: Number of on-disk temporary tables created per second is high", "event_name": "MySQL: Number of on-disk temporary tables created per second is high (over {$MYSQL.CREATED_TMP_DISK_TABLES.MAX.WARN} for 5m)", "priority": "WARNING", @@ -732,7 +732,7 @@ "triggers": [ { "uuid": "9845d8dc676f4702ae34b626f39d21ac", - "expression": "min(/MySQL - MariaDB/mysql.created_tmp_files.rate,5m)>{$MYSQL.CREATED_TMP_FILES.MAX.WARN}", + "expression": "min(/MariaDB/mysql.created_tmp_files.rate,5m)>{$MYSQL.CREATED_TMP_FILES.MAX.WARN}", "name": "MySQL: Number of temporary files created per second is high", "event_name": "MySQL: Number of temporary files created per second is high (over {$MYSQL.CREATED_TMP_FILES.MAX.WARN} for 5m)", "priority": "WARNING", @@ -785,7 +785,7 @@ "triggers": [ { "uuid": "c647a51864e04bc69a1f610b1dec56fe", - "expression": "min(/MySQL - MariaDB/mysql.created_tmp_tables.rate,5m)>{$MYSQL.CREATED_TMP_TABLES.MAX.WARN}", + "expression": "min(/MariaDB/mysql.created_tmp_tables.rate,5m)>{$MYSQL.CREATED_TMP_TABLES.MAX.WARN}", "name": "MySQL: Number of internal temporary tables created per second is high", "event_name": "MySQL: Number of internal temporary tables created per second is high (over {$MYSQL.CREATED_TMP_TABLES.MAX.WARN} for 5m)", "priority": "WARNING", @@ -1393,7 +1393,7 @@ "triggers": [ { "uuid": "e78f07e3e507461f8fe33a31b1bc4eb9", - "expression": "last(/MySQL - MariaDB/mysql.ping[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"])=0", + "expression": "last(/MariaDB/mysql.ping[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"])=0", "name": "MySQL: Service is down", "priority": "HIGH", "tags": [ @@ -1506,7 +1506,7 @@ "triggers": [ { "uuid": "113509b7a7b54a108c1c63346a52bbf2", - "expression": "min(/MySQL - MariaDB/mysql.slow_queries.rate,5m)>{$MYSQL.SLOW_QUERIES.MAX.WARN}", + "expression": "min(/MariaDB/mysql.slow_queries.rate,5m)>{$MYSQL.SLOW_QUERIES.MAX.WARN}", "name": "MySQL: Server has slow queries", "event_name": "MySQL: Server has slow queries (over {$MYSQL.SLOW_QUERIES.MAX.WARN} for 5m)", "priority": "WARNING", @@ -1660,7 +1660,7 @@ "triggers": [ { "uuid": "d3c80c770355464fb5a6be0357d0edca", - "expression": "nodata(/MySQL - MariaDB/mysql.uptime,30m)=1", + "expression": "nodata(/MariaDB/mysql.uptime,30m)=1", "name": "MySQL: Failed to fetch info data", "event_name": "MySQL: Failed to fetch info data (or no data for 30m)", "priority": "INFO", @@ -1668,7 +1668,7 @@ "dependencies": [ { "name": "MySQL: Service is down", - "expression": "last(/MySQL - MariaDB/mysql.ping[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"])=0" + "expression": "last(/MariaDB/mysql.ping[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"])=0" } ], "tags": [ @@ -1680,7 +1680,7 @@ }, { "uuid": "f02f51c764934cf394c5ad3f9c4e70d2", - "expression": "last(/MySQL - MariaDB/mysql.uptime)<10m", + "expression": "last(/MariaDB/mysql.uptime)<10m", "name": "MySQL: Service has been restarted", "event_name": "MySQL: Service has been restarted (uptime < 10m)", "priority": "INFO", @@ -1727,7 +1727,7 @@ "triggers": [ { "uuid": "7eab3a7337904ad1b2061d209371543b", - "expression": "last(/MySQL - MariaDB/mysql.version[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"],#1)<>last(/MySQL - MariaDB/mysql.version[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"],#2) and length(last(/MySQL - MariaDB/mysql.version[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"]))>0", + "expression": "last(/MariaDB/mysql.version[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"],#1)<>last(/MariaDB/mysql.version[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"],#2) and length(last(/MariaDB/mysql.version[\"{$MYSQL.HOST}\",\"{$MYSQL.PORT}\"]))>0", "name": "MySQL: Version has changed", "event_name": "MySQL: Version has changed (new version value received: {ITEM.VALUE})", "priority": "INFO", @@ -2027,7 +2027,7 @@ "trigger_prototypes": [ { "uuid": "a5c91da088414d279f5ea3cd59093ce9", - "expression": "min(/MySQL - MariaDB/mysql.seconds_behind_master[\"{#MASTERHOST}\"],5m)>{$MYSQL.REPL_LAG.MAX.WARN}", + "expression": "min(/MariaDB/mysql.seconds_behind_master[\"{#MASTERHOST}\"],5m)>{$MYSQL.REPL_LAG.MAX.WARN}", "name": "MySQL: Replication lag is too high", "event_name": "MySQL: Replication lag is too high (over {$MYSQL.REPL_LAG.MAX.WARN} for 5m)", "priority": "WARNING", @@ -2076,13 +2076,13 @@ "trigger_prototypes": [ { "uuid": "8ee45932311443cb906306b1d2c99b19", - "expression": "count(/MySQL - MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"ne\",\"Yes\")=1", + "expression": "count(/MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"ne\",\"Yes\")=1", "name": "MySQL: The slave I/O thread is not connected to a replication master", "priority": "WARNING", "dependencies": [ { "name": "MySQL: The slave I/O thread is not running", - "expression": "count(/MySQL - MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1" + "expression": "count(/MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1" } ], "tags": [ @@ -2094,7 +2094,7 @@ }, { "uuid": "4c8ca45f26254d9a9a1c9248f1fa1537", - "expression": "count(/MySQL - MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1", + "expression": "count(/MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1", "name": "MySQL: The slave I/O thread is not running", "priority": "AVERAGE", "description": "Whether the I/O thread for reading the master's binary log is running.", @@ -2143,14 +2143,14 @@ "trigger_prototypes": [ { "uuid": "bd0d20c05e3b46b6a7c341e5d122208b", - "expression": "count(/MySQL - MariaDB/mysql.slave_sql_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1", + "expression": "count(/MariaDB/mysql.slave_sql_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1", "name": "MySQL: The SQL thread is not running", "priority": "WARNING", "description": "Whether the SQL thread for executing events in the relay log is running.", "dependencies": [ { "name": "MySQL: The slave I/O thread is not running", - "expression": "count(/MySQL - MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1" + "expression": "count(/MariaDB/mysql.slave_io_running[\"{#MASTERHOST}\"],#1,\"eq\",\"No\")=1" } ], "tags": [ @@ -2293,7 +2293,8 @@ "dashboards": [ { "uuid": "ce2f9d7bb18e469f97e692baee02841d", - "name": "MySQL performance", + "name": "Database", + "display_period": "60", "pages": [ { "widgets": [ @@ -2306,14 +2307,9 @@ "type": "GRAPH", "name": "graphid", "value": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "name": "MySQL: Operations" } - }, - { - "type": "INTEGER", - "name": "source_type", - "value": "0" } ] }, @@ -2327,14 +2323,9 @@ "type": "GRAPH", "name": "graphid", "value": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "name": "MySQL: Connections" } - }, - { - "type": "INTEGER", - "name": "source_type", - "value": "0" } ] }, @@ -2348,14 +2339,9 @@ "type": "GRAPH", "name": "graphid", "value": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "name": "MySQL: InnoDB buffer pool" } - }, - { - "type": "INTEGER", - "name": "source_type", - "value": "0" } ] }, @@ -2369,14 +2355,9 @@ "type": "GRAPH", "name": "graphid", "value": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "name": "MySQL: Queries" } - }, - { - "type": "INTEGER", - "name": "source_type", - "value": "0" } ] }, @@ -2391,14 +2372,9 @@ "type": "GRAPH", "name": "graphid", "value": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "name": "MySQL: Bandwidth" } - }, - { - "type": "INTEGER", - "name": "source_type", - "value": "0" } ] }, @@ -2413,14 +2389,9 @@ "type": "GRAPH", "name": "graphid", "value": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "name": "MySQL: Threads" } - }, - { - "type": "INTEGER", - "name": "source_type", - "value": "0" } ] } @@ -2456,7 +2427,7 @@ "drawtype": "GRADIENT_LINE", "color": "1A7C11", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.bytes_received.rate" } }, @@ -2465,7 +2436,7 @@ "drawtype": "GRADIENT_LINE", "color": "2774A4", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.bytes_sent.rate" } } @@ -2478,7 +2449,7 @@ { "color": "1A7C11", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.aborted_clients.rate" } }, @@ -2486,7 +2457,7 @@ "sortorder": "1", "color": "2774A4", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.aborted_connects.rate" } }, @@ -2494,7 +2465,7 @@ "sortorder": "2", "color": "F63100", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.connections.rate" } }, @@ -2502,7 +2473,7 @@ "sortorder": "3", "color": "A54F10", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.max_used_connections" } } @@ -2515,7 +2486,7 @@ { "color": "1A7C11", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.innodb_buffer_pool_pages_free" } }, @@ -2523,7 +2494,7 @@ "sortorder": "1", "color": "2774A4", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.innodb_buffer_pool_pages_total" } }, @@ -2531,7 +2502,7 @@ "sortorder": "2", "color": "F63100", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.innodb_buffer_pool_read_requests.rate" } }, @@ -2539,7 +2510,7 @@ "sortorder": "3", "color": "A54F10", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.innodb_buffer_pool_reads.rate" } } @@ -2552,7 +2523,7 @@ { "color": "1A7C11", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.com_delete.rate" } }, @@ -2560,7 +2531,7 @@ "sortorder": "1", "color": "2774A4", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.com_insert.rate" } }, @@ -2568,7 +2539,7 @@ "sortorder": "2", "color": "F63100", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.com_select.rate" } }, @@ -2576,7 +2547,7 @@ "sortorder": "3", "color": "A54F10", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.com_update.rate" } } @@ -2589,7 +2560,7 @@ { "color": "1A7C11", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.queries.rate" } }, @@ -2597,7 +2568,7 @@ "sortorder": "1", "color": "2774A4", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.questions.rate" } }, @@ -2605,7 +2576,7 @@ "sortorder": "2", "color": "F63100", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.slow_queries.rate" } } @@ -2618,7 +2589,7 @@ { "color": "1A7C11", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.threads_cached" } }, @@ -2626,7 +2597,7 @@ "sortorder": "1", "color": "2774A4", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.threads_connected" } }, @@ -2634,7 +2605,7 @@ "sortorder": "2", "color": "F63100", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.threads_created.rate" } }, @@ -2642,7 +2613,7 @@ "sortorder": "3", "color": "A54F10", "item": { - "host": "MySQL - MariaDB", + "host": "MariaDB", "key": "mysql.threads_running" } } diff --git a/zabbix-templates/nextcloud-zabbix-template.json b/zabbix-templates/nextcloud-zabbix-template.json index cb0b8d8..e87270e 100644 --- a/zabbix-templates/nextcloud-zabbix-template.json +++ b/zabbix-templates/nextcloud-zabbix-template.json @@ -17,6 +17,10 @@ "template": "Nextcloud", "name": "Nextcloud", "description": "Nextcloud by RCA Systems", + "vendor": { + "name": "RCA Systems", + "version": "6.4-0.1" + }, "groups": [ { "name": "Nextcloud Installation" @@ -155,6 +159,16 @@ "description": "Number of installed applications" }, { + "uuid": "eaa4b90fbac849108b95cd553798900c", + "name": "Nextcloud Server Version", + "type": "ZABBIX_ACTIVE", + "key": "nc_metric[ocs.data.nextcloud.system.version]", + "delay": "24h", + "trends": "0", + "value_type": "TEXT", + "description": "Nextcloud Server Version" + }, + { "uuid": "30b554fb5c2845439e3486b6a0927c1a", "name": "Database Size (reported by Nextcloud)", "type": "ZABBIX_ACTIVE", @@ -192,6 +206,24 @@ "description": "Database Version" }, { + "uuid": "89a9b0105a594908abe43d106e1ddf6b", + "name": "PHP Version", + "key": "nc_metric[ocs.data.server.php.version]", + "delay": "24h", + "trends": "0", + "value_type": "TEXT", + "description": "PHP Version" + }, + { + "uuid": "3aff68035b0b4283b990a34b662222cd", + "name": "Web Server (reported by Nextcloud)", + "key": "nc_metric[ocs.data.server.webserver]", + "delay": "24h", + "trends": "0", + "value_type": "TEXT", + "description": "Web Server (reported by Nextcloud)" + }, + { "uuid": "469923464ff240988bccddba5671b9d5", "name": "Storage Quota (GB) - Assigned Total", "type": "ZABBIX_ACTIVE", @@ -242,10 +274,37 @@ "uuid": "2cc43d1dbefd4a109ec8406e2899654b", "name": "Data Directory Size (GB)", "type": "ZABBIX_ACTIVE", - "key": "storage_metric[total_size_gb]", + "key": "storage_metric[datadirectory_total_size_gb]", "delay": "10m", "value_type": "FLOAT", "description": "Nextcloud data directory storage size (in Gigabytes)" + }, + { + "uuid": "31d1b9ba4d1c498a8bd5f8ea534c661e", + "name": "Data Directory Partition - Available Capacity (GB)", + "type": "ZABBIX_ACTIVE", + "key": "storage_metric[partition_available_capacity_gb]", + "delay": "10m", + "value_type": "FLOAT", + "description": "Available capacity of the partition hosting the Nextcloud data directory (in Gigabytes)" + }, + { + "uuid": "a0d9063f0bef46f7935d8cdc36284386", + "name": "Data Directory Partition - Total Capacity (GB)", + "type": "ZABBIX_ACTIVE", + "key": "storage_metric[partition_total_capacity_gb]", + "delay": "10m", + "value_type": "FLOAT", + "description": "Total capacity of the partition hosting the Nextcloud data directory (in Gigabytes)" + }, + { + "uuid": "a47c3d652e034eea840663b5ee0d533e", + "name": "Data Directory Partition - Used Capacity (%)", + "type": "ZABBIX_ACTIVE", + "key": "storage_metric[partition_used_capacity_percent]", + "delay": "10m", + "value_type": "FLOAT", + "description": "Used capacity of the partition hosting the Nextcloud data directory (in percentage)" } ], "discovery_rules": [ @@ -341,14 +400,82 @@ "dashboards": [ { "uuid": "e7808bdb7dc64e23a3d5e8edd8ac4e59", - "name": "Nextcloud Dashboard", + "name": "Application", + "display_period": "60", "pages": [ { "name": "Application", "widgets": [ { "type": "item", + "name": "Nextcloud Server Version", + "width": "4", + "hide_header": "YES", + "fields": [ + { + "type": "INTEGER", + "name": "adv_conf", + "value": "1" + }, + { + "type": "INTEGER", + "name": "decimal_places", + "value": "0" + }, + { + "type": "STRING", + "name": "description", + "value": "Nextcloud Server Version" + }, + { + "type": "INTEGER", + "name": "desc_v_pos", + "value": "0" + }, + { + "type": "ITEM", + "name": "itemid", + "value": { + "host": "Nextcloud", + "key": "nc_metric[ocs.data.nextcloud.system.version]" + } + }, + { + "type": "INTEGER", + "name": "show", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "2" + }, + { + "type": "INTEGER", + "name": "show", + "value": "4" + }, + { + "type": "INTEGER", + "name": "units_bold", + "value": "0" + }, + { + "type": "INTEGER", + "name": "units_show", + "value": "0" + }, + { + "type": "INTEGER", + "name": "value_size", + "value": "25" + } + ] + }, + { + "type": "item", "name": "Total Number of Shares", + "y": "2", "width": "3", "height": "3", "hide_header": "YES", @@ -375,8 +502,8 @@ }, { "type": "INTEGER", - "name": "desc_h_pos", - "value": "0" + "name": "desc_size", + "value": "10" }, { "type": "INTEGER", @@ -426,7 +553,7 @@ { "type": "graph", "name": "Users", - "y": "3", + "y": "5", "width": "12", "height": "5", "fields": [ @@ -442,7 +569,7 @@ }, { "type": "graph", - "y": "8", + "y": "10", "width": "12", "height": "5", "fields": [ @@ -459,7 +586,7 @@ { "type": "graphprototype", "name": "HTTP Agents - Number of requests in previous day", - "y": "13", + "y": "15", "width": "12", "height": "5", "fields": [ @@ -492,6 +619,7 @@ "type": "item", "name": "Total Number of Files", "x": "3", + "y": "2", "width": "3", "height": "3", "hide_header": "YES", @@ -518,8 +646,8 @@ }, { "type": "INTEGER", - "name": "desc_h_pos", - "value": "0" + "name": "desc_size", + "value": "10" }, { "type": "INTEGER", @@ -568,8 +696,76 @@ }, { "type": "item", + "name": "PHP Version", + "x": "4", + "width": "4", + "hide_header": "YES", + "fields": [ + { + "type": "INTEGER", + "name": "adv_conf", + "value": "1" + }, + { + "type": "INTEGER", + "name": "decimal_places", + "value": "0" + }, + { + "type": "STRING", + "name": "description", + "value": "PHP Version" + }, + { + "type": "INTEGER", + "name": "desc_v_pos", + "value": "0" + }, + { + "type": "ITEM", + "name": "itemid", + "value": { + "host": "Nextcloud", + "key": "nc_metric[ocs.data.server.php.version]" + } + }, + { + "type": "INTEGER", + "name": "show", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "2" + }, + { + "type": "INTEGER", + "name": "show", + "value": "4" + }, + { + "type": "INTEGER", + "name": "units_bold", + "value": "0" + }, + { + "type": "INTEGER", + "name": "units_show", + "value": "0" + }, + { + "type": "INTEGER", + "name": "value_size", + "value": "25" + } + ] + }, + { + "type": "item", "name": "Total Storage in Data Directory", "x": "6", + "y": "2", "width": "3", "height": "3", "hide_header": "YES", @@ -596,8 +792,8 @@ }, { "type": "INTEGER", - "name": "desc_h_pos", - "value": "0" + "name": "desc_size", + "value": "10" }, { "type": "INTEGER", @@ -609,7 +805,7 @@ "name": "itemid", "value": { "host": "Nextcloud", - "key": "storage_metric[total_size_gb]" + "key": "storage_metric[datadirectory_total_size_gb]" } }, { @@ -651,8 +847,76 @@ }, { "type": "item", + "name": "Web Server", + "x": "8", + "width": "4", + "hide_header": "YES", + "fields": [ + { + "type": "INTEGER", + "name": "adv_conf", + "value": "1" + }, + { + "type": "INTEGER", + "name": "decimal_places", + "value": "0" + }, + { + "type": "STRING", + "name": "description", + "value": "Web Server" + }, + { + "type": "INTEGER", + "name": "desc_v_pos", + "value": "0" + }, + { + "type": "ITEM", + "name": "itemid", + "value": { + "host": "Nextcloud", + "key": "nc_metric[ocs.data.server.webserver]" + } + }, + { + "type": "INTEGER", + "name": "show", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "2" + }, + { + "type": "INTEGER", + "name": "show", + "value": "4" + }, + { + "type": "INTEGER", + "name": "units_bold", + "value": "0" + }, + { + "type": "INTEGER", + "name": "units_show", + "value": "0" + }, + { + "type": "INTEGER", + "name": "value_size", + "value": "25" + } + ] + }, + { + "type": "item", "name": "Total Assigned Storage Quota", "x": "9", + "y": "2", "width": "3", "height": "3", "hide_header": "YES", @@ -679,8 +943,8 @@ }, { "type": "INTEGER", - "name": "desc_h_pos", - "value": "0" + "name": "desc_size", + "value": "10" }, { "type": "INTEGER", @@ -736,6 +1000,7 @@ "type": "item", "name": "Total Used Storage Quota", "x": "12", + "y": "2", "width": "3", "height": "3", "hide_header": "YES", @@ -758,12 +1023,12 @@ { "type": "STRING", "name": "description", - "value": "Total Used Storage Quota" + "value": "Total Used \nStorage Quota" }, { "type": "INTEGER", - "name": "desc_h_pos", - "value": "0" + "name": "desc_size", + "value": "10" }, { "type": "INTEGER", @@ -819,7 +1084,7 @@ "type": "graph", "name": "Number of Files", "x": "12", - "y": "3", + "y": "5", "width": "12", "height": "5", "fields": [ @@ -837,7 +1102,7 @@ "type": "graph", "name": "Number of Shares (by type)", "x": "12", - "y": "8", + "y": "10", "width": "4", "height": "5", "fields": [ @@ -853,8 +1118,251 @@ }, { "type": "item", - "name": "Total Number of Users", + "name": "Total Capacity of Data Directory Partition", "x": "15", + "y": "2", + "width": "3", + "height": "3", + "hide_header": "YES", + "fields": [ + { + "type": "INTEGER", + "name": "adv_conf", + "value": "1" + }, + { + "type": "INTEGER", + "name": "decimal_places", + "value": "0" + }, + { + "type": "INTEGER", + "name": "decimal_size", + "value": "25" + }, + { + "type": "STRING", + "name": "description", + "value": "Total Capacity of \nData Directory Partition" + }, + { + "type": "INTEGER", + "name": "desc_size", + "value": "10" + }, + { + "type": "INTEGER", + "name": "desc_v_pos", + "value": "0" + }, + { + "type": "ITEM", + "name": "itemid", + "value": { + "host": "Nextcloud", + "key": "storage_metric[partition_total_capacity_gb]" + } + }, + { + "type": "INTEGER", + "name": "show", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "2" + }, + { + "type": "INTEGER", + "name": "show", + "value": "4" + }, + { + "type": "STRING", + "name": "units", + "value": "GB" + }, + { + "type": "INTEGER", + "name": "units_bold", + "value": "0" + }, + { + "type": "INTEGER", + "name": "units_size", + "value": "25" + }, + { + "type": "INTEGER", + "name": "value_size", + "value": "25" + } + ] + }, + { + "type": "graph", + "x": "16", + "y": "10", + "width": "4", + "height": "5", + "fields": [ + { + "type": "GRAPH", + "name": "graphid", + "value": { + "host": "Nextcloud", + "name": "Number of Shares (by Type) - Last Value - Pie Chart" + } + } + ] + }, + { + "type": "item", + "name": "Used Capacity of Data Directory Partition", + "x": "18", + "y": "2", + "width": "3", + "height": "3", + "hide_header": "YES", + "fields": [ + { + "type": "INTEGER", + "name": "adv_conf", + "value": "1" + }, + { + "type": "INTEGER", + "name": "decimal_places", + "value": "0" + }, + { + "type": "INTEGER", + "name": "decimal_size", + "value": "25" + }, + { + "type": "STRING", + "name": "description", + "value": "Used Capacity of \nData Directory Partition" + }, + { + "type": "INTEGER", + "name": "desc_size", + "value": "10" + }, + { + "type": "INTEGER", + "name": "desc_v_pos", + "value": "0" + }, + { + "type": "ITEM", + "name": "itemid", + "value": { + "host": "Nextcloud", + "key": "storage_metric[partition_used_capacity_percent]" + } + }, + { + "type": "INTEGER", + "name": "show", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "2" + }, + { + "type": "INTEGER", + "name": "show", + "value": "4" + }, + { + "type": "STRING", + "name": "units", + "value": "%" + }, + { + "type": "INTEGER", + "name": "units_bold", + "value": "0" + }, + { + "type": "INTEGER", + "name": "units_size", + "value": "25" + }, + { + "type": "INTEGER", + "name": "value_size", + "value": "25" + } + ] + }, + { + "type": "graph", + "name": "Number of Shares (by Type) - Average Value - Pie Chart", + "x": "20", + "y": "10", + "width": "4", + "height": "5", + "fields": [ + { + "type": "GRAPH", + "name": "graphid", + "value": { + "host": "Nextcloud", + "name": "Number of Shares (by Type) - Average Value - Pie Chart" + } + } + ] + }, + { + "type": "clock", + "name": "clock", + "x": "21", + "width": "3", + "hide_header": "YES", + "fields": [ + { + "type": "INTEGER", + "name": "adv_conf", + "value": "1" + }, + { + "type": "INTEGER", + "name": "clock_type", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "1" + }, + { + "type": "INTEGER", + "name": "show", + "value": "2" + }, + { + "type": "INTEGER", + "name": "show", + "value": "3" + }, + { + "type": "INTEGER", + "name": "time_size", + "value": "20" + } + ] + }, + { + "type": "item", + "name": "Total Number of Users", + "x": "21", + "y": "2", "width": "3", "height": "3", "hide_header": "YES", @@ -881,8 +1389,8 @@ }, { "type": "INTEGER", - "name": "desc_h_pos", - "value": "0" + "name": "desc_size", + "value": "10" }, { "type": "INTEGER", @@ -928,81 +1436,6 @@ "value": "25" } ] - }, - { - "type": "graph", - "x": "16", - "y": "8", - "width": "4", - "height": "5", - "fields": [ - { - "type": "GRAPH", - "name": "graphid", - "value": { - "host": "Nextcloud", - "name": "Number of Shares (by Type) - Last Value - Pie Chart" - } - } - ] - }, - { - "type": "graph", - "name": "Number of Shares (by Type) - Average Value - Pie Chart", - "x": "20", - "y": "8", - "width": "4", - "height": "5", - "fields": [ - { - "type": "GRAPH", - "name": "graphid", - "value": { - "host": "Nextcloud", - "name": "Number of Shares (by Type) - Average Value - Pie Chart" - } - } - ] - }, - { - "type": "clock", - "name": "clock", - "x": "22", - "width": "2", - "height": "3", - "hide_header": "YES", - "fields": [ - { - "type": "INTEGER", - "name": "adv_conf", - "value": "1" - }, - { - "type": "INTEGER", - "name": "clock_type", - "value": "1" - }, - { - "type": "INTEGER", - "name": "show", - "value": "1" - }, - { - "type": "INTEGER", - "name": "show", - "value": "2" - }, - { - "type": "INTEGER", - "name": "show", - "value": "3" - }, - { - "type": "INTEGER", - "name": "time_size", - "value": "20" - } - ] } ] }, @@ -1011,8 +1444,8 @@ "widgets": [ { "type": "item", - "name": "Database", - "width": "9", + "name": "Database Version", + "width": "12", "height": "3", "fields": [ { @@ -1112,7 +1545,7 @@ { "type": "item", "name": "Database Size", - "x": "9", + "x": "12", "width": "4", "height": "3", "fields": [ @@ -1127,6 +1560,11 @@ "value": "0" }, { + "type": "INTEGER", + "name": "decimal_size", + "value": "25" + }, + { "type": "ITEM", "name": "itemid", "value": { @@ -1148,6 +1586,16 @@ "type": "STRING", "name": "units", "value": "MB" + }, + { + "type": "INTEGER", + "name": "units_size", + "value": "25" + }, + { + "type": "INTEGER", + "name": "value_size", + "value": "25" } ] } @@ -1482,4 +1930,4 @@ } ] } -} \ No newline at end of file +}