Skip to content

add blacklist functionality#9

Open
t-8ch wants to merge 2 commits intoffnord:masterfrom
t-8ch:blacklist
Open

add blacklist functionality#9
t-8ch wants to merge 2 commits intoffnord:masterfrom
t-8ch:blacklist

Conversation

@t-8ch
Copy link

@t-8ch t-8ch commented Apr 20, 2016

We see certain hosts submitting invalid data into alfred.
This data makes alfred-json emit a warning twhich in turn triggers cron emails.
The PR adds a simple blacklist functionality to ignore those hosts. This way do not have to suppress all all output from cron json and therefore still receive notifications about other problems.

The patch could use some cleanup which I will perform if I get a general positive feedback.

cc: @christf @oszilloskop @MyIgel

@lost-tty
Copy link

I wonder if a simple flag to suppress these messages could be a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants