Răsfoiți Sursa

Update 'plugins/edirectory_monitor/libexec/agent_edirectory_monitor'

Michael Honkoop 3 luni în urmă
părinte
comite
126aba78ca

+ 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):