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

Doesn't update last seen and change log
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6634
Page 1 of 1

Author:  robert1234 [ Fri Dec 01, 2017 7:15 pm ]
Post subject:  Doesn't update last seen and change log

Hello
Can You tell me why ma OA doesn't update last seen and change log for computers?
Last seen stopped on july, change log also.

version OA 2.0.10

thanks for reply
robert

Author:  jpa [ Sat Dec 02, 2017 1:42 am ]
Post subject:  Re: Doesn't update last seen and change log

How are you auditing? If by script maybe the audits are not getting uploaded properly. Try a single script audit with debugging set to 3 in the script. If you're auditing some other way then I don't know. Is the other device data getting updated?

Author:  robert1234 [ Tue Dec 05, 2017 6:34 pm ]
Post subject:  Re: Doesn't update last seen and change log

Thanks for reply
Probably this is error.
When i paste to script vbs URL from this howto: [url]https://community.opmantek.com/display/OA/How+to+audit+a+Computer#HowtoauditaComputer-Auditingusingascript(Windows)[/url]
[quote]url = "http://YOUR_SERVER/index.php/system"
i get this error:
[quote]
A Database Error Occurred
Error Number: 1146
Table 'openaudit.oa_report' doesn't exist
SELECT count(*) as count FROM oa_report
Filename: helpers/report_helper.php
Line Number: 225

in script result i have:
[quote]Error with http request(2). Audit not submitted.

What's wrong with my OA?

Author:  jpa [ Wed Dec 06, 2017 1:46 am ]
Post subject:  Re: Doesn't update last seen and change log

Looks like the documentation needs updating.

Make sure your audit script has the following line:
[code]url = "http://YOUR_SERVER/open-audit/index.php/input/devices"[/code]

If you create a file using create_file=y and want to paste it into OpenaudiIT use this url: http://openaudit2/open-audit/index.php/devices/create and set the Input type to "Copy and paste an audit result".

Now what error do you get?

Author:  robert1234 [ Wed Dec 06, 2017 7:06 pm ]
Post subject:  Re: Doesn't update last seen and change log

So:
I have in script:
[quote]submit_online = "y"

and change in audit_windows.vbs url to:

[quote]url = "http://MY_SERVER/open-audit/index.php/input/devices"

and now works great!

Please update documentation ;)

Thanks for help.

Author:  jpa [ Thu Dec 07, 2017 1:36 am ]
Post subject:  Re: Doesn't update last seen and change log

Great. Make sure you are using the 2.0.10 version of the audit script. There is a version string near the top of the file. It should have had the correct URL.

Author:  Mark [ Thu Dec 07, 2017 8:45 am ]
Post subject:  Re: Doesn't update last seen and change log

Documentation updated.

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