Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Smith committed Jan 3, 2012
1 parent acb768d commit e688c0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions check_graphite.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def generate_output(self, datapoints, *args, **kwargs):
warning (float): The check's warning threshold
critical (float): The check's critical threshold
target (str): The target for `datapoints`
Returns:
A dictionary of datapoints grouped by their status ('CRITICAL', 'WARNING', 'OK')
"""
check_output = dict(OK=[], WARNING=[], CRITICAL=[])
warning = kwargs.get('warning', 0)
Expand Down

0 comments on commit e688c0c

Please sign in to comment.