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

dump1090 rrd/collectd python collection #3

Open
coolacid opened this issue May 18, 2018 · 4 comments
Open

dump1090 rrd/collectd python collection #3

coolacid opened this issue May 18, 2018 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@coolacid
Copy link
Owner

Tracking rrd/collectd issues here

@coolacid
Copy link
Owner Author

Problem 1. The tools to collect data from dump1090 is python bindings in collectd - this is broken

@coolacid
Copy link
Owner Author

I don't remember the details on what is broken, but I went down this rabbit hole once. It would probably be better, or easier to write a pure C version of the collector directly for collectd - also removing the requirements of python bloat.

@coolacid coolacid added enhancement New feature or request help wanted Extra attention is needed labels May 18, 2018
@coolacid coolacid changed the title rrd/collectd dump1090 rrd/collectd python collection May 19, 2018
@coolacid
Copy link
Owner Author

collectd has the ability to get and parse JSON data from websites. This is exactly what the python module does as well. Well, not totally, there are SOME bits that are processed. This does however mean we might be able to mimic most of the existing data without too much hassle.

Expect a new module soon-ish that will dep on dump1090 and nginx starting to make some graphs.

Help will be required to flesh out the final details, but a start is a start.

@coolacid
Copy link
Owner Author

Ones I still need to figure out how to mimic:

Some limited math, which should be able to be done in aggs/chains?:
https://github.com/jprochazka/adsb-receiver/blob/6479a6c06af23edc25f9df7e780accd7f2c0012c/build/portal/graphs/dump1090.py#L110-L150

Some actual math which would need an external "function" of some sort to pull off:
https://github.com/jprochazka/adsb-receiver/blob/6479a6c06af23edc25f9df7e780accd7f2c0012c/build/portal/graphs/dump1090.py#L193-L232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant