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

Domain audit - Multiple computers with the same IP address
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6494
Page 1 of 1

Author:  darekkor [ Thu Jan 21, 2016 7:11 pm ]
Post subject:  Domain audit - Multiple computers with the same IP address

Hello All

I have Open-Audit running on the Windows Server with IP address 169.208.1.191.
I'm using audit_domain.vbs script for the inventory. I run this script on this server.
Only this one script.
Script all machines correctly inventories, but on the computers list (reports) I see audited machines withe the same IP address
(in the picture - computers with ststus "audit) - IP server.
But, when I view computer Summary and then Hardware -> Network details I see IP address correct.

What is the problem ? How to fix it ?

OA Community 1.8.4

Attachments:
open-audit_problem.jpg
open-audit_problem.jpg [ 182.02 KiB | Viewed 4870 times ]

Author:  jpa [ Fri Jan 22, 2016 5:02 am ]
Post subject:  Re: Domain audit - Multiple computers with the same IP addre

The audit_windows.vbs in 1.8.2 and 1.8.4 tries to set man_ip_address to the ip of the adapter with the default route. The code only works when audit_windows.vbs is run on the machine to be audited. It will get the ip address of the audit server when called by the audit_domain.vbs script.

You can get around this in audit_domain.vbs by setting "audit_run_type=remote" which runs the audit on the remote machine and not from the audit server.

I posted [url=http://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6470&sid=d9dbd8dd6d780d1186699b10d0950a7f#p23479]my stab at a fix[/url] back in the 1.8.2 timeframe. Maybe it (or a variation) will make it into the next version.

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