1. 01 Jun, 2016 1 commit
  2. 31 May, 2016 4 commits
    • Mike Hibler's avatar
      Handle the identification of enet interfaces in a less ad-hoc manner. · 05abd217
      Mike Hibler authored
      Things were simple back when all Linux called them "ethN" and there were
      very few pseudo-devices to worry about...
      
      Now we find the "active" experimental interfaces from the Emulab-provided
      /var/emulab/boot/tmcc/ifconfig info. We use the MACs there along with "findif"
      to identify interfaces of interest. N.B.: as it stands, this version of
      slothd requires the most recent change to "findif" to accept command line
      MAC addresses with ':'s.
      
      Also fixed a couple of bugs while in here. The "netstat" command output
      (used to obtain packet counts on both Linux and FreeBSD) has also changed
      over the years. At some point, the Linux version (at least on CentOS) removed
      the "Met" (metric) column from the output, throwing off the parsing of input
      and output packet counts. For FreeBSD, an "Idrops" column was added which
      throws off the output packet count. Both are now handled by noting whether
      the columns exist when first seeing the header, and adjusting the sscanf
      format accordingly. On the Linux side I have only seen this affect CentOS 7.
      For FreeBSD, it affects all versions back to at least FreeBSD 8!
      05abd217
    • Mike Hibler's avatar
      Expose -C option of portstats. · d00d0798
      Mike Hibler authored
      PF WARNING: several "pass" statements were used in the making of
      this commit.
      d00d0798
    • Mike Hibler's avatar
    • Leigh B Stoller's avatar
      Add RRD data collection defs. · 36576e99
      Leigh B Stoller authored
      36576e99
  3. 27 May, 2016 2 commits
  4. 26 May, 2016 3 commits
  5. 25 May, 2016 23 commits
  6. 24 May, 2016 2 commits
    • Mike Hibler's avatar
      Modify to include two additional user-related fields. · 5e6a83bd
      Mike Hibler authored
      Add a "last activity" timestamp indicating the last time the user was
      known to interact with Emulab by logging into the portal, logging into
      a node or performing some other activity that resulted in their home
      directory being exported (this latter may be dumb, not sure yet).
      This should provide additional information about whether a user is really
      using Emulab or is just someone who was in a project once and maybe
      graduated and moved on.
      
      Added a canonical "location" string to identify the user's home city.
      This is the "formatted name" returned by the Google Maps API call
      (with commas replaced by semicolons to prevent issues with CSV export
      of the data). This field is intended to be a canonical rendition of the
      city/state/country info the user enters.
      
      That script was also modified to include users that are "frozen" or
      "archived" by default. Unfortunately, just because they are in those
      states now, does not mean they were during the desired time range.
      Emulab keeps no indication of when they might have changed state.
      
      The new -U option can be used to elide records for users that we have
      determined were not active during the time range (i.e., their "last
      activity" timestamp above is before the indicated start time.
      5e6a83bd
    • Jonathon Duerig's avatar
  7. 23 May, 2016 5 commits