Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsdist: switch to mute "...control connection from..." messages #5565

Closed
paddg opened this issue Aug 1, 2017 · 0 comments · Fixed by #5581
Closed

dnsdist: switch to mute "...control connection from..." messages #5565

paddg opened this issue Aug 1, 2017 · 0 comments · Fixed by #5581

Comments

@paddg
Copy link
Contributor

paddg commented Aug 1, 2017

  • Program: dnsdist
  • Issue type: Feature request

Usecase

We are using a Nagios plugin to determine if backend servers are marked as down

#!/usr/bin/env bash
...
SHOWSERVERS=$(dnsdist --client --execute "showServers()" 2>/dev/null)
...
DOWN=$(echo "$SHOWSERVERS" | grep -i down | wc -l)
...

This leads to many journal entries each 3 minutes in our case:

Aug 01 06:26:20 node04 dnsdist[22101]: Got control connection from ...
Aug 01 06:26:20 node04 dnsdist[22101]: Closed control connection from ...
Aug 01 06:29:20 node04 dnsdist[22101]: Got control connection from ...
Aug 01 06:29:20 node04 dnsdist[22101]: Closed control connection from ...
...

Description

Would be fine if dnsdist had a switch to mute this messages.

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

Successfully merging a pull request may close this issue.

2 participants