[dnsdist] Dnsdist QPS trigger
Alejandro Adroher Mellado
alejandro.adroher at omniaccess.com
Fri Aug 26 13:06:50 UTC 2016
Thanks a lot Bert for your reply.
I got the JSON output like a charm and as you say I can get the query counter, but the number I'm looking for, is the current QPS ... as I can see on the dnsdist web page.
Thanks again!
Alejandro.
-----Original Message-----
From: bert hubert [mailto:bert.hubert at powerdns.com]
Sent: viernes, 26 de agosto de 2016 12:14
To: Alejandro Adroher Mellado <alejandro.adroher at omniaccess.com>
Cc: dnsdist at mailman.powerdns.com
Subject: Re: [dnsdist] Dnsdist QPS trigger
On Fri, Aug 26, 2016 at 09:28:00AM +0000, Alejandro Adroher Mellado wrote:
> Can be possible to have (I don’t know if on function maintenance) a trigger which can send me an email when the QPS exceed X number?
Alejandro,
Use some kind of monitoring solution to do this. Icinga, Nagios, that kind of stuff.
You can retrieve the queries counter from the API.
http://[server]/api/v1/servers/localhost/statistics
Good luck!
Bert
More information about the dnsdist
mailing list