Skip to content
Snippets Groups Projects
  1. Oct 30, 2015
  2. Sep 21, 2015
  3. Aug 22, 2015
  4. Aug 17, 2015
  5. Aug 16, 2015
  6. Aug 15, 2015
    • Eike's avatar
      1840d036
    • Eike's avatar
      completely rewrite of nodewatcher2 due to the unbearable an unmaintainable... · b7fa894b
      Eike authored
      completely rewrite of nodewatcher2 due to the unbearable an unmaintainable pseudo-array code for emulating bash-arrays.
      
      nodewatcher2 is now written in lua and can be configured by uci. It outputs json- and xml-files containing the nodedata. Optionally those files can
      additionally be gzipped to save some traffic. Test showed gzipping costs nearly no time and reduces the size of the json- and xml-files by about 60%)
      
      The nodewatcher2 divides its operation into two parts:
      
      1) At first the lua-script collects all data it needs from the the system and puts it in a lua-table
      2) The script now uses this lua-table to generate a abitrary set of output files by using it's defined and enabled output generators (xml, json,...)
      
      The generated files then are put in /tmp/nodedata, which is symlinked into the /nodedata-url of the http-server of the gluon status-page
      
      TODO:
      - make nodewatcher-compat generator
      - remove files whose generator was disabled via uci in the mean time
      b7fa894b
  7. Jul 31, 2015
  8. Jul 22, 2015
  9. Jul 21, 2015
Loading