You are not logged in.
Bonjour à tous!
Bah oui mais à chaque fois qu'on aide les gens, personne ne fait de la doc sur le site...
Cela serait cool que la marche à suivre pour faire de la documentation soit écrit clairement quelque part.
Je crée ma tâche comme on me l'a dit au début de ce sujet. J'ai juste rajouté en plus l'heure de démarrage programmée et l'heure de fin avec un créneau horaire que j'ai défini avant de créer la tâche.
Et si j'ai bien compris, je lance Taskcheduler afin d'exécuter la tâche.
La tâche se met en "Prepared and waiting" et elle s'arrête (aucun message d'erreur) au bout d'1 minute.As tu finalement réussi ?
Non, toujours pas. J'écume tous les forums existant ainsi que les tutos vidéos. J'ai essayé différents paramétrages. Rien n'y fait.
Offline
J'ai finalement trouvé l'endroit où écrire.
http://fusioninventory.org/documentation/wiki.html
Last edited by DewTa (2016-06-02 10:47:50)
0.90.3
Offline
As tu suivi, les sortes de mini tuto qui se trouve dans un onglet "GUIDE" tout à droite quand tu es dans l'onglet "Plugins ->FusionInventory" ?
Quand tu cliques sur cet onglet, tu obtiens FI > Inv. Ordinateur et FI > Inv. SNMP
Tu cliques sur Inv. SNMP et tu suis toutes les étapes.
Ca devrait normalement fonctionner ^^
Last edited by DewTa (2016-05-30 14:41:50)
0.90.3
Offline
# fusioninventory agent configuration
# all defined values match default
# all commented values are examples#
# Target definition options
## send tasks results to an OCS server
#server = http://server.domain.com/ocsinventory
# send tasks results to a FusionInventory for GLPI server
#server = http://server.domain.com/glpi/plugins/fusioninventory/
# write tasks results in a directory
#local = /tmp#
# Task definition options
## disable software deployment tasks
#no-task = deploy#
# Target scheduling options
## maximum delay before first target, in seconds
delaytime = 3600
# do not contact the target before next scheduled time
lazy = 0#
# Inventory task specific options
## do not list local printers
# no-category = printer
# allow to scan user home directories
scan-homedirs = 0
# allow to scan user profiles
scan-profiles = 0
# save the inventory as HTML
html = 0
# timeout for inventory modules execution
backend-collect-timeout = 30
# always send data to server
force = 0
# additional inventory content file
additional-content =#
# Package deployment task specific options
## do not use peer to peer to download files
no-p2p = 0#
# Network options
## proxy address
proxy =
# user name for server authentication
user =
# password for server authentication
password =
# CA certificates directory
ca-cert-dir =
# CA certificates file
ca-cert-file =
# do not check server SSL certificate
no-ssl-check = 0
# connection timeout, in seconds
timeout = 180#
# Web interface options
## disable embedded web server
no-httpd = 0
# network interface to listen to
httpd-ip =
# network port to listen to
httpd-port = 62354
# trust requests without authentication token
httpd-trust =#
# Logging options
## Logger backend, either Stderr, File or Syslog (Stderr)
logger = stderr
# log file
#logfile = /var/log/fusioninventory.log
# maximum log file size, in MB
#logfile-maxsize = 0
# Syslog facility
logfacility = LOG_USER
# Use color in the console
color = 0#
# Execution mode options
## add given tag to inventory results
tag =
# debug mode
debug = 0
T'as toujours ça comme fichier conf sur ton agent sur ta machine cliente ? ^^'
Last edited by DewTa (2016-05-30 14:47:59)
0.90.3
Offline
As tu suivi, les sortes de mini tuto qui se trouve dans un onglet "GUIDE" tout à droite quand tu es dans l'onglet "Plugins ->FusionInventory" ?
Quand tu cliques sur cet onglet, tu obtiens FI > Inv. Ordinateur et FI > Inv. SNMP
Tu cliques sur Inv. SNMP et tu suis toutes les étapes.
Ca devrait normalement fonctionner ^^
Quand je clique dessus, cela m'amène aux onglets de paramétrages
Offline
# fusioninventory agent configuration
# all defined values match default
# all commented values are examples#
# Target definition options
## send tasks results to an OCS server
#server = http://server.domain.com/ocsinventory
# send tasks results to a FusionInventory for GLPI server
#server = http://server.domain.com/glpi/plugins/fusioninventory/
# write tasks results in a directory
#local = /tmp#
# Task definition options
## disable software deployment tasks
#no-task = deploy#
# Target scheduling options
## maximum delay before first target, in seconds
delaytime = 3600
# do not contact the target before next scheduled time
lazy = 0#
# Inventory task specific options
## do not list local printers
# no-category = printer
# allow to scan user home directories
scan-homedirs = 0
# allow to scan user profiles
scan-profiles = 0
# save the inventory as HTML
html = 0
# timeout for inventory modules execution
backend-collect-timeout = 30
# always send data to server
force = 0
# additional inventory content file
additional-content =#
# Package deployment task specific options
## do not use peer to peer to download files
no-p2p = 0#
# Network options
## proxy address
proxy =
# user name for server authentication
user =
# password for server authentication
password =
# CA certificates directory
ca-cert-dir =
# CA certificates file
ca-cert-file =
# do not check server SSL certificate
no-ssl-check = 0
# connection timeout, in seconds
timeout = 180#
# Web interface options
## disable embedded web server
no-httpd = 0
# network interface to listen to
httpd-ip =
# network port to listen to
httpd-port = 62354
# trust requests without authentication token
httpd-trust =#
# Logging options
## Logger backend, either Stderr, File or Syslog (Stderr)
logger = stderr
# log file
#logfile = /var/log/fusioninventory.log
# maximum log file size, in MB
#logfile-maxsize = 0
# Syslog facility
logfacility = LOG_USER
# Use color in the console
color = 0#
# Execution mode options
## add given tag to inventory results
tag =
# debug mode
debug = 0T'as toujours ça comme fichier conf sur ton agent sur ta machine cliente ? ^^'
J'ai modifié la dernière ligne en passant le "debug de 0 à 2
Offline
Bonjour tout le monde!
J'ai vraiment besoin d'aide.
Lorsque je programme ma tâche, rien ne s’enclenche. Et dès que je le lance manuellement en lançant le "Taskcheduler" et en forçant l'inventaire de ma machine cliente, la tâche se met en état "Prepared and waiting".
Offline
En rouge les lignes a remplir/modifier
# fusioninventory agent configuration
# all defined values match default
# all commented values are examples
#
# Target definition options
#
# send tasks results to an OCS server
#server = http://server.domain.com/ocsinventory
# send tasks results to a FusionInventory for GLPI server
#server = http://server.domain.com/glpi/plugins/fusioninventory/
# write tasks results in a directory
#local = /tmp
#
# Task definition options
#
# disable software deployment tasks
#no-task = deploy
#
# Target scheduling options
#
# maximum delay before first target, in seconds
delaytime = 3600
# do not contact the target before next scheduled time
lazy = 0
#
# Inventory task specific options
#
# do not list local printers
# no-category = printer
# allow to scan user home directories
scan-homedirs = 0
# allow to scan user profiles
scan-profiles = 0
# save the inventory as HTML
html = 0
# timeout for inventory modules execution
backend-collect-timeout = 30
# always send data to server
force = 0
# additional inventory content file
additional-content =
#
# Package deployment task specific options
#
# do not use peer to peer to download files
no-p2p = 0
#
# Network options
#
# proxy address
proxy =
# user name for server authentication
user =
# password for server authentication
password =
# CA certificates directory
ca-cert-dir =
# CA certificates file
ca-cert-file =
# do not check server SSL certificate
no-ssl-check = 0
# connection timeout, in seconds
timeout = 180
#
# Web interface options
#
# disable embedded web server
no-httpd = 0
# network interface to listen to
httpd-ip = ip de la machine cliente de l'agent
# network port to listen to
httpd-port = 62354
# trust requests without authentication token
httpd-trust = ip de ton server
#
# Logging options
#
# Logger backend, either Stderr, File or Syslog (Stderr)
logger = stderr
# log file
#logfile = /var/log/fusioninventory.log si tu arrives à retrouver le chemin du fichier log ne change rien, sinon mais un chemin qui t'arrange
# maximum log file size, in MB
#logfile-maxsize = 0
# Syslog facility
logfacility = LOG_USER
# Use color in the console
color = 0
#
# Execution mode options
#
# add given tag to inventory results
tag =
# debug mode
debug = 1 ça sera plus compréhensible avec le debug 1
Last edited by DewTa (2016-06-01 11:11:53)
0.90.3
Offline
Après avoir modifier le fichier agent.cfg ( qui se trouve dans le dossier etc/)
Tu forces l'inventaire et tu regardes ce qui s'écrit dans le log( selon ton fichier agent.cfg posté précédemment, ce fichier sera un fichier texte qui sera dans le dossier /var/log et qui s’appellera fusioninventory.log) de ton agent pour voir ce qu'il fait.
Observe le fichier log attentivement, ça devrait te parler avec le mode debug 1.
0.90.3
Offline
DewTa wrote:As tu suivi, les sortes de mini tuto qui se trouve dans un onglet "GUIDE" tout à droite quand tu es dans l'onglet "Plugins ->FusionInventory" ?
Quand tu cliques sur cet onglet, tu obtiens FI > Inv. Ordinateur et FI > Inv. SNMP
Tu cliques sur Inv. SNMP et tu suis toutes les étapes.
Ca devrait normalement fonctionner ^^Quand je clique dessus, cela m'amène aux onglets de paramétrages
Concernant ce guide, chaque lien t'amène vers une page de paramétrages.
A toi de te rappeler lors de la configuration de ta tâche si tu es bien passé par toute ses pages.
0.90.3
Offline
Merci DewTa pour ton aide.
J'ai effectué le changement des conf agents. J'ai retenté un inventaire auto mais il ne se lance pas.
Comment configure-t'on l'exécution automatique du "Taskcheduler"?
Offline
Cyannic, que dis le log quand tu forces un inventaire sur ta machine cliente ??
C'est des précieuses informations pour éviter de tourner en rond comme on le fait depuis 4 pages déjà...
Je souhaite si possible, le log de ton agent !
Ensuite, sur le forum il y a un petit onglet "Chercher" qui est très utile qui permet de chercher dans les posts des informations
http://forum.glpi-project.org/viewtopic … 10#p319810
Last edited by DewTa (2016-06-01 12:51:29)
0.90.3
Offline
j'espère que c'est le bon...
[Wed Jun 1 11:10:28 2016][info] FusionInventory Agent starting
[Wed Jun 1 11:11:03 2016][info] running task Inventory
[Wed Jun 1 11:11:36 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 11:12:11 2016][info] Inventory saved in C:\GLPI/W72test-PC-2016-05-26-08-39-34.ocs
[Wed Jun 1 11:42:25 2016][info] running task Inventory
[Wed Jun 1 11:45:09 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 11:46:47 2016][info] Inventory saved in C:\GLPI/W72test-PC-2016-05-26-08-39-34.ocs
[Wed Jun 1 11:49:58 2016][info] sending prolog request to server server0
[Wed Jun 1 11:50:03 2016][info] running task Collect
[Wed Jun 1 11:50:10 2016][info] running task ESX
[Wed Jun 1 11:50:10 2016][info] ESX support disabled server side.
[Wed Jun 1 11:50:22 2016][info] running task Deploy
[Wed Jun 1 11:50:40 2016][info] running task Inventory
[Wed Jun 1 11:52:41 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 12:05:00 2016][info] running task Inventory
[Wed Jun 1 12:06:42 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 12:07:27 2016][info] Inventory saved in C:\GLPI/W72test-PC-2016-05-26-08-39-34.ocs
[Wed Jun 1 12:07:33 2016][info] sending prolog request to server server0
[Wed Jun 1 12:07:34 2016][info] running task Collect
[Wed Jun 1 12:07:41 2016][info] running task ESX
[Wed Jun 1 12:07:41 2016][info] ESX support disabled server side.
[Wed Jun 1 12:07:53 2016][info] running task Deploy
[Wed Jun 1 12:07:59 2016][info] running task NetDiscovery
[Wed Jun 1 12:07:59 2016][info] Can't run nmap, nmap detection can't be used
[Wed Jun 1 12:33:12 2016][info] running task Inventory
[Wed Jun 1 12:34:50 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 12:46:44 2016][info] running task Inventory
[Wed Jun 1 12:48:22 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 12:49:04 2016][info] Inventory saved in C:\GLPI/W72test-PC-2016-05-26-08-39-34.ocs
[Wed Jun 1 13:40:39 2016][info] running task Inventory
[Wed Jun 1 13:42:18 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 13:43:00 2016][info] Inventory saved in C:\GLPI/W72test-PC-2016-05-26-08-39-34.ocs
Je ne pense pas que c'est lié à l'agent. Quand je lance manuellement l'inventaire (taskcheduler et l'agent), ça fonctionne.
Mais automatiquement.
Last edited by cyannic (2016-06-01 13:55:48)
Offline
Ok. Maintenant, tu as plus qu'à suivre le lien et configurer ton exécution en mode CRON et éditer ta crontab pour www-data.
0.90.3
Offline
et je dois le faire directement sur le serveur?
Offline
A ton avis ?
0.90.3
Offline
novice total en la matière
Offline
la taskcheduler que tu souhaites lancer automatiquement, elle se trouve où? sur tes machines clientes ou sur ton serveur ?
Last edited by DewTa (2016-06-01 14:24:24)
0.90.3
Offline
J'ai compris où est-ce qu'il se trouve DewTa. Mais comme ce n'est pas précisé, je préfère demander
Merci pour ton aide
Offline
Offline
ma tâche reste en état "Prepared and waiting"
Offline
Donc attend que l'agent contacte le serveur
Offline
Bonjour tout le monde.
Voici ce que j'ai :
Et voilà ce que le fichier de log de mon agent dit :
[Wed Jun 1 14:23:56 2016][info] running task Inventory
[Wed Jun 1 14:24:29 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 14:24:45 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 15:09:32 2016][info] running task Inventory
[Wed Jun 1 15:10:06 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 15:10:22 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 16:08:03 2016][info] running task Inventory
[Wed Jun 1 16:08:37 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 16:08:52 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 17:04:10 2016][info] running task Inventory
[Wed Jun 1 17:04:43 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 17:04:58 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 17:56:11 2016][info] running task Inventory
[Wed Jun 1 17:57:25 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 17:58:23 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 18:54:18 2016][info] running task Inventory
[Wed Jun 1 18:54:50 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 18:55:05 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 19:53:48 2016][info] running task Inventory
[Wed Jun 1 19:54:34 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 19:55:50 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 20:49:28 2016][info] running task Inventory
[Wed Jun 1 20:50:39 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 20:51:10 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 21:36:10 2016][info] running task Inventory
[Wed Jun 1 21:36:42 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 21:36:57 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 22:29:58 2016][info] running task Inventory
[Wed Jun 1 22:30:31 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 22:30:46 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 23:24:35 2016][info] running task Inventory
[Wed Jun 1 23:25:48 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 23:26:47 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Wed Jun 1 23:39:35 2016][info] sending prolog request to server server0
[Wed Jun 1 23:39:36 2016][info] running task Collect
[Wed Jun 1 23:39:42 2016][info] running task Inventory
[Wed Jun 1 23:40:14 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Jun 1 23:40:42 2016][info] running task ESX
[Wed Jun 1 23:40:42 2016][info] ESX support disabled server side.
[Wed Jun 1 23:40:48 2016][info] running task Deploy
[Thu Jun 2 00:06:24 2016][info] running task Inventory
[Thu Jun 2 00:06:56 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 00:07:11 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 00:50:14 2016][info] running task Inventory
[Thu Jun 2 00:50:46 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 00:51:01 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 01:41:57 2016][info] running task Inventory
[Thu Jun 2 01:42:29 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 01:42:44 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 02:31:16 2016][info] running task Inventory
[Thu Jun 2 02:31:48 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 02:32:03 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 03:10:10 2016][info] running task Inventory
[Thu Jun 2 03:10:42 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 03:10:58 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 03:41:41 2016][info] running task Inventory
[Thu Jun 2 03:42:13 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 03:42:28 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 04:25:24 2016][info] running task Inventory
[Thu Jun 2 04:25:56 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 04:26:11 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 05:24:05 2016][info] running task Inventory
[Thu Jun 2 05:24:38 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 05:24:53 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 06:15:18 2016][info] running task Inventory
[Thu Jun 2 06:15:52 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 06:16:09 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 07:09:37 2016][info] running task Inventory
[Thu Jun 2 07:10:09 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 07:10:24 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 07:56:49 2016][info] running task Inventory
[Thu Jun 2 07:57:22 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 07:57:37 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
[Thu Jun 2 08:39:50 2016][info] running task Inventory
[Thu Jun 2 08:40:23 2016][warning] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Thu Jun 2 08:40:38 2016][info] Inventory saved in D:\yce/STPMA.cma29.local-2016-04-27-10-37-48.ocs
Offline
Offline