Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Search Computer Single URL

Hi there,

I hope this is the right area.

Can I find a computer directly via a URL?

like: http://ocs/ocsreports/index.php?function=visu_search "Variable Computer Name"

Is this possible? Or only over SOAP?

I want to import the database into a helpdesk and i need this function to search for a Computer.

The tool will automatically search the computer name

The Helpdesk Tool is :

https://www.inetsoftware.de

Thanks for any Help.

Greetz McKayo

in OCS Inventory NG agent for Windows by (130 points)

1 Answer

0 votes
Use this.

 

'http://ocs_server/ocsreports/index.php?function=computer&head=1&systemid=hardware.id'

Where hardware.id is the id of the machine you want.
by (360 points)
Hey,

 

thanks for your Help. But when i try it, show me this Message:

You don't have access to this datas

 

Any idea?
Put here the url you are using.
http://SEVER-IP/ocsreports/index.php?function=computer&head=1&systemid=COMPUTERNAME

Is not the "COMPUTERNAME", is the hardware.id you have to put on the url.

 

 

 

 

 

 If you prefer, you can do a mysql query

select id,name from snmp;  # For snmp devices
select id,name from hardware; 
 

 

 

 
Powered by Question2Answer
...