Skip to content
Snippets Groups Projects
  1. Aug 15, 2015
    • 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
  2. Aug 11, 2015
  3. Aug 09, 2015
  4. Aug 08, 2015
  5. Jul 31, 2015
  6. Jul 22, 2015
  7. Jul 21, 2015
  8. Jul 18, 2015
  9. Jul 13, 2015
  10. Jul 12, 2015
  11. Jul 10, 2015
Loading