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 Sat Apr 20, 2024 11:14 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
PostPosted: Thu Aug 20, 2009 1:23 am 
Offline
Newbie

Joined: Thu Jul 23, 2009 2:13 am
Posts: 19
Hi all. Things are working quite well here except for 1 minor issue.

When I run cscript audit.vbs it does it's 15 at a time thing, but when it gets to the end, it never completes. This started happening a couple of updates ago, currently at 1178.

It sits and looks like this:

[code]Next System: WINXPTESTV
--------------
Processes running (16) greater than number wanted (15)
Therefore - sleeping for 4 seconds.
132 of 135
Processes running: 14
Next System: XENXPTEST
--------------
133 of 135
Processes running: 15
Next System: XENXPTEST2
--------------
134 of 135
Processes running: 15
Next System: XP_PROFILER
--------------
Processes running (16) greater than number wanted (15)
Therefore - sleeping for 4 seconds.
135 of 135
Processes running: 12
Next System: ZENTEST1
--------------
^CTerminate batch job (Y/N)? y[/code]
I have to ctrl-c to break out. Not a huge deal but prevents me from running it as a scheduled task.
It's probably something simple, but I'm completely vbscript illiterate. :oops:
Ideas?

Thanks,

Steve

_________________
Auditing 85 laptops, 10 desktops and 10 servers
Web and DB on Centos 5.3, Vbscript running on a Windows 2003 server.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 1:17 am 
Offline
Newbie

Joined: Thu Jul 23, 2009 2:13 am
Posts: 19
Hmm. Am I the only one seeing this problem?

_________________
Auditing 85 laptops, 10 desktops and 10 servers
Web and DB on Centos 5.3, Vbscript running on a Windows 2003 server.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 2:18 am 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
Let me check my auditing box... yup, mine looks OK. Are you on the current SVN version.

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 25, 2009 7:21 am 
Offline
Newbie

Joined: Thu Jul 23, 2009 2:13 am
Posts: 19
[quote="A_Hull"]Let me check my auditing box... yup, mine looks OK. Are you on the current SVN version.


I'm at 1178, but just looked at my folder, there is one dated 11/08/2009, and I've been using one dated 27/07/2009, so I'll try the newer one.
One moment... <muzak>
</muzak>
Hmm same problem. Could it be my config file?? Here's a sanitized copy:

[code]'
' Standard audit section
'
audit_location = "r"
verbose = "y"
audit_host="http://server.mydomain.ca"
online = "yesxml"
strComputer = ""
ie_visible = "n"
ie_auto_submit = "y"
ie_submit_verbose = "n"
ie_form_page = audit_host + "/openaudit/admin_pc_add_1.php"
non_ie_page = audit_host + "/openaudit/admin_pc_add_2.php"
input_file = "pc_list_file.txt"
use_audit_log = "y"

'
' Email authentication
'
'

email_to = "me@mydomain.ca"
email_from = "openaudit@mydomain.ca"
email_sender = "Open-AudIT"
email_server = "smtp.mydomain.ca" ' IP address or FQDN
email_port = "25" ' The SMTP port
email_auth = "0" ' 0 = Anonymous, 1 = Clear-text Authentication, 2 = NTLM
email_user_id = "" ' A valid Email account in user@domain format
email_user_pwd = "" ' The SMTP email password
email_use_ssl = "false" ' True/False
email_timeout = "60" ' In seconds
send_email = "true" ' True/False - Enable/Disable email sending

audit_local_domain = "y"
'
' Set domain_type = 'nt' for NT4 or SAMBA otherwise leave blank or set to ldap
'domain_type = "nt"

local_domain = "LDAP://mydomain.ca"

'
' Example Set Domain name for NT ONLY for LDAP use the above format
' NOTE This is Case Sensetive. See the example below.
'
'local_domain = "WinNT://IEXPLORE"
'local_domain = "WinNT://<domainname>"
'

hfnet = "n"
Count = 1
number_of_audits = 15
script_name = "audit.vbs"
monitor_detect = "y"
printer_detect = "y"
software_audit = "y"
uuid_type = "uuid"
'
' Nmap section
'
nmap_tmp_cleanup = true ' Set this false if you want to leave the tmp files for analysis in your tmp folder
nmap_subnet = "192.168.0." ' The subnet you wish to scan
nmap_subnet_formatted = "192.168.000." ' The subnet padded with 0's
nmap_ie_form_page = audit_host + "/openaudit/admin_nmap_input.php"
nmap_ie_visible = "n"
nmap_ie_auto_close = "y"
nmap_ip_start = 1
nmap_ip_end = 254
nmap_syn_scan = "y" ' Tcp Syn scan
nmap_udp_scan = "y" ' UDP scan
nmap_srv_ver_scan = "y" ' Service version detection.
nmap_srv_ver_int = 9 ' Service version detection intensity level. Values 0-9, 0=fast[/code]

_________________
Auditing 85 laptops, 10 desktops and 10 servers
Web and DB on Centos 5.3, Vbscript running on a Windows 2003 server.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 28, 2009 5:24 am 
Offline
Newbie

Joined: Thu Jul 23, 2009 7:23 am
Posts: 10
I had a similar problem and it was because the file, pc_list_file.txt, was not in the directory where I ran audit.vbs from.

_________________
Server Info: Dell PowerEdge 2650
Software: Windows 2003 Server R2 SE SP2, XAMPP 1.7.1, Open Audit v10.05.25
Auditing: 270+ machines (XP, W7, W2K, W2K3, W2K8, Vista, Linux)
LDAP: Active Directory


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 31, 2009 2:52 pm 
Offline
Newbie

Joined: Thu Jul 23, 2009 2:13 am
Posts: 19
[quote="JET"]I had a similar problem and it was because the file, pc_list_file.txt, was not in the directory where I ran audit.vbs from.


That was it, thanks!!!!!

_________________
Auditing 85 laptops, 10 desktops and 10 servers
Web and DB on Centos 5.3, Vbscript running on a Windows 2003 server.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 01, 2009 1:45 am 
Offline
Newbie

Joined: Thu Jul 23, 2009 2:13 am
Posts: 19
[quote="smason"][quote="JET"]I had a similar problem and it was because the file, pc_list_file.txt, was not in the directory where I ran audit.vbs from.


That was it, thanks!!!!!

Email started working too, bonus! :)

_________________
Auditing 85 laptops, 10 desktops and 10 servers
Web and DB on Centos 5.3, Vbscript running on a Windows 2003 server.


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.  [ 7 posts ] 

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