From 8c614332dc9fe859788c14da5458cae0587cfe58 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 26 May 2019 15:49:52 +0200 Subject: serverinfo share hold more info + add mail shares to plugin + add room shares to plugin --- nextcloud_multi.py | 24 +++++++++++++++--------- nextcloud_shares.py | 24 +++++++++++++++--------- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/nextcloud_multi.py b/nextcloud_multi.py index 4598252..a4c02d2 100755 --- a/nextcloud_multi.py +++ b/nextcloud_multi.py @@ -52,27 +52,33 @@ class NextcloudMultiGraph: 'graph_vlabel number of shares', 'graph_info graph showing the number of shares', 'graph_category nextcloud', - 'num_fed_shares_received.label federated shares recieved', - 'num_fed_shares_received.info current total of federated shares recieved', - 'num_fed_shares_received.min 0', - 'num_fed_shares_sent.label federated shares sent', - 'num_fed_shares_sent.info current total of federated shares sent', - 'num_fed_shares_sent.min 0', 'num_shares.label total number of shares', 'num_shares.info current over all total of shares', 'num_shares.min 0', + 'num_shares_user.label user shares', + 'num_shares_user.info current total of user shares', + 'num_shares_user.min 0', 'num_shares_groups.label group shares', 'num_shares_groups.info current total of group shares', 'num_shares_groups.min 0', 'num_shares_link.label link shares', 'num_shares_link.info current total of shares through a link', 'num_shares_link.min 0', + 'num_shares_mail.label mail shares', + 'num_shares_mail.info current total of mail shares', + 'num_shares_mail.min 0', + 'num_shares_room.label room shares', + 'num_shares_room.info current total of room shares', + 'num_shares_room.min 0', 'num_shares_link_no_password.label link shares without a password', 'num_shares_link_no_password.info current total of shares through a link without a password protection', 'num_shares_link_no_password.min 0', - 'num_shares_user.label user shares', - 'num_shares_user.info current total of user shares', - 'num_shares_user.min 0' + 'num_fed_shares_sent.label federated shares sent', + 'num_fed_shares_sent.info current total of federated shares sent', + 'num_fed_shares_sent.min 0', + 'num_fed_shares_received.label federated shares recieved', + 'num_fed_shares_received.info current total of federated shares recieved', + 'num_fed_shares_received.min 0' ], 'dbsize': [ 'multigraph nextcloud_dbsize', diff --git a/nextcloud_shares.py b/nextcloud_shares.py index 0057a4c..4c70d06 100755 --- a/nextcloud_shares.py +++ b/nextcloud_shares.py @@ -26,27 +26,33 @@ class NextcloudShares: 'graph_vlabel number of shares', 'graph_info graph showing the number of shares', 'graph_category nextcloud', - 'num_fed_shares_received.label federated shares recieved', - 'num_fed_shares_received.info current total of federated shares recieved', - 'num_fed_shares_received.min 0', - 'num_fed_shares_sent.label federated shares sent', - 'num_fed_shares_sent.info current total of federated shares sent', - 'num_fed_shares_sent.min 0', 'num_shares.label total number of shares', 'num_shares.info current over all total of shares', 'num_shares.min 0', + 'num_shares_user.label user shares', + 'num_shares_user.info current total of user shares', + 'num_shares_user.min 0', 'num_shares_groups.label group shares', 'num_shares_groups.info current total of group shares', 'num_shares_groups.min 0', 'num_shares_link.label link shares', 'num_shares_link.info current total of shares through a link', 'num_shares_link.min 0', + 'num_shares_mail.label mail shares', + 'num_shares_mail.info current total of mail shares', + 'num_shares_mail.min 0', + 'num_shares_room.label room shares', + 'num_shares_room.info current total of room shares', + 'num_shares_room.min 0', 'num_shares_link_no_password.label link shares without a password', 'num_shares_link_no_password.info current total of shares through a link without a password protection', 'num_shares_link_no_password.min 0', - 'num_shares_user.label user shares', - 'num_shares_user.info current total of user shares', - 'num_shares_user.min 0' + 'num_fed_shares_sent.label federated shares sent', + 'num_fed_shares_sent.info current total of federated shares sent', + 'num_fed_shares_sent.min 0', + 'num_fed_shares_received.label federated shares recieved', + 'num_fed_shares_received.info current total of federated shares recieved', + 'num_fed_shares_received.min 0' ] } -- cgit v1.2.3-18-g5258