-
Notifications
You must be signed in to change notification settings - Fork 313
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
Feature Request: Stats File #164
Comments
Sound very interesting. I love to give out stats on my own website too. |
I wonder if this feature might be accepted by leveraging the IBEACON, but using a file path in the VIA field to cause it to write to a file similarly to how NOGATE will cause it to only write to the usual log file. Using VIA with a file path value could allow the beacon stats to be written to a specific file. @wb2osz would you take such a patch? |
There are a few outstanding requests for something external to change direwolf parameters on the fly or to query the internal state, e,g, statistics, recently heard stations, and so on. |
That's sounds great. I was just thinking last night that I wish I could reload the config with restarting. SIGHUP support would be a welcome change, too |
Story: As an operator I'd like an easy way to scrape internal stats for use with external graphing (MRTG)
Proposal: I've implemented a new beacon type called SBEACON that replicates the functionality of IBEACON but only writes to /tmp/dw-stats.txt
I set this to beacon every 5mins and then I whipped up a few simple bash scripts to feed MRTG
and
You can see them in action at http://igate.nayr.net
I'd offer a merge request, but my solution is not windows compatible (hardcoded filename) and kinda stomps on the toes of beacons with this pseduo beacon, and feels hacky because well it is.. so I dont think you'll take it.. But I would like to discuss such functionality.. I noticed your collecting other stats but had a TODO on using em, perhaps a json/xml/csv file that contains all this info and is updated at a configured interval.. or some sort of external API to retrieve this at our own rates.
The text was updated successfully, but these errors were encountered: