Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Checking mainboard

by PhillipHuang (Sexton)
on Sep 14, 2012 at 01:53 UTC ( #993618=perlquestion: print w/replies, xml ) Need Help??
PhillipHuang has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, There're about more than 200 pcs mainboards needed to check the hardware infomation(bios version, manufacturer name, chipset info, controller info, etc).Is there any powerful perl module to do this job? I have tried Rex::Hardware, while it shows more info about software system. thanks, PH

Replies are listed 'Best First'.
Re: Checking mainboard
by NetWallah (Abbot) on Sep 14, 2012 at 03:52 UTC
    This is probably much more than you need, but the combinamtion of GLPI and OCS Inventory NG (Latter is more relevant to your requirements) will probably do the job, and then some. Both are free. Don't be put-off by the initial French - both sites have little flag icons that shows them in English.

    For your purposes, you could probably get by with just OCS, and if the standard plug-in does not provide enough information, you can easily add your own (perl) code.

                 I hope life isn't a big joke, because I don't get it.

Re: Checking mainboard
by Khen1950fx (Canon) on Sep 14, 2012 at 05:47 UTC
    #!/usr/local/bin/perl use strict; use warnings; use Parse::DMIDecode; my $decoder = Parse::DMIDecode->new( dmidecode => "/usr/sbin/dmidecode", nowarnings => 1, ); $decoder->probe; my @keywords = $decoder->keywords; foreach my $keyword (@keywords) { printf("%s => %s\n", $keyword, $decoder->keyword($keyword) ); }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://993618]
Approved by ww
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-09-24 10:37 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (274 votes). Check out past polls.