[tor-bugs] #34029 [Metrics/CollecTor]: Add more command-line arguments to the Nagios CollecTor check script

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 27 19:29:03 UTC 2020


#34029: Add more command-line arguments to the Nagios CollecTor check script
-----------------------------------+--------------------------
     Reporter:  karsten            |      Owner:  metrics-team
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------------
 Moved here from #33972:

 ''I'll also look into the parameters and using argparse next week.
 Unfortunately, the check wouldn't work for corsicum right now anyway,
 because that CollecTor instance does not archive all descriptor types. It
 would just keep shouting about timestamps being missing. Maybe we'll need
 to add another option to only complain about outdated timestamp, not about
 missing timestamps. Added to my list.''

 These are two changes:
  - add two separate host and IP parameters as suggested on the other
 ticket and
  - add another parameter for ignoring missing timestamps.

 None of these changes are critical, but making them sooner rather than
 later reduces the overhead for context switching.

 The check script is [https://gitweb.torproject.org/admin/tor-
 nagios.git/tree/tor-nagios-checks/checks/tor-check-collector here].

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34029>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list