Topic: ocs agent linux remontée de conf
Bonjour,
Après avoir cherché et parcourru tous les forums je n'arrive pas à corriger un problème sur la remontée des configurations des agents linux.
Je m'explique j'ai installé les derniers paquets d'ocs (ocsinventory-server-2.0.5-1.el6.remi.noarch - ocsinventory-2.0.5-1.el6.remi.noarch - ocsinventory-reports-2.0.5-1.el6.remi.noarch -ocsinventory-agent-2.0.5-1.el6.remi.noarch) sur un serveur centos 6.3.
Mes remontées de configuration Windows fonctionnent sans problème via une GPO dans l'active directory.
Mes différents tests sur linux ne donnent rien, sur la papier il n'y a pourtant pas grand chose à configurer !!!
Voilà le fichier de conf de l'agent (qui est sur le serveur lui-même) : /etc/ocsinventory/ocsinventory-agent.cfg
-----------------
# OCS Inventory "Unix Unified Agent" Configuration File
#
# options used by cron job overides this (see /etc/sysconfig/ocsinventory-agent)
#
# Server URL, unconmment if needed
server = htttp://172.16.0.17/ocsinventory ----------> (nb j'ai ajouté volontairement un troisième 't'ici et par la suite pour pouvoir envoyer ce message ---> Too more links in message. Allowed 1 links. Reduce number of links and post it again !!!)
local = /var/lib/ocsinventory-agent
# Administrative TAG (optional, must be filed before first inventory)
# tag = your_tag
# How to log, can be File,Stderr,Syslog
logger = Stderr
logfile = /var/log/ocsinventory-agent/ocsinventory-agent.log
---------
La commande lancée sans argument : ocsinventory-agent --debug ou avec argument ocsinventory-agent --debug --server=htttp//172.16.0.17/ocsinventory créé correctement mon fichier d'inventaire mais celui-ci n'est pas remonté dans la base SQL....
Voilà le log de l'agent... il semble qu'il ne prenne pas en compte le serveur ----> Voilà le fichier de conf de l'agent : /etc/ocsinventory/ocsinventory-agent.cfg
-----------------
# OCS Inventory "Unix Unified Agent" Configuration File
#
# options used by cron job overides this (see /etc/sysconfig/ocsinventory-agent)
# Server URL, unconmment if needed
server = htttp://172.16.0.17/ocsinventory
local = /var/lib/ocsinventory-agent
# Administrative TAG (optional, must be filed before first inventory)
# tag = your_tag
# How to log, can be File,Stderr,Syslog
logger = Stderr
logfile = /var/log/ocsinventory-agent/ocsinventory-agent.log
---------
La commande lancée sans argument : ocsinventory-agent --debug
Et le log en retour... il semble qu'il ne prenne pas en compte le serveur 172.16.0.17 ---> [info] [download] Agent is running in local mode...disabling module
[Thu Sep 6 14:46:43 2012][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.0.5
[Thu Sep 6 14:46:43 2012][debug] Log system initialised (File)
[Thu Sep 6 14:46:43 2012][debug] --scan-homedirs missing. Don't scan user directories
[Thu Sep 6 14:46:43 2012][debug] --server ignored since you also use --local
[Thu Sep 6 14:46:43 2012][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__172.16.0.17_ocsinventory/ocsinv.adm
[Thu Sep 6 14:46:43 2012][debug] OCS Agent initialised
[Thu Sep 6 14:46:43 2012][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Thu Sep 6 14:46:43 2012][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.0.5
[Thu Sep 6 14:46:43 2012][debug] Log system initialised (File)
[Thu Sep 6 14:46:43 2012][debug] Calling handlers : `start_handler'
[Thu Sep 6 14:46:43 2012][debug] [download] Calling download_start_handler
[Thu Sep 6 14:46:43 2012][info] [download] Agent is running in local mode...disabling module
...
Je n'ai rien dans les logs apache ou les logs d'ocs serveur !!!
Vous avez déjà eu un problème similaire ?
Merci.
Philippe