-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
good first issueGood for newcomersGood for newcomerstechnical debtThe sooner we fix this the betterThe sooner we fix this the better
Description
monitor.sh
is a simple and lovely script that reduces the output of ip route
into two numbers: a count of unique routes and a count of unique gateways, and POSTs this info to the monitor server. Exitnodes run this script periodically in a cron job.
Ever since we started publishing entire routing tables with the post-routing-table.sh
script, monitor.sh
became redundant. With access to the entire list of routes, the server can calculate the two counts on its own.
This work overlaps #41 a bit--getMonitorUpdates() can be modified to fetch the most recent logs from mongo (instead of fetching the memcache key).
cc @thedig -- might be a good issue for you if you're interested cause it touches the exitnode repo too.
eenblam
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerstechnical debtThe sooner we fix this the betterThe sooner we fix this the better