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 9:17 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Oct 04, 2012 8:28 am 
Offline
Newbie

Joined: Thu Apr 26, 2012 9:26 am
Posts: 37
Location: USA - Madison, Wi.
Thx Jpa. I changed skip printer to 'Y' and ran again.
Thx Mark - for the run-down of audit_domain.

1.
Strange that I did not have the printer issue with any other machines I audited yet - first one to spew the PHP errors w/ printer audit.
Wouldn't think editing these "DOS" vbs audit scripts in VI on the Linux box is causing an issue w/ the audit_domain script?
Any issues w/ running thru Samba/Linux from a Windows machine?

2.
Just don't understand why the audit_domain script cruises thru all the computer names and then stops.
It does not hesitate and get audit(software info, etc.) info for each computer along the way like audit.vbs in the OpenAuditv1 server.
Still does not audit the PC's and add info to DB - just zips right thru and lists the machines and stops.
Then - all I have is broken links(man_type empty) w/ the PHP issue - perhaps that is what is stopping the further population of the rest of data?

Y:\>cscript //nologo audit_domain.vbs
Now Auditing: LDAP://dc=Auxiant,dc=local
select name, location, operatingSystem, lastLogon from 'LDAP://dc=Auxiant,dc=local' where objectclass='computer'
number of systems retrieved from ldap: 241
number of filtered systems: 234
--------------
Have list of PC's from AD-LDAP

0 of 234
processes running: 1
next system: 2V87W61
--------------
...

233 of 234
processes running: 3
next system: WINXPTEST
--------------
End of Loop - what happened?
Made it to checking how many cscripts are running...

3.
Is there something I am missing in the audit_domain script config for our domain?
This is the command that should work - correct?
--> command1 = "cscript //nologo """ & script_name & """ " & pc_array(i) & " ldap=""" & local_domain & """ "

4.
Sorry if I am thick-headed here - just trying to to audit all computers at once and not able to do that yet...sigh.
And maybe the PHP fix will remedy that part.
In the meantime - should I revert to Beta7.1 or 6.4 in order to run the audit_domain script properly?
Else - trying to see if I missed any config options in the beginning of the script - not a proficient programmer by any means.

Thanks for your continued help!

-SP


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 04, 2012 8:43 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
[quote="spichelman"]Just don't understand why the audit_domain script cruises thru all the computer names and then stops.
Make sure that you have the script_name variable set correctly in audit_domain.vbs. Since audit_domain runs the audit using this path and script name if it's not correct it will just blow through all the domain machines it finds trying to run this script and failing.

So I have
[code]script_name = "C:\Program Files\Apache Software Foundation\Apache2.2\var\www\openaudit2\other\audit_windows.vbs"[/code]
Make sure yours makes sense as well.

Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 04, 2012 8:46 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
You could try dropping and recreating your OAv2 database just to make completely sure that you've got good data. Only do this if you don't care about anything currently in there.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 04, 2012 9:22 am 
Offline
Newbie

Joined: Thu Apr 26, 2012 9:26 am
Posts: 37
Location: USA - Madison, Wi.
Thanks JPA - I'll try checking the audit_windows script path next.
Then - delete DB and re-create if that does not help.

Appreciate the feedback - got to head out for the night now.
Will respond back w/ results in AM - CST(8-5) tomorrow.

-SP


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 04, 2012 11:13 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
I've fixed the SNMP Printer bug in the PHP.
It was simply initialising a variable inside a condition that was not reached by locally attached printers...
Anyway - beta 7.3 is uploaded.

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 05, 2012 7:57 am 
Offline
Newbie

Joined: Thu Apr 26, 2012 9:26 am
Posts: 37
Location: USA - Madison, Wi.
Hi JPa-

Changing the audit script path worked - appears if OA is running in Linux - need the Windows UNC/NETBIOS share?

' the name and path of the audit script to use
script_name = "\\mdnoav2\other\audit_windows.vbs"

Sorry for any headaches or hassle I've caused you or Mark.
I really appreciate your patience with my multiple questions!

-SP


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 05, 2012 7:59 am 
Offline
Newbie

Joined: Thu Apr 26, 2012 9:26 am
Posts: 37
Location: USA - Madison, Wi.
Mark-

Appreciate the quick update to PHP issue and printers - beta7.3.
Thank-you.
-SP


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.  [ 22 posts ]  Go to page Previous  1, 2

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:  
Powered by phpBB® Forum Software © phpBB Group