Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 9349198: Properly return WARNING and CRITICAL in check_bandwidth (Closed)

Created:
Feb. 19, 2013, 2:08 p.m. by Felix Dahlke
Modified:
Nov. 8, 2013, 8:06 a.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

This is why we're not receiving notifications about warning/critical bandwidth levels. I fixed various issues here: - Convert warn/crit to int - Don't show WARNING when it's CRITICAL I'm also now checking for rx >= warn, not the weird warn <= rx I inherited from the bash script I was basing this on.

Patch Set 1 #

Patch Set 2 : Fixed usage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M modules/nagios/files/check_bandwidth View 1 3 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 3
Felix Dahlke
Feb. 19, 2013, 2:10 p.m. (2013-02-19 14:10:59 UTC) #1
Felix Dahlke
Now I've also fixed the usage. Not great to stuff it all into one issue, ...
Feb. 19, 2013, 2:15 p.m. (2013-02-19 14:15:47 UTC) #2
Wladimir Palant
Feb. 19, 2013, 2:25 p.m. (2013-02-19 14:25:32 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld