I would be interested in knowing too. I've made a quick and easy form for manually entering other devices but I cannot seem to get the timestamp format correct so that it displays properly when you view other items in OA.
I just briefly tried to look at how OA does it, and it looks lilke the time stamp is generated from the following lines in the audit.vbs file...
dim dt : dt = Now() timestamp = Year(dt) & Right("0" & Month(dt),2) & Right("0" & Day(dt),2) & Right("0" & Hour(dt),2) & Right("0" & Minute(dt),2) & Right("0" & Second(dt),2)
Then it looks like the timestamp is then entered by doing a trim from like...
$timestamp = trim($extended[2]);
Then it is inserted into the database from that $timestamp variable with a mysql query.
I'm guessing some variation of the now() function in mysql could generate the correct timestamp format that OA is looking for, I'm just not sure exactly how it is done.
_________________ OA Server: Debian Squeeze w/ Apache2 Auditing: 700 Workstations, 250 or so Retail Terminals, about 75 Servers OS's: Windows XP/2003/2008/2008 R2/Vista/7, Debian LDAP: Active Directory 2008 R2
|