Opened 12 months ago

Closed 2 months ago

#28271 closed task (invalid)

Check OnionPerf instances from Nagios

Reported by: irl Owned by: irl
Priority: Medium Milestone:
Component: Archived/Onionperf Version:
Severity: Normal Keywords:
Cc: metrics-team, hiro Actual Points:
Parent ID: #28322 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
#29366closedmetrics-teamPersistent Onion service addressArchived/Onionperf

Attachments (2)

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

Download all attachments as: .zip

Change History (7)

Changed 12 months ago by irl

Attachment: tor-check-onionperf added

Changed 12 months ago by irl

comment:1 Changed 12 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 12 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.

comment:3 Changed 5 months ago by irl

#29366 is now implemented, so it is now possible to complete these checks.

Created https://github.com/irl/bushel/issues/31 to add the OnionPerf index check to tor-metrics-nagios-plugins.

comment:4 Changed 5 months ago by irl

Parent ID: #28322

comment:5 Changed 2 months ago by irl

Resolution: invalid
Status: acceptedclosed
Note: See TracTickets for help on using tickets.