zabbix_export:
version: '7.4'
template_groups:
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: 34f386276a094e8e9a6e46653fdf05b1
template: 'Nextcloud by HTTP'
name: 'Nextcloud by HTTP'
description: |
This template is designed for monitoring Nextcloud by HTTP via Zabbix, and it works without any external scripts.
Nextcloud is a suite of client-server software for creating and using file hosting services.
For more information, see the [`official documentation`](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#)
Generated by official Zabbix template tool "Templator"
vendor:
name: Zabbix
version: 7.4-1
groups:
- name: Templates/Applications
items:
- uuid: cf89012acb7749a396fc14a705145c91
name: 'Active users, last 1 hour'
type: DEPENDENT
key: nextcloud.serverinfo.active_users.last1h
description: 'The number of active users in the last 1 hour.'
preprocessing:
- type: JSONPATH
parameters:
- $.ocs.data.activeUsers.last1hour
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
master_item:
key: nextcloud.serverinfo.get_data
tags:
- tag: component
value: environment
- uuid: 355d11e7459a4c599a86b2c08b90fd56
name: 'Active users, last 5 minutes'
type: DEPENDENT
key: nextcloud.serverinfo.active_users.last5m
description: 'The number of active users in the last 5 minutes.'
preprocessing:
- type: JSONPATH
parameters:
- $.ocs.data.activeUsers.last5minutes
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
master_item:
key: nextcloud.serverinfo.get_data
tags:
- tag: component
value: environment
- uuid: 6a28646d56804f9fa4d060af26579881
name: 'Active users, last 24 hours'
type: DEPENDENT
key: nextcloud.serverinfo.active_users.last24hours
description: 'The number of active users in the last day.'
preprocessing:
- type: JSONPATH
parameters:
- $.ocs.data.activeUsers.last24hours
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
master_item:
key: nextcloud.serverinfo.get_data
tags:
- tag: component
value: environment
- uuid: cca878683ecb4de4b648fa100b579748
name: 'Apps installed'
type: DEPENDENT
key: nextcloud.serverinfo.apps.installed
description: 'The number of installed applications.'
preprocessing:
- type: JSONPATH
parameters:
- $.ocs.data.nextcloud.system.apps.num_installed
error_handler: DISCARD_VALUE
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
master_item:
key: nextcloud.serverinfo.get_data
tags: