Open Source Software and Hardware Inventory Management Software

Posted on in Categories Hardware, Linux, Linux desktop, UNIX, Windows, Windows server last updated March 11, 2008

I’m looking for good open source software and hardware inventory management software. A quick search on sourceforge returned following inventory management system / software management apps:

=> OCS Inventory NG, Open Computers and Software Inventory Next Generation is an application designed to help administrator keep track of the computers configuration and installed softwares. Low network traffic HTTP communications between agents and server. I’m currently testing this software and I will update all of you about my results.

Other old (outdated) softwares

=> PcInventory Web-based system to track the Pc and the installed peripherals.

=> phpMyInventory is a web-based hardware, software, and peripheral inventory system using PHP & MySQL. Currently stable on PHP version 4xx only!

=> Windows Inventory. A Computer Hardware and Software Inventory system. Based around wmi, vbscript, mysql & php. Expandable via modules to include software distribution, remote control, event viewer, disk monitoring, etc.

Most of these software are outdated. Basically, I need to keep inventory for following items

  • Open source inventory asset management software
  • Should able to track inventory
  • Auditing feature
  • Inventory of equipment owned and leased (including lease expiry)
  • Software inventory for both Windows and UNIX systems
  • Import / Export function etc

Do you have any recommendations for me? Please add them in the comments.

Howto: Add a new yum repository to install software under CentOS / Redhat Linux

Posted on in Categories CentOS, Howto, Linux distribution, RedHat/Fedora Linux, Sys admin, Tips last updated July 18, 2007

CentOS / Fedora Core / RHEL 5 uses yum for software management. Yum allows you to add a new repository as a source to install binary software.

Understanding yum repository

yum repository configured using /etc/yum.conf file. Additional configuration files are also read from the directories set by the reposdir option (default is /etc/yum.repos.d and /etc/yum/repos.d.

RPMforge repository

Usually repository carries extra and useful packages. RPMforge is one of such repository. You can easily configure RPMforge repository for RHEL5 just by running following single RPM command:
# rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
For 64 bit RHEL 5 Linux, enter:
# rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Now you can install software from RPMforge.

How do I install 3rd party repository manually?

Let us say you would like to install 3rd party repository from foo.nixcraft.com. Create a file called foo:
# cd /etc/yum.repos.d
# vi foo

Append following code:
[foo]
name=Foo for RHEL/ CentOS $releasever - $basearch
baseurl=http://foo.nixcraft.com/centos/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://foo.nixcraft.com/RPM-GPG-KEY.txt

Save and close the file.

Where,

  • [foo] : Repository name i.e. The [main] section must exist for yum to do anything.
  • name=Foo for RHEL/ CentOS $releasever – $basearch : A human readable string describing the repository name
  • baseurl=http://foo.nixcraft.com/centos/$releasever/$basearch/ : Must be a URL to the directory where the yum repository’s ‘repodata’ directory lives
  • enabled=1 : Enabled or disabled repo. To disable the repository temporarily, set the enabled to 0
  • gpgcheck=1 : Security feature, use GPG key
  • gpgkey=http://foo.nixcraft.com/RPM-GPG-KEY.txt : GPL file location

Also you need to import the gpg key for the repository as follows:
# rpm --import http://foo.nixcraft.com/RPM-GPG-KEY.txt

Now you are ready to install software from foo repository. For further information refer to yum.conf man page:
$ man yum.conf
$ man yum

Hope this tip will help you to configure repository as and when required.

See also:

Howto Setup yum repositories to update or install package from ISO CDROM Image