Skip to content

deprecate monitor.sh #42

@bennlich

Description

@bennlich

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions