Opened 5 months ago

Last modified 5 months ago

#28271 accepted task

Check OnionPerf instances from Nagios

Reported by: irl Owned by: irl
Priority: Medium Milestone:
Component: Metrics/Onionperf Version:
Severity: Normal Keywords:
Cc: metrics-team, hiro Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

There are a few things that we can check, some are easier than others.

  • Is the host up and the webserver running? (this is easy with built-in checks)
  • Is the tgen server running on the Internet? (this is easy with built-in checks)
  • Is the analyze task running? (needs a plugin)
  • Is the tgen server running on an Onion service? (needs a plugin)

For monitoring the Onion service, I'm looking at reusable plugins, so there are two tests. One checks to see how old the descriptor is and a second test actually tries connecting to the service. The first of these tests is affected by #28269 (but not blocked) and both are blocked by onionperf#42.

As a workaround for monitoring the Onion service, which really is the bit that is breaking, we can instead monitor the analysis of timeouts from Tor Metrics' CSV files.

Child Tickets

TicketStatusOwnerSummaryComponent
#29366assignedmetrics-teamPersistent Onion service addressMetrics/Onionperf

Attachments (2)

tor-check-onionperf (4.2 KB) - added by irl 5 months ago.
tor-check-onion-service-descriptor (3.7 KB) - added by irl 5 months ago.

Download all attachments as: .zip

Change History (4)

Changed 5 months ago by irl

Attachment: tor-check-onionperf added

Changed 5 months ago by irl

comment:1 Changed 5 months ago by irl

Cc: metrics-team hiro added; karsten removed
Owner: changed from hiro to irl
Status: newaccepted

My latest versions of two of the checks are attached above. The first, tor-check-onionperf, connects to the OnionPerf's web server to ensure that an analysis file was created at the expected time. The second check uses stem to test for the age of an Onion service descriptor, although we can't really use this yet because OnionPerf is changing the address every time it is restarted.

comment:2 Changed 5 months ago by karsten

Please let me know when you need a review and whether I should be doing that review or rather somebody else.

Note: See TracTickets for help on using tickets.