diff options
author | nico <nico@magicbroccoli.de> | 2018-09-09 16:20:32 +0200 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2018-09-09 16:20:32 +0200 |
commit | d1ea8d65ef38dec6db7a6800e96dbafea2738ac1 (patch) | |
tree | 6a0fbd6709d463876ab4bdec34479d5e1e1b40f5 /nextcloud_shares | |
parent | ac69819febbd7d6bc0d2e2dbac4daa29aedae44a (diff) |
Nextcloud Munin DB Plugin
+ added nextcloud db size plugin
* removed some unnecessary code
Diffstat (limited to 'nextcloud_shares')
-rwxr-xr-x | nextcloud_shares | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nextcloud_shares b/nextcloud_shares index fb527a6..ba247d5 100755 --- a/nextcloud_shares +++ b/nextcloud_shares @@ -45,8 +45,8 @@ class NextcloudShares: 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'] |