Skip to content

Commit

Permalink
Merge pull request #35 from nobodysu/sender_data
Browse files Browse the repository at this point in the history
SenderData item passing
  • Loading branch information
nobodysu authored Mar 24, 2019
2 parents 0546379 + ea7882f commit f09de08
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mini_ipmi_smartctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@


## Advanced configuration ##
isCheckNVMe = True # Additional overhead. Should be disabled if smartmontools is >= 7 or no NVMe is present.
# 'True' or 'False'
isCheckNVMe = False # Additional overhead. Should be disabled if smartmontools is >= 7 or NVMe is absent.

isSkipDuplicates = True

Expand Down Expand Up @@ -386,5 +387,6 @@ def moveCsmiToBegining(disks):
senderData.append('"%s" mini.disk.temp[MAX] "%s"' % (host, str(max(allTemps))))

link = r'https://github.com/nobodysu/zabbix-mini-IPMI/issues'
processData(senderData, jsonData, agentConf, senderPyPath, senderPath, timeout, host, link)
sendStatusKey = 'mini.disk.info[SendStatus]'
processData(senderData, jsonData, agentConf, senderPyPath, senderPath, timeout, host, link, sendStatusKey)

0 comments on commit f09de08

Please sign in to comment.