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

Comment on Checking mainboard
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-11-29 01:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls