[tor-bugs] #29864 [Internal Services/Tor Sysadmin Team]: consider replacing nagios with prometheus

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 1 21:29:31 UTC 2019


#29864: consider replacing nagios with prometheus
-------------------------------------------------+---------------------
 Reporter:  anarcat                              |          Owner:  tpa
     Type:  project                              |         Status:  new
 Priority:  Low                                  |      Milestone:
Component:  Internal Services/Tor Sysadmin Team  |        Version:
 Severity:  Major                                |     Resolution:
 Keywords:                                       |  Actual Points:
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+---------------------

Comment (by anarcat):

 one thing i couldn't figure out what to do with prometheus so far is the
 "availability report" from nagios, which shows which percentage of time
 hosts are available over a given period. i was able to use:

 {{{
 sum(count(up==1))/sum(count(up)) by (alias)
 }}}

 which shows which percentage '''of hosts''' (not '''of time''') are
 available at each point in time. but it doesn't give me which percentage
 '''of time''' ''each'' host is available '''over the entire period'''.

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


More information about the tor-bugs mailing list