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.

Show Computer Details without login

Hi

Is there any possibility to show all Informations for a Computer WITHOUT a login ?
Any trick, hack or workaround for that ?
Like the page http://servername/ocsreports/index.php?function=computer&head=1&systemid=1 does.

Maybe with a own PHP Page ?
Im not a PHP specialist :-(

Any help is welcome !
Thank you :-)
Regards Franky

in Administrative console by (300 points)

5 Answers

0 votes
Hi

Hi,

This is possible. Use the api rest to make that.

See the documentation here http://wiki.ocsinventory-ng.org/11.Rest-API/Introduction/

If you search training about OCS Inventory NG, go to https://ocsinventory-ng.org/?page_id=138&lang=en.

Regards

Frank
by (90.2k points)
0 votes
Hello Frank

Thank you for your help.
My second Problem is that I can't install the Apache2-SOAP Module, so I cant use the Webservice :-(
Installation of the Module fails with: Can't find the mod_perl include dir (reason: path /usr/include/apache2 doesn't exist) at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Apache2/Build.pm line 2120.

Running on SLES 15

Regards,
Franky
by (300 points)
0 votes
which version of ocs inventory server ?
by (90.2k points)
0 votes
Hi

It is OCS Server 2.7 and Apache 2
by (300 points)
0 votes

Hi

With command cpan install Apache2::SOAP I was able to install it on my testserver.
So, the SOAP Webservice is there available now :-)
Hope that also works with the production server wich is a different OS version.

So, now I need a way to call the webservice with the name of the system, instead of the ID (wich I didn't know at the time of the call).

Regrads,
Franky

by (300 points)
 
Powered by Question2Answer
...