jskarpe/ruby-pdns

Handle external data

GoogleCodeExporter opened this issue · 7 comments

Feature Overview:
Some kind of handling of external data like monitoring data that can then
be used in record logic.

Monitoring systems etc should be able to submit data to the server and
records should have a very simple method of accessing this data

Sample use might be:
if exdata("servera_loadavg") > 2
    answer.content "1.2.3.4"
else
    answer.content "2.3.4.5"
end

Original issue reported on code.google.com by r...@devco.net on 9 Aug 2009 at 9:53

Investigate using http://www.sinatrarb.com/ to write a small webservice to 
receive data

Original comment by r...@devco.net on 4 Sep 2009 at 7:36

This issue was updated by revision r340.

First class that loads some YAML files and expose their data
as well as config params and tests

Original comment by r...@devco.net on 6 Oct 2009 at 6:11

This issue was updated by revision r341.

Test new config parameter and default

Original comment by r...@devco.net on 6 Oct 2009 at 6:12

This issue was updated by revision r342.

Records can now query the external data

Original comment by r...@devco.net on 6 Oct 2009 at 8:43

This issue was updated by revision r343.

Load data from disk during the normal maintenance process

Original comment by r...@devco.net on 6 Oct 2009 at 8:49

This issue was updated by revision r344.

Full working version with CLI script to update data

Original comment by r...@devco.net on 6 Oct 2009 at 10:33

Possibly use this to build the web api thingy

http://github.com/mwmitchell/snap

Original comment by r...@devco.net on 11 Oct 2009 at 10:07