mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Introduce more sensors to Nextcloud (#99155)
This commit is contained in:
parent
0ce9d21bea
commit
1bd37612af
@ -17,6 +17,18 @@ from .coordinator import NextcloudDataUpdateCoordinator
|
||||
from .entity import NextcloudEntity
|
||||
|
||||
BINARY_SENSORS: Final[list[BinarySensorEntityDescription]] = [
|
||||
BinarySensorEntityDescription(
|
||||
key="jit_enabled",
|
||||
translation_key="nextcloud_jit_enabled",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
BinarySensorEntityDescription(
|
||||
key="jit_on",
|
||||
translation_key="nextcloud_jit_on",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
BinarySensorEntityDescription(
|
||||
key="system_debug",
|
||||
translation_key="nextcloud_system_debug",
|
||||
|
@ -10,7 +10,12 @@ from homeassistant.components.sensor import (
|
||||
SensorEntityDescription,
|
||||
)
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import EntityCategory, UnitOfInformation, UnitOfTime
|
||||
from homeassistant.const import (
|
||||
PERCENTAGE,
|
||||
EntityCategory,
|
||||
UnitOfInformation,
|
||||
UnitOfTime,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
from homeassistant.helpers.typing import StateType
|
||||
@ -40,6 +45,79 @@ SENSORS: Final[list[SensorEntityDescription]] = [
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
icon="mdi:account-multiple",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_expunges",
|
||||
translation_key="nextcloud_cache_expunges",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_mem_size",
|
||||
translation_key="nextcloud_cache_mem_size",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_memory_type",
|
||||
translation_key="nextcloud_cache_memory_type",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_num_entries",
|
||||
translation_key="nextcloud_cache_num_entries",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_num_hits",
|
||||
translation_key="nextcloud_cache_num_hits",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_num_inserts",
|
||||
translation_key="nextcloud_cache_num_inserts",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_num_misses",
|
||||
translation_key="nextcloud_cache_num_misses",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_num_slots",
|
||||
translation_key="nextcloud_cache_num_slots",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_start_time",
|
||||
translation_key="nextcloud_cache_start_time",
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="cache_ttl",
|
||||
translation_key="nextcloud_cache_ttl",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="database_size",
|
||||
translation_key="nextcloud_database_size",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
icon="mdi:database",
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="database_type",
|
||||
translation_key="nextcloud_database_type",
|
||||
@ -52,6 +130,205 @@ SENSORS: Final[list[SensorEntityDescription]] = [
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
icon="mdi:database",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="interned_strings_usage_buffer_size",
|
||||
translation_key="nextcloud_interned_strings_usage_buffer_size",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="interned_strings_usage_free_memory",
|
||||
translation_key="nextcloud_interned_strings_usage_free_memory",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="interned_strings_usage_number_of_strings",
|
||||
translation_key="nextcloud_interned_strings_usage_number_of_strings",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="interned_strings_usage_used_memory",
|
||||
translation_key="nextcloud_interned_strings_usage_used_memory",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="jit_buffer_free",
|
||||
translation_key="nextcloud_jit_buffer_free",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="jit_buffer_size",
|
||||
translation_key="nextcloud_jit_buffer_size",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="jit_kind",
|
||||
translation_key="nextcloud_jit_kind",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="jit_opt_flags",
|
||||
translation_key="nextcloud_jit_opt_flags",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="jit_opt_level",
|
||||
translation_key="nextcloud_jit_opt_level",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_blacklist_miss_ratio",
|
||||
translation_key="nextcloud_opcache_statistics_blacklist_miss_ratio",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_blacklist_misses",
|
||||
translation_key="nextcloud_opcache_statistics_blacklist_misses",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_hash_restarts",
|
||||
translation_key="nextcloud_opcache_statistics_hash_restarts",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_hits",
|
||||
translation_key="nextcloud_opcache_statistics_hits",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_last_restart_time",
|
||||
translation_key="nextcloud_opcache_statistics_last_restart_time",
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_manual_restarts",
|
||||
translation_key="nextcloud_opcache_statistics_manual_restarts",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_max_cached_keys",
|
||||
translation_key="nextcloud_opcache_statistics_max_cached_keys",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_misses",
|
||||
translation_key="nextcloud_opcache_statistics_misses",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_num_cached_keys",
|
||||
translation_key="nextcloud_opcache_statistics_num_cached_keys",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_num_cached_scripts",
|
||||
translation_key="nextcloud_opcache_statistics_num_cached_scripts",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_oom_restarts",
|
||||
translation_key="nextcloud_opcache_statistics_oom_restarts",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_opcache_hit_rate",
|
||||
translation_key="nextcloud_opcache_statistics_opcache_hit_rate",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
suggested_display_precision=1,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="opcache_statistics_start_time",
|
||||
translation_key="nextcloud_opcache_statistics_start_time",
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="server_php_opcache_memory_usage_current_wasted_percentage",
|
||||
translation_key="nextcloud_server_php_opcache_memory_usage_current_wasted_percentage",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
icon="mdi:language-php",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
suggested_display_precision=1,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="server_php_opcache_memory_usage_free_memory",
|
||||
translation_key="nextcloud_server_php_opcache_memory_usage_free_memory",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
icon="mdi:language-php",
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="server_php_opcache_memory_usage_used_memory",
|
||||
translation_key="nextcloud_server_php_opcache_memory_usage_used_memory",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
icon="mdi:language-php",
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="server_php_opcache_memory_usage_wasted_memory",
|
||||
translation_key="nextcloud_server_php_opcache_memory_usage_wasted_memory",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
icon="mdi:language-php",
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="server_php_max_execution_time",
|
||||
translation_key="nextcloud_server_php_max_execution_time",
|
||||
@ -135,6 +412,32 @@ SENSORS: Final[list[SensorEntityDescription]] = [
|
||||
translation_key="nextcloud_shares_num_shares_user",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="sma_avail_mem",
|
||||
translation_key="nextcloud_sma_avail_mem",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="sma_num_seg",
|
||||
translation_key="nextcloud_sma_num_seg",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="sma_seg_size",
|
||||
translation_key="nextcloud_sma_seg_size",
|
||||
device_class=SensorDeviceClass.DATA_SIZE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
native_unit_of_measurement=UnitOfInformation.BYTES,
|
||||
suggested_display_precision=1,
|
||||
suggested_unit_of_measurement=UnitOfInformation.MEGABYTES,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="storage_num_files",
|
||||
translation_key="nextcloud_storage_num_files",
|
||||
|
@ -31,6 +31,15 @@
|
||||
},
|
||||
"entity": {
|
||||
"binary_sensor": {
|
||||
"nextcloud_jit_enabled": {
|
||||
"name": "JIT enabled"
|
||||
},
|
||||
"nextcloud_jit_on": {
|
||||
"name": "JIT active"
|
||||
},
|
||||
"nextcloud_system_debug": {
|
||||
"name": "Debug enabled"
|
||||
},
|
||||
"nextcloud_system_enable_avatars": {
|
||||
"name": "Avatars enabled"
|
||||
},
|
||||
@ -39,56 +48,206 @@
|
||||
},
|
||||
"nextcloud_system_filelocking_enabled": {
|
||||
"name": "Filelocking enabled"
|
||||
},
|
||||
"nextcloud_system_debug": {
|
||||
"name": "Debug enabled"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
"nextcloud_system_version": {
|
||||
"name": "System version"
|
||||
"nextcloud_activeusers_last1hour": {
|
||||
"name": "Amount of active users last hour"
|
||||
},
|
||||
"nextcloud_system_theme": {
|
||||
"name": "System theme"
|
||||
"nextcloud_activeusers_last24hours": {
|
||||
"name": "Amount of active users last day"
|
||||
},
|
||||
"nextcloud_system_memcache_local": {
|
||||
"name": "System memcache local"
|
||||
"nextcloud_activeusers_last5minutes": {
|
||||
"name": "Amount of active users last 5 minutes"
|
||||
},
|
||||
"nextcloud_system_memcache_distributed": {
|
||||
"name": "System memcache distributed"
|
||||
"nextcloud_cache_expunges": {
|
||||
"name": "Cache expunges"
|
||||
},
|
||||
"nextcloud_system_memcache_locking": {
|
||||
"name": "System memcache locking"
|
||||
"nextcloud_cache_mem_size": {
|
||||
"name": "Cache memory size"
|
||||
},
|
||||
"nextcloud_system_freespace": {
|
||||
"name": "Free space"
|
||||
"nextcloud_cache_memory_type": {
|
||||
"name": "Cache memory"
|
||||
},
|
||||
"nextcloud_system_cpuload_1": {
|
||||
"name": "CPU Load last minute"
|
||||
"nextcloud_cache_num_entries": {
|
||||
"name": "Cache number of entires"
|
||||
},
|
||||
"nextcloud_system_cpuload_15": {
|
||||
"name": "CPU Load last 15 minutes"
|
||||
"nextcloud_cache_num_hits": {
|
||||
"name": "Cache number of hits"
|
||||
},
|
||||
"nextcloud_system_cpuload_5": {
|
||||
"name": "CPU Load last 5 minutes"
|
||||
"nextcloud_cache_num_inserts": {
|
||||
"name": "Cache number of inserts"
|
||||
},
|
||||
"nextcloud_system_mem_total": {
|
||||
"name": "Total memory"
|
||||
"nextcloud_cache_num_misses": {
|
||||
"name": "Cache number of misses"
|
||||
},
|
||||
"nextcloud_system_mem_free": {
|
||||
"name": "Free memory"
|
||||
"nextcloud_cache_num_slots": {
|
||||
"name": "Cache number of slots"
|
||||
},
|
||||
"nextcloud_system_swap_total": {
|
||||
"name": "Total swap memory"
|
||||
"nextcloud_cache_start_time": {
|
||||
"name": "Cache start time"
|
||||
},
|
||||
"nextcloud_system_swap_free": {
|
||||
"name": "Free swap memory"
|
||||
"nextcloud_cache_ttl": {
|
||||
"name": "Cache ttl"
|
||||
},
|
||||
"nextcloud_system_apps_num_installed": {
|
||||
"name": "Apps installed"
|
||||
"nextcloud_database_size": {
|
||||
"name": "Databse size"
|
||||
},
|
||||
"nextcloud_system_apps_num_updates_available": {
|
||||
"name": "Updates available"
|
||||
"nextcloud_database_type": {
|
||||
"name": "Database type"
|
||||
},
|
||||
"nextcloud_database_version": {
|
||||
"name": "Database version"
|
||||
},
|
||||
"nextcloud_interned_strings_usage_buffer_size": {
|
||||
"name": "Interned buffer size"
|
||||
},
|
||||
"nextcloud_interned_strings_usage_free_memory": {
|
||||
"name": "Interned free memory"
|
||||
},
|
||||
"nextcloud_interned_strings_usage_number_of_strings": {
|
||||
"name": "Interned number of strings"
|
||||
},
|
||||
"nextcloud_interned_strings_usage_used_memory": {
|
||||
"name": "Interned used memory"
|
||||
},
|
||||
"nextcloud_jit_buffer_free": {
|
||||
"name": "JIT buffer free"
|
||||
},
|
||||
"nextcloud_jit_buffer_size": {
|
||||
"name": "JIT buffer size"
|
||||
},
|
||||
"nextcloud_jit_kind": {
|
||||
"name": "JIT kind"
|
||||
},
|
||||
"nextcloud_jit_opt_flags": {
|
||||
"name": "JIT opt flags"
|
||||
},
|
||||
"nextcloud_jit_opt_level": {
|
||||
"name": "JIT opt level"
|
||||
},
|
||||
"nextcloud_opcache_statistics_blacklist_miss_ratio": {
|
||||
"name": "Opcache blacklist miss ratio"
|
||||
},
|
||||
"nextcloud_opcache_statistics_blacklist_misses": {
|
||||
"name": "Opcache blacklist misses"
|
||||
},
|
||||
"nextcloud_opcache_statistics_hash_restarts": {
|
||||
"name": "Opcache hash restarts"
|
||||
},
|
||||
"nextcloud_opcache_statistics_hits": {
|
||||
"name": "Opcache hits"
|
||||
},
|
||||
"nextcloud_opcache_statistics_last_restart_time": {
|
||||
"name": "Opcache last restart time"
|
||||
},
|
||||
"nextcloud_opcache_statistics_manual_restarts": {
|
||||
"name": "Opcache manual restarts"
|
||||
},
|
||||
"nextcloud_opcache_statistics_max_cached_keys": {
|
||||
"name": "Opcache max cached keys"
|
||||
},
|
||||
"nextcloud_opcache_statistics_misses": {
|
||||
"name": "Opcache misses"
|
||||
},
|
||||
"nextcloud_opcache_statistics_num_cached_keys": {
|
||||
"name": "Opcache cached keys"
|
||||
},
|
||||
"nextcloud_opcache_statistics_num_cached_scripts": {
|
||||
"name": "Opcache cached scripts"
|
||||
},
|
||||
"nextcloud_opcache_statistics_oom_restarts": {
|
||||
"name": "Opcache out of memory restarts"
|
||||
},
|
||||
"nextcloud_opcache_statistics_opcache_hit_rate": {
|
||||
"name": "Opcache hit rate"
|
||||
},
|
||||
"nextcloud_opcache_statistics_start_time": {
|
||||
"name": "Opcache start time"
|
||||
},
|
||||
"nextcloud_server_php_max_execution_time": {
|
||||
"name": "PHP max execution time"
|
||||
},
|
||||
"nextcloud_server_php_memory_limit": {
|
||||
"name": "PHP memory limit"
|
||||
},
|
||||
"nextcloud_server_php_opcache_memory_usage_current_wasted_percentage": {
|
||||
"name": "Opcache current wasted percentage"
|
||||
},
|
||||
"nextcloud_server_php_opcache_memory_usage_free_memory": {
|
||||
"name": "Opcache free memory"
|
||||
},
|
||||
"nextcloud_server_php_opcache_memory_usage_used_memory": {
|
||||
"name": "Opcache used memory"
|
||||
},
|
||||
"nextcloud_server_php_opcache_memory_usage_wasted_memory": {
|
||||
"name": "Opcache wasted memory"
|
||||
},
|
||||
"nextcloud_server_php_upload_max_filesize": {
|
||||
"name": "PHP upload maximum filesize"
|
||||
},
|
||||
"nextcloud_server_php_version": {
|
||||
"name": "PHP version"
|
||||
},
|
||||
"nextcloud_server_webserver": {
|
||||
"name": "Webserver"
|
||||
},
|
||||
"nextcloud_shares_num_fed_shares_received": {
|
||||
"name": "Amount of shares received"
|
||||
},
|
||||
"nextcloud_shares_num_fed_shares_sent": {
|
||||
"name": "Amount of shares sent"
|
||||
},
|
||||
"nextcloud_shares_num_shares": {
|
||||
"name": "Amount of shares"
|
||||
},
|
||||
"nextcloud_shares_num_shares_groups": {
|
||||
"name": "Amount of group shares"
|
||||
},
|
||||
"nextcloud_shares_num_shares_link": {
|
||||
"name": "Amount of link shares"
|
||||
},
|
||||
"nextcloud_shares_num_shares_link_no_password": {
|
||||
"name": "Amount of passwordless link shares"
|
||||
},
|
||||
"nextcloud_shares_num_shares_mail": {
|
||||
"name": "Amount of mail shares"
|
||||
},
|
||||
"nextcloud_shares_num_shares_room": {
|
||||
"name": "Amount of room shares"
|
||||
},
|
||||
"nextcloud_shares_num_shares_user": {
|
||||
"name": "Amount of user shares"
|
||||
},
|
||||
"nextcloud_shares_permissions_3_1": {
|
||||
"name": "Permissions 3.1"
|
||||
},
|
||||
"nextcloud_sma_avail_mem": {
|
||||
"name": "SMA available memory"
|
||||
},
|
||||
"nextcloud_sma_num_seg": {
|
||||
"name": "SMA number of segments"
|
||||
},
|
||||
"nextcloud_sma_seg_size": {
|
||||
"name": "SMA segment size"
|
||||
},
|
||||
"nextcloud_storage_num_files": {
|
||||
"name": "Amount of files"
|
||||
},
|
||||
"nextcloud_storage_num_storages": {
|
||||
"name": "Amount of storages"
|
||||
},
|
||||
"nextcloud_storage_num_storages_home": {
|
||||
"name": "Amount of storages at home"
|
||||
},
|
||||
"nextcloud_storage_num_storages_local": {
|
||||
"name": "Amount of local storages"
|
||||
},
|
||||
"nextcloud_storage_num_storages_other": {
|
||||
"name": "Amount of other storages"
|
||||
},
|
||||
"nextcloud_storage_num_users": {
|
||||
"name": "Amount of user"
|
||||
},
|
||||
"nextcloud_system_apps_app_updates_calendar": {
|
||||
"name": "Calendar updates"
|
||||
@ -102,83 +261,50 @@
|
||||
"nextcloud_system_apps_app_updates_twofactor_totp": {
|
||||
"name": "Two factor authentication updates"
|
||||
},
|
||||
"nextcloud_storage_num_users": {
|
||||
"name": "Amount of user"
|
||||
"nextcloud_system_apps_num_installed": {
|
||||
"name": "Apps installed"
|
||||
},
|
||||
"nextcloud_storage_num_files": {
|
||||
"name": "Amount of files"
|
||||
"nextcloud_system_apps_num_updates_available": {
|
||||
"name": "Updates available"
|
||||
},
|
||||
"nextcloud_storage_num_storages": {
|
||||
"name": "Amount of storages"
|
||||
"nextcloud_system_cpuload_1": {
|
||||
"name": "CPU Load last 1 minute"
|
||||
},
|
||||
"nextcloud_storage_num_storages_local": {
|
||||
"name": "Amount of local storages"
|
||||
"nextcloud_system_cpuload_15": {
|
||||
"name": "CPU Load last 15 minutes"
|
||||
},
|
||||
"nextcloud_storage_num_storages_home": {
|
||||
"name": "Amount of storages at home"
|
||||
"nextcloud_system_cpuload_5": {
|
||||
"name": "CPU Load last 5 minutes"
|
||||
},
|
||||
"nextcloud_storage_num_storages_other": {
|
||||
"name": "Amount of other storages"
|
||||
"nextcloud_system_freespace": {
|
||||
"name": "Free space"
|
||||
},
|
||||
"nextcloud_shares_num_shares": {
|
||||
"name": "Amount of shares"
|
||||
"nextcloud_system_mem_free": {
|
||||
"name": "Free memory"
|
||||
},
|
||||
"nextcloud_shares_num_shares_user": {
|
||||
"name": "Amount of user shares"
|
||||
"nextcloud_system_mem_total": {
|
||||
"name": "Total memory"
|
||||
},
|
||||
"nextcloud_shares_num_shares_groups": {
|
||||
"name": "Amount of group shares"
|
||||
"nextcloud_system_memcache_distributed": {
|
||||
"name": "System memcache distributed"
|
||||
},
|
||||
"nextcloud_shares_num_shares_link": {
|
||||
"name": "Amount of link shares"
|
||||
"nextcloud_system_memcache_local": {
|
||||
"name": "System memcache local"
|
||||
},
|
||||
"nextcloud_shares_num_shares_mail": {
|
||||
"name": "Amount of mail shares"
|
||||
"nextcloud_system_memcache_locking": {
|
||||
"name": "System memcache locking"
|
||||
},
|
||||
"nextcloud_shares_num_shares_room": {
|
||||
"name": "Amount of room shares"
|
||||
"nextcloud_system_swap_free": {
|
||||
"name": "Free swap memory"
|
||||
},
|
||||
"nextcloud_shares_num_shares_link_no_password": {
|
||||
"name": "Amount of passwordless link shares"
|
||||
"nextcloud_system_swap_total": {
|
||||
"name": "Total swap memory"
|
||||
},
|
||||
"nextcloud_shares_num_fed_shares_sent": {
|
||||
"name": "Amount of shares sent"
|
||||
"nextcloud_system_theme": {
|
||||
"name": "System theme"
|
||||
},
|
||||
"nextcloud_shares_num_fed_shares_received": {
|
||||
"name": "Amount of shares received"
|
||||
},
|
||||
"nextcloud_shares_permissions_3_1": {
|
||||
"name": "Permissions 3.1"
|
||||
},
|
||||
"nextcloud_server_webserver": {
|
||||
"name": "Webserver"
|
||||
},
|
||||
"nextcloud_server_php_version": {
|
||||
"name": "PHP version"
|
||||
},
|
||||
"nextcloud_server_php_memory_limit": {
|
||||
"name": "PHP memory limit"
|
||||
},
|
||||
"nextcloud_server_php_max_execution_time": {
|
||||
"name": "PHP max execution time"
|
||||
},
|
||||
"nextcloud_server_php_upload_max_filesize": {
|
||||
"name": "PHP upload maximum filesize"
|
||||
},
|
||||
"nextcloud_database_type": {
|
||||
"name": "Database type"
|
||||
},
|
||||
"nextcloud_database_version": {
|
||||
"name": "Database version"
|
||||
},
|
||||
"nextcloud_activeusers_last5minutes": {
|
||||
"name": "Amount of active users last 5 minutes"
|
||||
},
|
||||
"nextcloud_activeusers_last1hour": {
|
||||
"name": "Amount of active users last hour"
|
||||
},
|
||||
"nextcloud_activeusers_last24hours": {
|
||||
"name": "Amount of active users last day"
|
||||
"nextcloud_system_version": {
|
||||
"name": "System version"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user