Hi, thanks for your quick response.
Yes it is configured to acces the Ubuntu Server direction.
Now I've tried to install the agent in the same machine that is the Ubuntu server installed, and after some more researh I've found that there is a bug with my Ubuntu version (14.04 LTS).
Seems that OCS Server installation does not work completly well with this distribution, I had to make an alias in the Apache configuration pointing to the installed ocsreports folder so I can acces by browser, but seems there is a virtual folder called "ocsinventory" wich is used by the agent to connect to database. Edit: Here is some information I've found:
http://ubuntuforums.org/showthread.php?t=2222078
When I run the debug Ubuntu agent it gives me the 404 error, but if I make an alias for 'ocsinventory' pointing at 'usr/share/ocsinventory-reports' it gives me the error '301:Moved permanently'.
In resume, since the installation missed some configuration about the virtual directory 'ocsinventory' wich is used by the agents to send information I get nothing, adding an alias to apache's 000-default.conf works only to acces with the browser to localhost/ocsreports.
Is there any fix for this?
Thanks.