aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2019-05-26 15:49:52 +0200
committernico <nico@magicbroccoli.de>2019-05-26 15:49:52 +0200
commit8c614332dc9fe859788c14da5458cae0587cfe58 (patch)
tree9986001eb2276150bb4351f4f6dfe4fda4bd1fcf
parente44da25849e6ac0136ceea76e3d4b07c9942e1e8 (diff)
serverinfo share hold more info
+ add mail shares to plugin + add room shares to plugin
-rwxr-xr-xnextcloud_multi.py24
-rwxr-xr-xnextcloud_shares.py24
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'
]
}