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.

No device appears in the dashboard

Hello,

I am configuring OCS for a fleet of about 200 computers. The server part is configured but when I install the OCS agent on my computer it's not recognized on the dashboard. 

I have already tried with other computers. The server accepts HTTPS connections only.

Thanks in advance

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

1 Answer

0 votes
(HTP = http, HTPS = https)

When you start to setup an OCS server, you have to think to

- HTPS access : that means you have to set up a certificate on server and use it for agent installation, for agent configuration file : ssl=1, ca= (linux) or cabundle= (windows)

- look at agent log file : %programdata%\OCS Inventory NG\Agent\Ocsinventory.log + Download.log (windows); logfile setting in configuration file /var/log/ocsinventory-client/ocsinventory-agent.log (linux), consider --debug or debug=1 for linux

- look at server log file : Apache : tail -f /var/log/apache/access.log; OCS : tail -f /var/log/ocsinventory-server/activity.log (use 2 sessions)

Here, what did you do about certificate ?

Note : when an agent download a deployement package, it use HTPS for the 'info' file and use HTP for fragment. So you need to configure Apache for HTP and HTPS (with certificate) for /download. You could use HTPS only for other URL (/ocsinventory, /ocsreports, ...)

(NB : use a self-signed certificate with long duration is OK for agent but not OK for browser to Console Administration ...)
by (20.1k points)
edited by
 
Powered by Question2Answer
...