[check_nextcloud-users.graph] check_command = "check_nextcloud" [check_nextcloud-users.metrics_filters] 5min.value = "$service_name_template$.perfdata.users_last_5_minutes.value" 1hour.value = "$service_name_template$.perfdata.users_last_1_hour.value" 24hour.value = "$service_name_template$.perfdata.users_last_24_hours.value" [check_nextcloud-users.urlparams] areaAlpha = "0.5" areaMode = "none" lineWidth = "2" min = "0" title = "Active Users" yUnitSystem = "none" [check_nextcloud-users.functions] 5min.value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), '5 Minutes'), 'last', 'max', 'avg', 'min', 'si')" 1hour.value = "legendValue(alias(color(keepLastValue($metric$), '#76B26D'), '1 Hour'), 'last', 'max', 'avg', 'min', 'si')" 24hour.value = "legendValue(alias(color(keepLastValue($metric$), '#EAB839'), '24 Hours'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-dbsize.graph] check_command = "check_nextcloud" [check_nextcloud-dbsize.metrics_filters] value = "$service_name_template$.perfdata.database_size.value" [check_nextcloud-dbsize.urlparams] areaAlpha = "0.5" areaMode = "first" lineWidth = "2" min = "0" title = "Database Size" yUnitSystem = "binary" [check_nextcloud-dbsize.functions] value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'Bytes'), 'last', 'max', 'avg', 'min', 'binary')" [check_nextcloud-shares1.graph] check_command = "check_nextcloud" [check_nextcloud-shares1.metrics_filters] total.value = "$service_name_template$.perfdata.shares.value" [check_nextcloud-shares1.urlparams] areaAlpha = "0.5" areaMode = "none" lineWidth = "2" min = "0" title = "Shares total" yUnitSystem = "si" [check_nextcloud-shares1.functions] total.value = "legendValue(alias(color(keepLastValue(stacked($metric$, 'total')), '#1a7dd7'), 'Shares total'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-shares2.graph] check_command = "check_nextcloud" [check_nextcloud-shares2.metrics_filters] users.value = "$service_name_template$.perfdata.shares_user.value" groups.value = "$service_name_template$.perfdata.shares_groups.value" link.value = "$service_name_template$.perfdata.shares_link.value" [check_nextcloud-shares2.urlparams] areaAlpha = "0.5" areaMode = "stacked" lineWidth = "2" min = "0" title = "Shares" yUnitSystem = "si" [check_nextcloud-shares2.functions] users.value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'Shares to other users '), 'last', 'max', 'avg', 'min', 'si')" groups.value = "legendValue(alias(color(keepLastValue($metric$), '#76B26D'), 'Shares to group'), 'last', 'max', 'avg', 'min', 'si')" link.value = "legendValue(alias(color(keepLastValue($metric$), '#EAB839'), 'Shares via link'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-shares3.graph] check_command = "check_nextcloud" [check_nextcloud-shares3.metrics_filters] link.value = "$service_name_template$.perfdata.shares_link.value" link_no_pw.value = "$service_name_template$.perfdata.shares_link_no_password.value" [check_nextcloud-shares3.urlparams] areaAlpha = "0.5" areaMode = "first" lineWidth = "0" min = "0" title = "Shares via Link" yUnitSystem = "si" [check_nextcloud-shares3.functions] link.value = "legendValue(alias(color(keepLastValue($metric$), '#76B26D'), 'Total Shares via link '), 'last', 'max', 'avg', 'min', 'si')" link_no_pw.value = "legendValue(alias(lineWidth(color(keepLastValue($metric$), '#EAB839'), 2), 'Links with no password '), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-sharesfed.graph] check_command = "check_nextcloud" [check_nextcloud-sharesfed.metrics_filters] fed_recv.value = "$service_name_template$.perfdata.federation_shares_received.value" fed_sent.value = "$service_name_template$.perfdata.federation_shares_sent.value" [check_nextcloud-sharesfed.urlparams] areaAlpha = "0.5" areaMode = "all" lineWidth = "0" min = "0" title = "Federation Shares" yUnitSystem = "si" [check_nextcloud-sharesfed.functions] fed_recv.value = "legendValue(alias(color(scale(keepLastValue($metric$), -1), '#76B26D'), 'received'), 'last', 'max', 'avg', 'min', 'si')" fed_sent.value = "legendValue(alias(color(keepLastValue($metric$), '#EAB839'), 'sent'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-storage-files.graph] check_command = "check_nextcloud" [check_nextcloud-storage-files.metrics_filters] value = "$service_name_template$.perfdata.files.value" [check_nextcloud-storage-files.urlparams] areaAlpha = "0.5" areaMode = "first" lineWidth = "2" min = "0" title = "Files" yUnitSystem = "si" [check_nextcloud-storage-files.functions] value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'files'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-storages.graph] check_command = "check_nextcloud" [check_nextcloud-storages.metrics_filters] home.value = "$service_name_template$.perfdata.storages_home.value" local.value = "$service_name_template$.perfdata.storages_local.value" other.value = "$service_name_template$.perfdata.storages_other.value" [check_nextcloud-storages.urlparams] areaAlpha = "0.5" areaMode = "stacked" lineWidth = "2" min = "0" title = "Storages by Type" yUnitSystem = "si" [check_nextcloud-storages.functions] home.value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'Homes'), 'last', 'max', 'avg', 'min', 'si')" local.value = "legendValue(alias(color(keepLastValue($metric$), '#76B26D'), 'Local'), 'last', 'max', 'avg', 'min', 'si')" other.value = "legendValue(alias(color(keepLastValue($metric$), '#EAB839'), 'Other'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-storages-total.graph] check_command = "check_nextcloud" [check_nextcloud-storages-total.metrics_filters] value = "$service_name_template$.perfdata.storages.value" [check_nextcloud-storages-total.urlparams] areaAlpha = "0.5" areaMode = "first" lineWidth = "2" min = "0" title = "Storages Total" yUnitSystem = "si" [check_nextcloud-storages-total.functions] value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'Storages Total'), 'last', 'max', 'avg', 'min', 'si')" [check_nextcloud-storage-users.graph] check_command = "check_nextcloud" [check_nextcloud-storage-users.metrics_filters] value = "$service_name_template$.perfdata.users.value" [check_nextcloud-storage-users.urlparams] areaAlpha = "0.5" areaMode = "first" lineWidth = "2" min = "0" title = "Users" yUnitSystem = "si" [check_nextcloud-storage-users.functions] value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'Users'), 'last', 'max', 'avg', 'min', 'si')"