1. 22 Feb, 2005 6 commits
    • Timothy Stack's avatar
      · 48d5c24a
      Timothy Stack authored
      Report battery stats using the watchdog:
      
      	* robots/emc/emcd.c: Don't send events with battery levels
      	anymore.
      
      	* tmcd/tmcd.c: Add 'battery' command that updates the
      	battery_percentage, battery_voltage, and battery_timestamp values
      	in the nodes table.  It's currently only called by the watchdog
      	running on the garcias.
      
      	* tmcd/common/libtmcc.pm: Add TMCCCMD_BATTERY function.
      
      	* tmcd/common/watchdog: Updated to send back battery information
      	obtained from garcia-pilot.
      48d5c24a
    • Russ Fish's avatar
      c50d7243
    • Leigh B. Stoller's avatar
      Okay, first attempt to deal with os_setup waittimes on a per node_type · facc7acd
      Leigh B. Stoller authored
      and per OSID basis.
      
      * Added bios_waittime to node_types table and reboot_waittime to
        os_info table. Initialized them as follows:
      
              update node_types set bios_waittime=60 where class='pc';
              update os_info set reboot_waittime=150 where OS='Linux' or
      	  OS='FreeBSD' or OS='NetBSD';
              update os_info set reboot_waittime=180 where OS=Windows';
      
      * The bios waittime can be edited via the web interface.
      
      * The reboot waittime can be set only by admin people right now; this
        is another case of something that maybe the user should not see
        cause its too much stuff? Instead, default values are established in
        www/osiddefs.php3.
      
      * os_setup computes its per-node waitime as:
      
      	(bios_waittime + reboot_waittime) * 2
      
        as per Mike's suggestion. If either value is not defined in the DB,
        it defaults the original 7 minute value.
      facc7acd
    • Russ Fish's avatar
    • Russ Fish's avatar
      da93b44a
    • Leigh B. Stoller's avatar
      Minor bug fix; make sure that swapuid and swaptime are updated. I · ec63ab8f
      Leigh B. Stoller authored
      must have pruned this out by accident when cleaning up batchexp
      a while back (combined it with startexp).
      ec63ab8f
  2. 20 Feb, 2005 1 commit
  3. 18 Feb, 2005 27 commits
  4. 17 Feb, 2005 6 commits