Skip to content

Commit

Permalink
Added -NoLog parameter for megacli calls (netdata#4242)
Browse files Browse the repository at this point in the history
  • Loading branch information
vobruba-martin authored and ktsaou committed Sep 21, 2018
1 parent 28c86af commit 381c217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python.d/megacli.chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def __init__(self):
self.s = find_binary('sudo')
self.m = find_binary('megacli')
self.sudo_check = [self.s, '-n', '-v']
self.disk_info = [self.s, '-n', self.m, '-LDPDInfo', '-aAll']
self.battery_info = [self.s, '-n', self.m, '-AdpBbuCmd', '-a0']
self.disk_info = [self.s, '-n', self.m, '-LDPDInfo', '-aAll', '-NoLog']
self.battery_info = [self.s, '-n', self.m, '-AdpBbuCmd', '-a0', '-NoLog']

def __bool__(self):
return bool(self.s and self.m)
Expand Down

0 comments on commit 381c217

Please sign in to comment.