Parcourir la source

Update 'plugins/edirectory_monitor/libexec/agent_edirectory_monitor'

Michael Honkoop il y a 3 mois
Parent
commit
126aba78ca
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      plugins/edirectory_monitor/libexec/agent_edirectory_monitor

+ 1 - 2
plugins/edirectory_monitor/libexec/agent_edirectory_monitor

@@ -19,9 +19,8 @@ def clean_key(key):
     return cleaned_key
 
 def clean_value(value):
+    """Clean and format the values by removing unwanted parts."""
     cleaned_value = re.sub(' Bytes| KB| ms', '', value)
-    #cleaned_value = re.sub(' Bytes| KB|CN=|OU=|O=', '', value)
-    
     return cleaned_value
 
 def print_sections(raw_result):