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

Comments

Projects
None yet
2 participants
@paddg
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.

@rgacogne rgacogne added this to the dnsdist-1.2.0 milestone Aug 1, 2017

@rgacogne rgacogne referenced this issue Aug 4, 2017

Merged

dnsdist: Add setConsoleConnectionsLogging() #5581

3 of 6 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment