Re: [Pool] Score monitoring with Nagios

2013-02-04 Thread Fabian Wenk
Hello Martin On 02.02.2013 23:07, Martin Jansen wrote: I've cooked up a little Nagios check script that polls Ask's JSON API to figure out if a time server has dropped below the score threshold that keeps it in the pool: Thank you. I have just implemented this in my Nagios installation. It

Re: [Pool] Score monitoring with Nagios

2013-02-04 Thread Ask Bjørn Hansen
On Feb 4, 2013, at 6:29, Fabian Wenk fab...@wenks.ch wrote: I have set the normal_check_interval to 60, so that it does only check once every hour. I hope this is fine for the Pool web server. More often is fine, too. Those requests are actually cached for 10 or 20 minutes, so I'd suggest

Re: [Pool] Score monitoring with Nagios

2013-02-04 Thread Martin Jansen
On 04.02.13 17:24, Ask Bjørn Hansen wrote: I'd recommend removing the monitor=* parameter. If you omit it, you will only get aggregate scores (monitor:null) instead of also for particular monitors. Thanks for the feedback! I've changed the code accordingly. - Martin

Re: [Pool] Score monitoring with Nagios

2013-02-04 Thread Fabian Wenk
Hello Ask On 04.02.2013 17:24, Ask Bjørn Hansen wrote: On Feb 4, 2013, at 6:29, Fabian Wenk fab...@wenks.ch wrote: I have set the normal_check_interval to 60, so that it does only check once every hour. I hope this is fine for the Pool web server. More often is fine, too. Those requests are