Skip to content

Commit

Permalink
Temporary measure for 3.4 - disabling debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodysu committed Sep 27, 2017
1 parent c0a8c86 commit a40bafe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BSD/scripts/temp-cpu-bsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

trapperStdoutNStr = '\n'.join(trapperStdout)

senderProc = subprocess.Popen([senderPath, isDebug, '-c', agentConf, '-i', '-'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, universal_newlines=True)
senderProc = subprocess.Popen([senderPath, '-c', agentConf, '-i', '-'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, universal_newlines=True)
senderProc.communicate(input=trapperStdoutNStr)

if cpuTempRe:
Expand Down
2 changes: 1 addition & 1 deletion Linux/scripts/zabbix-lmsensors-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

trapperStdoutNStr = '\n'.join(trapperStdout)

senderProc = subprocess.Popen([senderPath, isDebug, '-c', agentConf, '-i', '-'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, universal_newlines=True)
senderProc = subprocess.Popen([senderPath, '-c', agentConf, '-i', '-'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, universal_newlines=True)
senderProc.communicate(input=trapperStdoutNStr)

if cpuTempRe:
Expand Down
2 changes: 1 addition & 1 deletion Win/scripts/zabbix-ohmr-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

trapperStdoutNStr = '\n'.join(trapperStdout) # join all list values into one string separated by newlines

senderProc = subprocess.Popen([senderPath, isDebug, '-c', agentConf, '-i', '-'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, universal_newlines=True) # execute command with data from stdin, dump stdout and provide string instead of bytes
senderProc = subprocess.Popen([senderPath, '-c', agentConf, '-i', '-'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, universal_newlines=True) # execute command with data from stdin, dump stdout and provide string instead of bytes
senderProc.communicate(input=trapperStdoutNStr) # provide stdin and send data from 'trapperStdoutNStr' to zabbix server

if cpuTempRe:
Expand Down

0 comments on commit a40bafe

Please sign in to comment.