bin/metrics-ldap.rb in sensu-plugins-openldap-1.0.0 vs bin/metrics-ldap.rb in sensu-plugins-openldap-1.0.1
- old
+ new
@@ -96,10 +96,10 @@
ldap.encryption(method: :simple_tls)
end
begin
if ldap.bind
- message += 'So far'
+ message = 'So far'
metrics = {
conn_total: {
title: 'connections.total',
search: 'cn=Total,cn=Connections',
attribute: 'monitorCounter'