Changes between Version 46 and Version 47 of Internal/InventoryV3


Ignore:
Timestamp:
Jul 9, 2014, 7:49:31 PM (6 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v46 v47  
    55Versions:
    66
    7  * gather.rb:3.5
     7 * gather.rb:3.9
    88 * rest_db.rb:1.3
    99 * log_wrap.rb:0.1
     
    4949 1. librestclient-ruby
    5050 1. sysbench
     51 1. smartmontools
     52
    5153
    5254=== ruby standard ===
    5355 1. logger
    5456 1. ftools (ruby standard)
     57
     58=== Other Packages ===
     59 1. UHD
     60 1. Netfpga
     61
    5562
    5663----
     
    499506
    500507Note: For full enumeration of all devices on a baseline image, make sure you remove the modprobe blacklists. If you don't the wifi modules won't get enumerated and the gathering won't find them.
     508
     509=== 7/9/2014 ===
     510Seems I missed a few details in the last round of revisions:
     511
     512Current modifications include:
     513 * detection of UHD
     514  * Done by scraping the output of uhd_usrp_probe
     515 * detection of NETFPGA
     516  * Tries to load the netfpaga module and enumerate the interfaces
     517 * reporting of Hard drive smart information
     518  * scrapes smartctl -a
     519
     520Additional support was proposed for setting the system clock via NTP but that was relgated to an OS startup script (we want to do it every time the node boots).
     521
     522Had to make some modification for to play nice with ruby 1.9.2+, specfically:
     523{{{
     524#!/usr/bin/ruby -w
     525# gatherer.rb version 3.9 - Gathers information about varius system data, and updates the web based inventory via a Rest wrapper.
     526#
     527#Smart support, upadted restdb interface with time out support
     528
     529require 'optparse'
     530require 'open3'
     531require 'find'
     532require 'singleton'
     533require 'net/smtp'
     534
     535require_relative('./rest_db')
     536require_relative('./log_wrap')
     537}}}
     538
     539the #! directive had to change and the local libraries need to be included with require_relative. This was done in gather and rest_db.