I just got done attending the Advanced Inventory Solution class at Altiris, which is a great class btw.... Anyways one of the things mentioned in the class is the custom inventory samples that are available on the Altiris Site which I had no clue about.
There are win32 custom inventory samples along with Unix custom inventory samples.
ftp://ftp2.altiris.com/files/CustomInvSamples/