Open-AudIT
https://www.open-audit.org/phpBB3/

Change in hardware
https://www.open-audit.org/phpBB3/viewtopic.php?f=9&t=3418
Page 1 of 1

Author:  garoo [ Fri Sep 18, 2009 12:08 am ]
Post subject:  Change in hardware

I think a report to quickly show any change in hardware for systems that have already been audited would be pretty handy. I guess people stealing RAM out of systems isn't the problem it used to be but it would still be nice. Maybe if a RAM chip was failing in a computer. Would this be a tough feature to implement?

Author:  Chad [ Fri Sep 18, 2009 9:21 am ]
Post subject:  Re: Change in hardware

How to implement it though? My thinking process would be to do something like the following ...

1. Create a separate table, calling it something like 'hardware_changes'. Each row would be an entry of a single hardware change to a system. So, the table would probably need to store the table/field of the data that changed, the previous amount the field was at, and the amount it currently had at that audit. The rows could have the system_uuid and timestamp of the audit to make it unique.

2. When the data is submitted to admin_pc_add_2.php, the page would need to grab the data on the system, if it already exists, then it would need to compare whatever field values you want to look for changes in. If there is a change, then it should add that entry to the table mentioned above.

3. A separate view definition would need to be created to show the hardware changes for a specific system.

Maybe there's an easier/more elegant way to do it? I dunno, just my thoughts. Doesn't sound like it would be too daunting to add, though obviously not minor.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/