Unverified Commit f9053331 authored by aklyuk's avatar aklyuk Committed by GitHub

Update storwize_get_state.py

parent bfa7dedc
......@@ -159,7 +159,7 @@ def send_data_to_zabbix(zabbix_data, storage_name):
f.write("\n".join(zabbix_data))
send_code = subprocess.call([sender_command, "-vv", "-c", config_path, "-s", storage_name, "-T", "-i", temp_file], stdout = subprocess.PIPE, stderr = subprocess.PIPE)
#os.remove(temp_file)
os.remove(temp_file)
return send_code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment