aboutsummaryrefslogtreecommitdiffstats
path: root/nextcloud_users
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2018-09-09 16:20:32 +0200
committernico <nico@magicbroccoli.de>2018-09-09 16:20:32 +0200
commitd1ea8d65ef38dec6db7a6800e96dbafea2738ac1 (patch)
tree6a0fbd6709d463876ab4bdec34479d5e1e1b40f5 /nextcloud_users
parentac69819febbd7d6bc0d2e2dbac4daa29aedae44a (diff)
Nextcloud Munin DB Plugin
+ added nextcloud db size plugin * removed some unnecessary code
Diffstat (limited to 'nextcloud_users')
-rwxr-xr-xnextcloud_users4
1 files changed, 2 insertions, 2 deletions
diff --git a/nextcloud_users b/nextcloud_users
index 46312fb..eac5ae6 100755
--- a/nextcloud_users
+++ b/nextcloud_users
@@ -37,8 +37,8 @@ class NextcloudUsers:
try:
if None not in {os.environ['url'], os.environ['username'], os.environ['password']}:
print('yes')
- except KeyError as e:
- print('no configuration options are missing: %s' % e)
+ except KeyError:
+ print('no env configuration options are missing')
else:
# read the configuration from munin environment
URL = os.environ['url']