diff options
author | Marian Sigler <m@qjym.de> | 2012-09-26 03:44:20 +0200 |
---|---|---|
committer | Marian Sigler <m@qjym.de> | 2012-09-26 03:44:20 +0200 |
commit | 1d149b55d57632c41bb3d0d60805f3552cde3a22 (patch) | |
tree | 1f38d01461f6702bbc29fa76984322f0b021b253 /contrib/munin | |
parent | fc2b6762d5c8c2ac9c5003ddbaa53bdb13a64ed4 (diff) | |
download | web-1d149b55d57632c41bb3d0d60805f3552cde3a22.tar.gz web-1d149b55d57632c41bb3d0d60805f3552cde3a22.tar.bz2 web-1d149b55d57632c41bb3d0d60805f3552cde3a22.zip |
fix munin plugin
Diffstat (limited to 'contrib/munin')
-rw-r--r-- | contrib/munin/accounts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/munin/accounts.py b/contrib/munin/accounts.py index dc853c8..947989b 100644 --- a/contrib/munin/accounts.py +++ b/contrib/munin/accounts.py @@ -11,7 +11,7 @@ if __name__ == "__main__": print('graph_vlabel Amount') print('accounts.label Accounts') else: - service = AccountService(LDAP_HOST, LDAP_BASE_DN,SERVICES) - accounts = service.find(LDAP_ADMIN_USER, LDAP_ADMIN_PASS) + service = AccountService(LDAP_HOST, LDAP_BASE_DN, SERVICES, LDAP_ADMIN_USER, LDAP_ADMIN_PASS) + accounts = service.find() print('accounts.value %s' % len(accounts)) |