Skip to content

Commit

Permalink
count blocked API requests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Feb 12, 2015
1 parent 7c3db82 commit be84804
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions statusmail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ grep -c "Search(ms):xml" $LOG >>$OUT
echo -n "API Searches (JSON): " >>$OUT
grep -c "Search(ms):jso" $LOG >>$OUT

echo -n "Blocked API requests: " >>$OUT
grep -c "Too many requests from" $LOG >>$OUT

echo "" >>$OUT

echo -n "Errors: " >>$OUT
Expand Down

0 comments on commit be84804

Please sign in to comment.