Slashdot Mirror


Ways to Inventory a Network of Linux Machines?

Milo_Mindbender asks: "Our lab has a few dozen Linux machines with varying configurations of hardware and software. We're trying to keep track of all the configs so we can get the machines upgraded when we have parts/time/money to do so. Right now, I have a little shell file that I have everyone run which copies the output of a bunch of commands and /proc files from each machine to a central server. The problem with this is that you get a lot of info you don't need, and it's in a format that's hard to read or put in a spreadsheet. Does anyone know of a reasonablly good, free system for taking a hardware inventory of a bunch of networked systems? It's important that it be easy to install on the client machine and not have a huge number of dependancies. It would be particularly useful if it automatically decended through the various /proc trees and returned as much info as possible for disks, USB, graphics cards...etc." Inventory control is a big thing in corporations these days. A simple program that's able to collect hardware information from the Linux boxes on the network would be yet another feather in Linux's cap.

12 comments

  1. Your doing ok. by duffbeer703 · · Score: 2

    Just tweak your current system a bit, get the info into some sort of database and pull reports using Crystal Reports or something similar.

    If you feel like spending alot of money, buy Tivoli Enterprise, CA Unicenter or HP Openview.

    Inventory tools are a pain in the ass to design and test. Why would anyone give one away??

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
    1. Re:Your doing ok. by OiBoy · · Score: 3, Funny

      Operating systems are a pain in the ass to design and test. Why would anyone give one away??

      Ummm, wait. Nevermind.

      --
      `fortune -o`
  2. big brother by Zurk · · Score: 3, Interesting

    its deisnged for monitoring the status of machine disk/cpu/network connectivity but could be adapted for regular reporting of dmesg generated data or /proc generated data. search on freshmeat for big brother.

  3. Re:Its called SMS dummy! by Anonymous Coward · · Score: 0

    I guess their spell-checker doesn't work too well, does it? Try Ispell, you might find it closer to satisfactory levels.

  4. Re:hmmmmmmmm by Evil+MarNuke · · Score: 0, Offtopic

    LOL!!! I couldn't say it better myself!!

    --
    The journey is better then the end.
  5. Keep coding by Evil+MarNuke · · Score: 2

    There are two ways of doing this: buy it or make it.

    You're current system isn't bad, it's just you're not searching for what you really need. It seams like you haven't put enough time into it.

    If you're looking for something coded, good luck. Not becuase there nothing out there for you, it's just there nothing out there the way you want it.

    --
    The journey is better then the end.
  6. STFW by AngusSF · · Score: 2, Interesting

    Did you STFW first?

    A quick search of http://sourceforge.net/search/ for "inventory" turned up LHinv at http://sourceforge.net/projects/lhinv/, which looks like it will help. So does http://phpmyinventory.sourceforge.net/

    --
    "A gun is a tool, Marian. No better, no worse than any other tool. An axe, a shovel, or anything." Shane (1953)
    1. Re:STFW by AngusSF · · Score: 1

      Followup to my last, see also See also http://www.e-nef.com/CGI/MachineInfo.html and ftp://ftp.sgi.com/sgi/linux

      --
      "A gun is a tool, Marian. No better, no worse than any other tool. An axe, a shovel, or anything." Shane (1953)
  7. Have a look in Sysadmin magazine by Anonymous Coward · · Score: 0

    I was looking through old issues (from about 4/5 years ago), and they featured a script which would do exactly what you wanted. They showed a demonstration output which was probably close to a page for each machine, detailing things like hardware setup, kernel info, versions of glibc etc. The script was for unix I think, but with a little tweaking, im sure you could fix it to work with a current version of linux.

    Just a second! I went through the sysadmin online archives (didnt even know they existed) and i've managed to track the article *with the source code* down! Have a look at http://www.samag.com/documents/s=1213/sam9609b/960 9b.htm and click on Listing 1, Listing 2 etc for the code. Hope this helps,

    --Brett
    bmh.cjb.net