Changes between Version 43 and Version 44 of Czartool
- Timestamp:
- Nov 26, 2010, 12:36:13 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Czartool
v43 v44 80 80 There is a script called {{{czarmetrics}}} that can create HTML pages for one day, a range of days, or cumulatively for a range of dates (eg a lunation). 81 81 82 == roboczar == 83 84 {{{roboczar}}} is a process that runs in the background monitoring the czartool database. If it notices that a certain stage of processing has stuck, or that an important {{{pantasks_server}}} has stopped or crashed, it sends a warning email to the {{{ps-ipp-ops}}} mailing list. 85 82 86 = Developer Notes = 83 87 84 88 Czartool is written in Object Perl using a MySQL database. The code currently lives in {{{trunk/tools}}}. Classes are in {{{czartool}}} folder, and scripts (like {{{czarplot}}}). 85 89 86 === Database maintenance === 90 == czarpoll == 91 92 == roboczar == 93 94 == Database maintenance == 87 95 88 96 To curb the growth of the database, each night at midnight, {{{czarpoll}}} goes back to the previous day and trims the contents of all tables. For the current day, 'readings' are taken by {{{czarpoll}}} every few minutes. After trimming, there exists one reading per 30 minutes in all tables (this is configurable, and may need to be reduced to hourly at some point).
