I've seen a lot of posts recently with requests for this and some posts by developers that they have done some preliminary work on it.
I wanted to repost the old work I did on this in hopes of speeding up the process.
Here was my old post:
[quote]
I hacked together an audit script using admin_pc_add_2.php from Open-AudIT and a Mac agent for OCS Inventory which can be found at
http://codejanitor.com/wp/2006/02/16/oc ... 0-releasedBefore you run it, search the file for "CHANGEME" and replace all occurances with the suitable info for you.
I tried to put in comments where it seems necessary. But here's a warning that I'm not a PHP coder and I'm sure there's better ways to do it.
Mac Audit 0.0001: http://k-thx.com/~scott/mac_audit.zip
This zip contains the main audit.php script, the 2 scripts I used to make it, and the expect script (read below about it).
[code]
Usage:
php audit.php
or
php audit.php xmlprofile.spx
[/code]
For the first option you run it on the remote machine you want to audit. The second option can be run from any machine.
This script will get all the info from System Profiler and populate the Open-Audit database.
Currently, lots of hardware is left out. I have no need for all of it so it isn't included right now. Feel free to modify it and add in whatever you want. It isn't very hard once you understand how it works; it's just tedious.