-
Notifications
You must be signed in to change notification settings - Fork 309
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
IGate Stats to Telemetry Data #1
Comments
What would you like to see? From: kernworks [mailto:notifications@github.com] Hello. First off, great application! I am using it as a RX IGate on a Raspberry Pi. My question, I see that the IGate module has stat counters (line 282 to 315 in igate.c). Is there a way to send those stats along with the PBEACON of the IGate? I see the TODO on line 284 already so I am guessing this is more of a feature request. Thank You. — |
I'd love to see similar telemetry options to aprx. http://ham.zmailer.org/oh2mqk/aprx/aprx-manual.pdf Per-radio-interface statistics that can be sent on the selected interface/to APRS-IS. +1 on this feature request. |
+1 |
I have been playing with this idea. I coded an SBEACON option in the direwolf.conf which outputs packet stats to the internet. This way, the stats can be beaconed at its own interval.. An example beacon looks like:
This indicates N0ABC-1 heard 12345 packets on it's radio and after de-duplicaiton forwarded 12123 packets to the internet. Since this is an RX only iGate, 0 packets were transmitted and 0 packets were received from the internet. Since it is its own beacon type, it can be set to its own interval such an hourly. Is this along the lines of what people want? Currently it is cumulative 'since last-start' of direwolf. An alternative is for the counters to be 'since last beaconing'. I can make a PR for the changes if requested. |
That is basically what I was looking for. Awesome to see it happen. My use for this is basically a packets per hour (or some set time period) set of counters that can be reported. Personally, I would like counters to be set for "since last beaconing" but I could see how others may want since last start. If you have some code to test, I'd be happy to do so. I'm running RX only as well (Raspberry Pi + SDR + Direwolf). |
Having run this code for a week and analyzing the usefulness of the four metrics, I've concluded a few things:
I'll switch to "since last beacon", remove the datetime tracking and reset code. My current work is on the DEV branch. I'm loath to fork the entire project for these small improvements but unless I can work with @wb2osz to get contributor status, I may not have a choice. If I do fork, I'll make it private so it doesn't wrench the Internet with people pulling from tangent repositories. I'll also delete the fork as soon as the pull-request is accepted. |
The popular UIView32 APRS program has a module that beacons the # of --David On 06/27/2016 02:30 PM, bradanlane wrote:
|
In direwolf, the beacon interval is user configurable. There are currently five different beacon-types and each may be configured with its own interval. My code adds a new beacon-type ( SBEACON ) so it can be on whatever interval the operator wishes. |
The simplified code is running on my iGate now. The statistics are sent as a beacon. The statistics counters reset after each time their data is sent as a beacon. The beacon is configured with the new beacon-type SBEACON. I have mine set to beacon every hour. This is configurable in direwolf.conf using the same syntax as the other beacon-types. It turns out there is no way to create a private fork of a public repository. Apologies to those who would like access to the SBEACON feature. I defer to @wb2osz on how this code can be integrated into direwolf. |
The latest version on the "dev" branch has a new IBEACON beacon type for sending IGate statistics. |
Thanks. I pull the latest and replace my implementation. |
Hello.
First off, great application! I am using it as a RX IGate on a Raspberry Pi.
My question, I see that the IGate module has stat counters (line 282 to 315 in igate.c). Is there a way to send those stats along with the PBEACON of the IGate?
I see the TODO on line 284 already so I am guessing this is more of a feature request.
Thank You.
The text was updated successfully, but these errors were encountered: