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 Wed May 22, 2019 2:50 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Mon Nov 12, 2018 9:45 pm 
Offline
Newbie

Joined: Mon Jan 29, 2018 6:55 pm
Posts: 26
Hello!

In the last few months im getting this error in my discovery log for every device:

2,469,592 2018-11-12 07:47:18 input discoveries No credentials returned from database 0.000000

If i click on the discovery button in device details page, the discovery can read the credentials correctly.
I attached both discovery logs.

Does somebody has any idea?

Some other Questions to the devoloper:
(1) Is there any possibility to migrate OA 2.2.7 on newer XAMPP versions with PHP 7.2 supported?
(2) In OA 1.X in device details page there were links for HTTP, HTTPS, VNC, RDP, etc. Any plans for bringing them back to OA 2.X?

OpenAudIT Details:
OpenAudit 2.2.7
Discovery running in five simultaneously for-loops reading .csv-Files with Networks started by Windows Task-Planner on Windows Server 2016

Greeting from germany
Gerrit Wahlers


Attachments:
2018-11-12 12_44_45-comparison discovery task vs button.pdf - Adobe Acrobat Reader DC.png
2018-11-12 12_44_45-comparison discovery task vs button.pdf - Adobe Acrobat Reader DC.png [ 143.41 KiB | Viewed 407 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 19, 2018 5:32 pm 
Offline
Newbie

Joined: Mon Jan 29, 2018 6:55 pm
Posts: 26
After a fresh reinstall of OA 2.2.7 the problems are the same. Bulk Edit discovery works, running the script directly did'nt work.
Here some additional infos:

The parameters:
Code:
set url=http://172.26.21.141/open-audit/index.php/input/discoveries
set logpath=D:\LOGS\
set submit_online=y
set echo_output=n
set create_file=n
set debugging=1
set os_scan=n


The command:
Code:
cscript //nologo C:\xampplite\open-audit\other\discover_subnet.vbs subnet_range=%%e url=!url! submit_online=!submit_online! echo_output=!echo_output! create_file=!create_file! debugging=!debugging! discovery_id=%%a os_scan=!os_scan!>>!LOG!


The CSV-File:
Code:
Discovery_ID;Discovery_Name;Discovery_Desc;Subnet
1;00-Stade-01;1;Subnet - 172.26.21.0/24;172.26.21.0/24


My script works, but the discover_subnet.vbs retrieves the error shown above.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 20, 2018 2:33 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Maybe the discovery script not having org_id set is causing this? As a test set org_id in your discovery script. org_id is on the details tab of the Organization in Open-AudIT. If you have more than one use the Organization associated with the Credentials you want to use.

I don't use any of this functionality so this is just from reading the code and guessing. Maybe helps, maybe not.


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

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 9 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