Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 (Canon) 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
[Eily]: that's one long sheband

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2018-05-25 08:14 GMT
Find Nodes?
    Voting Booth?