Comments (11)
What would you like to see?
From: kernworks [mailto:[email protected]]
Sent: Tuesday, August 11, 2015 12:46 PM
To: wb2osz/direwolf
Subject: [direwolf] IGate Stats to Telemetry Data (#1)
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.
—
Reply to this email directly or view it on GitHub #1 . https://github.com/notifications/beacon/AGMul8n1sPSHAKuH9wSJkr5HmGF39LZ9ks5omh5fgaJpZM4FpnCo.gif
from direwolf.
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.
from direwolf.
+1
from direwolf.
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:
2016-06-21 13:32:39 EDT: N0ABC-1>APDW13,TCPIP*,qAC,THIRD:!3850.29ND07703.33W&Statistics: RX=12345 TX=0 UP=12123 DN=0
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.
from direwolf.
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).
from direwolf.
Having run this code for a week and analyzing the usefulness of the four metrics, I've concluded a few things:
- having the values be "since last beacon" is both more useful and significantly easier to maintain.
- with "since last start", there must is extra code to track the datetime in order to reset at the start of the new month (to avoid eventual overflow)
- the graphs I've found most useful depict the hourly traffic (I having the SBEACON set to hourly) so currently the spreadsheet is post processing the metrics to get "deltas".
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.
from direwolf.
The popular UIView32 APRS program has a module that beacons the # of
packets in the "last 10 minutes". Now, I suppose you can tune the
beacon interval to be every 10 minutes but some thought should go into
this interval and how it's configured. On classic KB2KB packet
networks, beacons running every 10 minutes creates a lot of unnecessary
traffic but being able to send out stats data like this would be cool if
done properly.
--David
On 06/27/2016 02:30 PM, bradanlane wrote:
Having run this code for a week and analyzing the usefulness of the
four metrics, I've concluded a few things:
- having the values be "since last beacon" is both more useful and
significantly easier to maintain.- with "since last start", there must is extra code to track the
datetime in order to reset at the start of the new month (to avoid
eventual overflow)- the graphs I've found most useful depict the hourly traffic (I
having the SBEACON set to hourly) so currently the spreadsheet is
post processing the metrics to get "deltas".I'll switch to "since last beacon", remote 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.
from direwolf.
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.
from direwolf.
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.
from direwolf.
The latest version on the "dev" branch has a new IBEACON beacon type for sending IGate statistics.
The format is based on existing standards and previous precedent with a couple extra values added. Details in the User Guide.
from direwolf.
Thanks. I pull the latest and replace my implementation.
from direwolf.
Related Issues (20)
- Document missing requirement for CM108 on Linux
- Incorrect files inside of version 1.7 October 2023 Windows Zip file HOT 1
- Record and report the heard station level above the noise floor
- Is the 9600bps walkabout9600b.wav recording available anywhere? HOT 1
- Error writing to /sys/class/gpio/export, GPIO failure HOT 17
- Successful-APRS-IGate-Operation.pdf not available HOT 3
- AX.25/IL2P Switch HOT 5
- [Enhancement] IL2P CRC Extension.
- [Enhancement] Raw HDLC stream driver HOT 1
- INVALID CHANNEL is cryptic HOT 2
- ACHANNELS 1 hides a channel of the next device HOT 3
- Enhancement: Don't complain about background noise HOT 1
- RFE: Look for `direwolf.conf` in `XDG_CONFIG_HOME/direwolf`
- BLE KISS Support HOT 2
- direwolf program cannot be opened HOT 1
- ACHANNELS 1 hides a channel of the next device (still)
- Check for any issues with 64 bit time_t on 32 bit platforms.
- Enable VFO definition for PTT via hamlib/rigctrld per channel
- Windows installation instructions in README need minor correction
- TBEACON gone wild
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from direwolf.