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

Open-audit 1.10 audit not submitted and printer problem
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6501
Page 1 of 1

Author:  omega4471 [ Wed Jan 27, 2016 10:41 pm ]
Post subject:  Open-audit 1.10 audit not submitted and printer problem

I' ve installed new version and when launch audit_windows.vbs ( with fix segnaled ) from dos shell the audit is not submitted see screen attached.
Using audit from group policy, i've seen that printers are not recognized.

THanks

Attachments:
Cattura4.JPG
Cattura4.JPG [ 32.75 KiB | Viewed 21330 times ]

Author:  Mark [ Thu Jan 28, 2016 9:38 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

Can you add the following at line 3565 of audit_windows.vbs
[code] wscript.echo "HTTP Error: " & aErr(0)
wscript.echo "HTTP Status: " & aErr(1)[/code]
This should come immediately after the line
[code]if debugging > "0" then wscript.echo "Error with http request(2). Audit not submitted." end if[/code]
Then run the audit again and let us know the output.

PS - You can find audit_windows.vbs at c:\xampplite\open-audit\other or /usr/local/open-audit/other.

Author:  jpa [ Thu Jan 28, 2016 10:41 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

Increase the debugging level to 3 in the audit_windows.vbs file or on the command line when auditing.[code]cscript audit_windows.vbs debugging=3[/code]Is the error more obvious?

Author:  omega4471 [ Thu Jan 28, 2016 8:45 pm ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

Output attached.

Attachments:
error.txt [8.01 KiB]
Downloaded 706 times

Author:  jpa [ Sat Jan 30, 2016 3:04 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

It looks like Mark needs another hotfix release/instructions.

Edit code_igniter\application\controllers\system.php and change line 410:
from:[code]$this->m_audit_log->update('wmi_fail', $xml->audit_wmi_fail, $details->system_id, $details->last_seen);[/code]
to:[code]$this->m_audit_log->update('wmi_fails', $xml->audit_wmi_fail, $details->system_id, $details->last_seen);[/code]
(Just add an 's' to wmi_fail.)

Author:  Mark [ Sat Jan 30, 2016 10:20 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

New build released - 1.10.1.
NOTE - This is actually a new build, not just a hotfix. There's a DB upgrade in there (a single item and a version bump).
Only Community is affected. Enterprise remains at 1.10.

Author:  omega4471 [ Mon Feb 01, 2016 7:58 pm ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

New version OA 1010.1
Monitor error and printers are not audited
hi

Attachments:
monitor.JPG
monitor.JPG [ 50.54 KiB | Viewed 21266 times ]

Author:  jpa [ Tue Feb 02, 2016 4:02 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

Lots of changes in 1.10. Some things didn't get updated as you've found.

Last fix for monitors? Edit "code_igniter\application\views\theme-tango\v_display_inc_blocks.php" and change all instances of "monitor_id" to "id".

Author:  jpa [ Tue Feb 02, 2016 4:57 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

Is the audit missing printers that are attached locally on the machines or share out a print queue? Is it missing network printers that are attached to machines but not shared?

Author:  Mark [ Tue Feb 02, 2016 8:09 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

[quote="jpa"]Last fix for monitors? Edit "code_igniter\application\views\theme-tango\v_display_inc_blocks.php" and change all instances of "monitor_id" to "id".You can get the updated file here - [url]https://raw.githubusercontent.com/Opmantek/open-audit/master/code_igniter/application/views/theme-tango/v_display_inc_blocks.php[/url]

Author:  omega4471 [ Tue Feb 02, 2016 8:43 am ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

[quote="Mark"][quote="jpa"]Last fix for monitors? Edit "code_igniter\application\views\theme-tango\v_display_inc_blocks.php" and change all instances of "monitor_id" to "id".You can get the updated file here - [url]https://raw.githubusercontent.com/Opmantek/open-audit/master/code_igniter/application/views/theme-tango/v_display_inc_blocks.php[/url]
Thanks :D

Author:  omega4471 [ Tue Feb 02, 2016 7:02 pm ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

[quote="jpa"]Is the audit missing printers that are attached locally on the machines or share out a print queue? Is it missing network printers that are attached to machines but not shared?
Discover on device using snmp works and network printers are displayed. When I run the script from the command line "cscript audit_windows.vbs pcname" network printers and local are not displayed in the menu settings and the table print_queue of openaudit is empty. Attach audit screenshot

Attachments:
Cattura9.JPG
Cattura9.JPG [ 55.14 KiB | Viewed 21243 times ]

Author:  Mark [ Thu Feb 04, 2016 2:21 pm ]
Post subject:  Re: Open-audit 1.10 audit not submitted and printer problem

Likely a bug. I'll look into it.

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