Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 11:24 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Tue Sep 25, 2007 2:05 am 
Offline
Newbie

Joined: Wed Sep 05, 2007 1:20 am
Posts: 23
Hi,

I got a box which is running fine. Audit completes the run OK under the condition I have commented out the "Double check WMI is working" code. It gets all the software, network, hardware etc info OK.

So:

[code]((UCase(strComputer) <> system_name) AND (strComputer <> ".") AND (strComputer <> full_system_name) AND (strComputer <> ns_ip) AND (strComputer <> system_ip))[/code]

The problematic part is the last check: system_ip. The box in question has vmware installed and has virtual nics, so strComputer (the ip i used to connect to the box) and system_ip do not match and that makes all of the tests succeed and the audit fails. One of the vmware nics happens to be the first one to be listed.

I guess the solution would be to go through all the the possible system_ip's and see if any of those matches. Anyhow, this situation would be similar with a box with several real nics too.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group