Interesting, I just asked this question on the other forum as I'm running both v1 and v2. How did you do this on Version 1 of OA as I've been looking for a way to sort by audited date and archive / delete old machines also?
Mark
[quote="jpurcell"]I have not seen this discussed, but it seems this version of OpenAudIT no longer has the ability to remove systems that have not been audited in X days. It may be in a spot where I cannot find it, but I have looked through quite a bit.
At this point, I am stuck dropping the DB every once in a while to get a relevant set of data. Is there any sort of PHP script or command I am missing that I can use to clean up the DB from time to time?
Basically, with a somewhat volatile environment that consists of about 700 machines, over the course of a few months what with imaging and all, my OpenAudIT DB has more than 900 machines, of which I'd assume 200 or so have been replaced/reimaged, and are no longer relevant. Any help?
_________________ [color=#FF0000]OA environment:[/color] OA Server: Virtual Linux KVM [color=#FF8000] 1539 devices[/color]
|