paulosite.free.frpaulosite.free.fr/rds/docs/202 - installation glpi.docx · web viewil faut ensuite...

47
IGA Voyages Installation de Centreon CES Paul-Emmanuel XUEREF Sommaire : 1. OCS 2 a. Installation du serveur i. Pré requis : les paquets nécessaires 1. Serveur web 2. Mysql 3. Perl 4. SSL ii. OCSng : Serveur iii. Configuration du firewall 3 iv. Plugin MSoffice b. Installation du client sous Unix c. Installation du client sous Windows 4 d. Utilisation sur déploiement 5 2. GLPI a. Installation GLPI b. Le plugin Fusion Inventory i. Installation de l’agent 6 ii. Découverte Réseau iii. Requête SNMP c. Le mode OCSng d. Copie d’une partie de la base de données : Import et Export. 7 e. Activer la planification 3. Comparons l’inventaire OCSng et fusion inventory Annexes : 1. Log de l’installation d’OCSng 8 2. Configuration d’OCSng 13 3. Configuration du mode OCSng 20 4. Configuration de GLPI 26 5. Configuration de Fusion Inventory 28 mercredi 11 avril 2012 Page 1

Upload: others

Post on 19-Jan-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Sommaire :1. OCS 2

a. Installation du serveuri. Pré requis : les paquets nécessaires

1. Serveur web2. Mysql3. Perl4. SSL

ii. OCSng : Serveur iii. Configuration du firewall 3iv. Plugin MSoffice

b. Installation du client sous Unix c. Installation du client sous Windows 4d. Utilisation sur déploiement 5

2. GLPIa. Installation GLPI b. Le plugin Fusion Inventory

i. Installation de l’agent 6ii. Découverte Réseau iii. Requête SNMP

c. Le mode OCSngd. Copie d’une partie de la base de données : Import et Export. 7e. Activer la planification

3. Comparons l’inventaire OCSng et fusion inventoryAnnexes :1. Log de l’installation d’OCSng

82. Configuration d’OCSng

133. Configuration du mode OCSng 204. Configuration de GLPI 265. Configuration de Fusion Inventory  28

Configuration utilisé :CentOS 6 sous VMware, à jour (yum update)2 cœurs, 512Mo de RAM, 20Go de mémoire morte

mercredi 11 avril 2012 Page 1

Page 2: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Installation d’OCS :Pré requis (serveur web)yum install httpdyum install phpyum install phpMyAdminyum install php-pecl-zipyum install php-gdyum install make

(bdd)yum install mysqlyum install php-mysqlyum install mysql-server yum install mysql-develchgrp -R mysql /var/lib/mysqlchmod -R 770 /var/lib/mysqlservice mysqld start

(perl)yum install perl-XML-Simpleyum install perl-Compress-Zlibyum install perl-DBIyum install perl-DBD-MySQL

récupérer le rpm : http://fedoraproject.org/wiki/EPELrpm –ivhepel-release-5-4.noarch.rpmyum install perl-Apache-DBI

yum install perl-XML-Entitiesyum install perl-Net-IP perl-SOAP-Litemod_perl

(SSL)http://wiki.ocsinventory-ng.org/index.php/Howtos:Install_OCS_on_debian/fropensslgenrsa -des3 -out nunux.key 1024mvnunux.keynunux-old.keyopensslrsa -in nunux-old.key -out nunux.keyopensslreq -new -key nunux.key -out nunux.csropenssl x509 -req -days 3650 -in nunux.csr -signkeynunux.key -out nunux.crtNB : il faut faire signer le certificat par un common-name différent de la machine.

Installation du serveurtar -xzvf OCSNG_UNIX_SERVER-2.0.4.tar.gzcd OCSNG_UNIX_SERVER-2.0.4./setup.sh voir log en annexe 1

Redémarrage d’apache : service mysqld restartservice httpd restart

mercredi 11 avril 2012 Page 2

Page 3: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Configuration du firewall :serviceiptables stopdésactive le firewall

Aller initialiser la BDD sur l’interface http://localhost/ocsreportsSi l’erreur sur dbconfig apparait :* chmod 777 dbconfig.phpdans /usr/share/ocsinventory-reports/ocsreports/* vim /etc/selinux/config à modifier de SELINUX=enforcingà SELINUX=disabled* reboot

Récupération des clefs registre : fonctionnel.

Installation du plugin MSOffice :l’installation est automatique. Il faut par la suite autoriser la modification du profil Administrateur ou super administrateur pour avoir accès au plugin sous l’interface de gestion directement : chmod 777 /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/conf/admin-config.confProblème rencontré : Dans notre cas, le fichier /usr/local/share/perl5/Apache/Ocsinventory/Map.pm n’a pas été modifié, ce que nous fîmes manuellement.http://wiki.ocsinventory-ng.org/index.php/Plugins:MSofficeKey/fr

Installation d’un client sous Unix :perl Makefile.PLtar -xzvfOcs rinventory-Agent-2.0.4.tar.gzcdOcsinventory-Agent-2.0.4makemake instally192.168.0.61 par exemple

mercredi 11 avril 2012 Page 3

Modification du moteur

Le fichier à modifier est Map.pm et se situe (pour linux) dans le répertoire

/usr/local/share/perl/5.10.0/Apache/Ocsinventory/#Plugin MS OFFICE PACK

officepack => {mask => 0,multi => 1,auto => 1,delOnReplace => 1,sortBy => 'OFFICEVERSION',writeDiff => 0,cache => 0,fields => {

OFFICEKEY => {},OFFICEVERSION => {},PRODUCT => {},PRODUCTID => {},TYPE => {},NOTE => {},

} },

Page 4: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Déploiement de l’agent sous windows : Créer le package options : /S /UPGRADE /NOW /NO_SYSTRAY /SSL=0

/SERVER=http://10.153.1.131/ocsinventory

Il faut l’uploader sur le serveur OCS dans config/agent. Il faut impérativement nommer le fichier : OCS-NG-Windows-Agent-Setup.exe

Normalement la BDD est configurée avec un max_allowed_packet=2MB mais ce n’est pas

suffisant pour le nouvel agent, il faut donc changer cette valeur dans /etc/my.cnf Déployer le fichier logon via le domaine, ou faire un batch qui l’exécute sur un partage

réseau. Les nouveaux clients seront opérationnels à la prochaine ouverture de session ou au

prochain démarrage selon ce qu’on a sélectionné dans la configuration du domaine.

mercredi 11 avril 2012 Page 4

Page 5: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Utilisation du déploiement d’OCS, une fois la configuration de celle-ci terminée(cf. annexe 2 p 12)1- Aller sur déploiement/création, remplir le formulaire, uploader les fichiers nécessaires dans

un zip (pas de rar). Dans la page suivante, je vous conseille d’écrire le nombre de fragment pour obtenir une taille inférieur à 2Mo pour des raisons de performance.

2- Aller sur déploiement/Activation. Si la configuration a été faite correctement, il suffit de cliquer sur OK (la coche) et aucun message d’erreur ne doit apparaitre.

3- Rechercher (via recherche multicritère par ex) les ordinateurs concernés. les sélectionner et cliquer sur l’icône du déploiement en bas de la liste. Sélectionner manuel dans la nouvelle fenêtre et assigner les packages en question.

4- Vous pouvez suivre l’évolution du déploiement à tout moment dans Activation. Deux logs sont créés sur le client : « c:\Documents and settings\All users\AppData\ » ou « C:\ProgramData\OCS Inventory NG\Agent » sous 7

Remarque : Le client empêche les packages de se déployer 2 fois.

Installation GLPI : Extraire glpi le copier dans le dossier web donner les droits nécessaires à glpi (chmod) Installer les plugins (extraire, copier puis installer via l’interface) lancer l’interface afin de créer la BDD

Le plugin Fusion Inventory : L’installationIl suffit de placer le contenu du plugin téléchargeable sur le site web de FI, dans le dossier /var/www/html/glpi/pluginsIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp, FI Inventory.On peut configurer les plugins maintenant. (cf annexe 3-4-5 p 18)

mercredi 11 avril 2012 Page 5

Page 6: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Le plugin Fusion Inventory : Installation de l’agentSous Windows, lancer l’installeur et remplir le champ serveur comme cela :http://10.153.1.131/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.phpSous Unix, lancer un yuminstallfusioninventory-agent (requiert epel)entrez la commande suivante pour renseigner l’adresse du serveur :fusioninventory-agent --serveur=http://10.153.1.131/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php

Le plugin Fusion Inventory : Découverte Réseauplugin> FI > Découverte réseau > ajouter un élément.On définit ici la plage IP à scanner. Faire Suivant 3 fois, les paramètres par défaut sont bons. Dans gestion des taches, ajouter un élément, puis remplir le formulaire, au fur et à mesure, ne pas oublier de rendre l’action active. Dans vecteur, je conseille de sélectionner manuellement l’agent.Exécuter la tâche, et importez tout le matériel que vous voulez.

Le plugin Fusion Inventory :Requette SNMPUne fois que le matériel est importé, il faut veiller à ce que le modèle snmp soit correct. Dans la moitié des cas il faut aller chercher le numéro dans la liste disponible dans plugins > FI >snmp> modèles snmp.*plugin> FI >Inventorier le matériel> ajouter un élément.Faire Suivant 3 fois, les paramètres par défaut sont bons mais il se peut que l’authentification ne soit pas celle du matériel concerné : il faut alors saisir la chaine de caractère manuellement. Par défaut c’est « public ». Dans gestion des taches, ajouter un élément, puis remplir le formulaire au fur et à mesure. Il faut rendre cette tache périodique afin que le matériel se mette à jour tout seul. Dans vecteur sélectionner manuellement l’agent qui peut être linux ou Windows, mais j’ai rencontré des problèmes avec le mode « push » sur Windows.Si tout est effectué correctement vous pouvez observer les informations récupérées dans l’inventaire.

* Les modèles snmpserv à mettre en relation les OID avec glpi, de manière à ce que les informations soient correctement affichées dans glpi

On peut aussi relancer de manière forcé l’inventaire snmp : plugins > FI >FusionInventory> Gestion des taches

Le mode OCSngDans glpi> configuration > générale : activer le mode OCSngDans configuration > mode OCSng : configurer et vérifier.Dans outils > OCSNG Importer les ordinateurs en question.

mercredi 11 avril 2012 Page 6

Page 7: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Copie d’une partie de la base de données : Import et Export.Même si une fonction de maintenance est disponible dans l’administration de Glpi, il peut être utile d’importer uniquement certaines tables. On peut accéder aux tables de la bdd dans /var/lib/mysql/[glpi]. Il est conseillé d’arrêter les services MySQL et httpd avant la manipulation et de les relancer ensuite.Ex : cp /home/iga_inventaire_2012/glpi_states.* /var/lib/mysql/GLPI@002d0@002e80/

Activer la planificationIl faut éditer cron pour qu’il appel FI afin qu’il exécute les taches planifiées.crontab –e* /1 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php&>/dev/nullAinsi, toutes les minutes la page cron.php sera consultée.

ComparonsLa fonction inventaire de FusionInventory peut remplacer OCSng. Ainsi en comparant les deux on s’aperçoit de plusieurs choses :Pour l’inventaire avec Fusion inventory Pour l’inventaire avec OCSng

Installation aisé sous unix Rapport des logiciels Interface web sur chaque agent, il permet de

voir l’état du client, et de lancer un inventaire manuellement.

Gestion multithread de l’inventaire SNMP Fonctionne sous Androids Facilité de déploiement sous unix un paquet à

installer + une commande pour configurer, c’est à jour contrairement à OCS

Directement intégré à GLPI

Taille du fichier d’échange + mémoire libre

Détails du composant de la CM, sans doute utile pour savoir si on peut intervenir dessus

Licence office Registre client léger et rapide (mémoire :

9MB contre 140 pour FI)

mercredi 11 avril 2012 Page 7

Page 8: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Annexe 1 : Log de l’installation d’OCSng

Starting OCS Inventory NG Management server setup on 2012-04-05-13-26-43from folder /home/OCS-GLPI-Unix/OCSNG_UNIX_SERVER-2.0.5Storing log in file /home/OCS-GLPI-Unix/OCSNG_UNIX_SERVER-2.0.5/ocs_server_setup.log

============================================================Checking OCS Inventory NG Management Server requirements...============================================================Checking for database server propertiesMySQL client distribution version 5.1.Computer seems to be running MySQL 4.1 or higherDatabase server is running on host localhostDatabase server is running on port 3306Checking for Apache web server daemonFound Apache daemon /usr/sbin/httpdUsing Apache daemon /usr/sbin/httpdChecking for Apache main configuration fileFound Apache HTTPD_ROOT /etc/httpdFound Apache SERVER_CONFIG_FILE conf/httpd.confFound Apache main configuration file /etc/httpd/conf/httpd.confUsing Apache main configuration file /etc/httpd/conf/httpd.confChecking for Apache user accountFound Apache user account apacheUsing Apache user account apacheChecking for Apache groupFound Apache user group apacheUsing Apache user group apacheChecking for Apache Include configuration directoryRedhat compliant Apache Include configuration directory conf.d/Found Apache Include configuration directory /etc/httpd/conf.d/Using Apache Include configuration directory /etc/httpd/conf.d/Checking for PERL InterpreterFound PERL Intrepreter at </usr/bin/perl>Using PERL Intrepreter /usr/bin/perl

============================================================Installing Communication server============================================================Checking for Make utilityMake utility found at </usr/bin/make>Checking for Apache mod_perl version 1.99_22 or highermod_perl 1.99_22 or higher is availableUsing mod_perl version 1.99_22 or higherChecking for Communication server log directoryUsing /var/log/ocsinventory-server as Communication server log directoryEntering Apache sub directory

Checking for DBI PERL modulePERL module DBI is availableChecking for Apache::DBI PERL modulePERL module Apache::DBI is availableChecking for DBD::mysql PERL modulePERL module DBD::mysql is availableChecking for Compress::Zlib PERL modulePERL module Compress::Zlib is availableChecking for XML::Simple PERL modulePERL module XML::Simple is availableChecking for Net::IP PERL modulePERL module Net::IP is availableChecking for SOAP::Lite PERL modulePERL module SOAP::Lite is availableChecking for XML::Entities PERL modulePERL module XML::Entities is availableConfiguring Communication server (perl Makefile.PL)Preparing Communication server Perl modules (make)cp Ocsinventory/Server/Inventory/Cache.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Cache.pmcp Ocsinventory/Server/Capacities/Snmp.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp.pmcp Ocsinventory.pm blib/lib/Apache/Ocsinventory.pmcp Ocsinventory/Server/Capacities/Snmp/Inventory.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp/Inventory.pmcp Ocsinventory/Server/Modperl2.pm blib/lib/Apache/Ocsinventory/Server/Modperl2.pmcp Ocsinventory/Server/Inventory/Capacities.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Capacities.pmcp Ocsinventory/Map.pm blib/lib/Apache/Ocsinventory/Map.pmcp Ocsinventory/Interface/Extensions.pm blib/lib/Apache/Ocsinventory/Interface/Extensions.pmcp Ocsinventory/Server/Inventory/Export.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Export.pmcp Ocsinventory/Server/Communication.pm blib/lib/Apache/Ocsinventory/Server/Communication.pmcp Ocsinventory/Server/Useragent.pm blib/lib/Apache/Ocsinventory/Server/Useragent.pmcp Ocsinventory/Server/Capacities/Snmp/Data.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp/Data.pmcp Ocsinventory/Interface/Updates.pm blib/lib/Apache/Ocsinventory/Interface/Updates.pmcp Ocsinventory/Interface/Database.pm blib/lib/Apache/Ocsinventory/Interface/Database.pmcp Ocsinventory/Server/Inventory.pm blib/lib/Apache/Ocsinventory/Server/Inventory.pmcp Ocsinventory/Interface/Ipdiscover.pm blib/lib/Apache/Ocsinventory/Interface/Ipdiscover.pmcp Ocsinventory/SOAP.pm blib/lib/Apache/Ocsinventory/SOAP.pmcp Ocsinventory/Interface/Config.pm blib/lib/Apache/Ocsinventory/Interface/Config.pmcp Ocsinventory/Interface/History.pm blib/lib/Apache/Ocsinventory/Interface/History.pm

mercredi 11 avril 2012 Page 8

Page 9: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

cp Ocsinventory/Server/Capacities/Registry.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Registry.pmcp Ocsinventory/Server/Inventory/Update/Hardware.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Update/Hardware.pmcp Ocsinventory/Server/Inventory/Update.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Update.pmcp Ocsinventory/Server/Capacities/Ipdiscover.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pmcp Ocsinventory/Server/Capacities/Filter.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Filter.pmcp Ocsinventory/Server/Inventory/Filter.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Filter.pmcp Ocsinventory/Server/Inventory/Data.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Data.pmcp Ocsinventory/Server/Capacities/Example.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Example.pmcp Ocsinventory/Interface/Inventory.pm blib/lib/Apache/Ocsinventory/Interface/Inventory.pmcp Ocsinventory/Server/System.pm blib/lib/Apache/Ocsinventory/Server/System.pmcp Ocsinventory/Server/Capacities/Notify.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Notify.pmcp Ocsinventory/Server/Capacities/Update.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Update.pmcp Ocsinventory/Server/Capacities/Datafilter.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Datafilter.pmcp Ocsinventory/Server/Capacities/Download/Inventory.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Download/Inventory.pmcp Ocsinventory/Interface.pm blib/lib/Apache/Ocsinventory/Interface.pmcp Ocsinventory/Server/Groups.pm blib/lib/Apache/Ocsinventory/Server/Groups.pmcp Ocsinventory/Server/Communication/Session.pm blib/lib/Apache/Ocsinventory/Server/Communication/Session.pmcp Ocsinventory/Server/Capacities/Download.pm blib/lib/Apache/Ocsinventory/Server/Capacities/Download.pmcp Ocsinventory/Server/Inventory/Update/AccountInfos.pm blib/lib/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pmcp Ocsinventory/Server/Support.pm blib/lib/Apache/Ocsinventory/Server/Support.pmcp Ocsinventory/Server/Constants.pm blib/lib/Apache/Ocsinventory/Server/Constants.pmcp Ocsinventory/Server/System/Config.pm blib/lib/Apache/Ocsinventory/Server/System/Config.pmcp Ocsinventory/Server/Modperl1.pm blib/lib/Apache/Ocsinventory/Server/Modperl1.pmcp Ocsinventory/Server/Duplicate.pm blib/lib/Apache/Ocsinventory/Server/Duplicate.pmcp Ocsinventory/Interface/Internals.pm blib/lib/Apache/Ocsinventory/Interface/Internals.pmInstalling Communication server Perl modules (make install)Installing /usr/local/share/perl5/Apache/Ocsinventory.pmAppending installation info to /usr/lib64/perl5/perllocal.podCreating Communication server log directory /var/log/ocsinventory-serverFixing Communication server log directory permissionsConfiguring logrotate (edlogrotate.ocsinventory-NG)

******** Begin updated logrotate.ocsinventory-server.local ***********# Rotate OCS Inventory NG Communication server logs daily# Save 7 days old logs in compressed mode/var/log/ocsinventory-server/*.log {

dailyrotate 7compressmissingok

}******** End updated logrotate.COM_SERVER_LOGROTATE_CONF_FILE.local ***********Removing old communication server logrotate file /etc/logrotate.d/ocsinventory-NGWriting communication server logrotate to file /etc/logrotate.d/ocsinventory-serverOK, using 'z-ocsinventory-server.conf' as Communication Server Apache configuration fileConfiguring Apache web server (file ocsinventory-server.conf)******** Begin updated ocsinventory-server.conf.local ***********################################################################################## OCS Inventory NG Communication Server Perl Module Setup## Copyleft 2006 Pascal DANEK# Web: http://www.ocsinventory-ng.org## This code is open source and may be copied and modified as long as the source# code is always made freely available.# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt################################################################################

<IfModulemod_perl.c>

# Which version of mod_perl we are using # Formod_perl<= 1.999_21, replace 2 by 1 # Formod_perl> 1.999_21, replace 2 by 2PerlSetEnv OCS_MODPERL_VERSION 2

# Master Database settings # Replace localhost by hostname or ip of MySQL server for WRITEPerlSetEnv OCS_DB_HOST localhost # Replace 3306 by port where running MySQL server, generally 3306PerlSetEnv OCS_DB_PORT 3306 # Name of databasePerlSetEnv OCS_DB_NAME ocswebPerlSetEnv OCS_DB_LOCAL ocsweb # User allowed to connect to databasePerlSetEnv OCS_DB_USER ocs # Password for userPerlSetVar OCS_DB_PWD ocs

# Slave Database settings

mercredi 11 avril 2012 Page 9

Page 10: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

# Replace localhost by hostname or ip of MySQL server for READ # Useful if you handle mysql slave databases # PerlSetEnv OCS_DB_SL_HOST localhost # Replace 3306 by port where running MySQL server, generally 3306 # PerlSetEnv OCS_DB_SL_PORT_SLAVE 3306 # User allowed to connect to database # PerlSetEnv OCS_DB_SL_USER ocs # Name of the database # PerlSetEnv OCS_DB_SL_NAME ocsweb # Password for user # PerlSetVar OCS_DB_SL_PWD ocs

# Path to log directory (must be writeable)PerlSetEnv OCS_OPT_LOGPATH "/var/log/ocsinventory-server"

# If you need to specify a mysql socket that the client's built-in #PerlSetEnv OCS_OPT_DBI_MYSQL_SOCKET "path/to/mysql/unix/socket" # DBI verbosityPerlSetEnv OCS_OPT_DBI_PRINT_ERROR 0

# Unicode supportPerlSetEnv OCS_OPT_UNICODE_SUPPORT 1

# If you are using a multi server architecture, # Put the ip addresses of the slaves on the master # (This is read as perl regular expressions)PerlAddVar OCS_OPT_TRUSTED_IP 127.0.0.1 #PerlAddVar OCS_OPT_TRUSTED_IP XXX.XXX.XXX.XXX

# ===== WEB SERVICE (SOAP) SETTINGS =====

PerlSetEnv OCS_OPT_WEB_SERVICE_ENABLED 0PerlSetEnv OCS_OPT_WEB_SERVICE_RESULTS_LIMIT 100 # PerlSetEnv OCS_OPT_WEB_SERVICE_PRIV_MODS_CONF "WEBSERV_PRIV_MOD_CONF_FILE"

# Be careful: you must restart apache to make settings taking effects

# Configure engine to use the settings from this file PerlSetEnv OCS_OPT_OPTIONS_NOT_OVERLOADED 0

# Try to use other compress algorythm than raw zlib # GUNZIP and clear XML are supportedPerlSetEnv OCS_OPT_COMPRESS_TRY_OTHERS 1

############################################################### ===== OPTIONS BELOW ARE OVERLOADED IF YOU USE OCS GUI =====###############################################################

# NOTE: IF YOU WANT TO USE THIS CONFIG FILE INSTEAD, set OCS_OPT_OPTIONS_NOT_OVERLOADED to '1'

# ===== MAIN SETTINGS =====

# Enable engine logs (see LOGPATH setting)

PerlSetEnv OCS_OPT_LOGLEVEL 0 # Specify agent's prolog frequencyPerlSetEnv OCS_OPT_PROLOG_FREQ 12 # Configure the duplicates detection systemPerlSetEnv OCS_OPT_AUTO_DUPLICATE_LVL 15 # Futur security improvementsPerlSetEnv OCS_OPT_SECURITY_LEVEL 0 # Validity of a computer's lockPerlSetEnv OCS_OPT_LOCK_REUSE_TIME 600 # Enable the history tracking system (useful for external data synchronisationPerlSetEnv OCS_OPT_TRACE_DELETED 0

# ===== INVENTORY SETTINGS =====

# Specify the validity of inventory dataPerlSetEnv OCS_OPT_FREQUENCY 0 # Configure engine to update inventory regarding to CHECKSUM agent value (lower DB backend load)PerlSetEnv OCS_OPT_INVENTORY_DIFF 1 # Make engine consider an inventory as a transaction (lower concurency, better disk usage)PerlSetEnv OCS_OPT_INVENTORY_TRANSACTION 1 # Configure engine to make a differential update of inventory sections (row level). Lower DB backend load, higher frontend loadPerlSetEnv OCS_OPT_INVENTORY_WRITE_DIFF 1 # Enable some stuff to improve DB queries, especially for GUI multicriteria searching systemPerlSetEnv OCS_OPT_INVENTORY_CACHE_ENABLED 1 # Specify when the engine will clean the inventory cache structuresPerlSetEnv OCS_OPT_INVENTORY_CACHE_REVALIDATE 7 # Enable you to keep trace of every elements encountered in db lifePerlSetEnv OCS_OPT_INVENTORY_CACHE_KEEP 1

# ===== SOFTWARES DEPLOYMENT SETTINGS =====

# Enable this featurePerlSetEnv OCS_OPT_DOWNLOAD 0 # Package wich have a priority superior than this value will not be downloadedPerlSetEnv OCS_OPT_DOWNLOAD_PERIOD_LENGTH 10 # Time between two download cycles (bandwidth control)PerlSetEnv OCS_OPT_DOWNLOAD_CYCLE_LATENCY 60 # Time between two fragment downloads (bandwidth control)PerlSetEnv OCS_OPT_DOWNLOAD_FRAG_LATENCY 60 # Specify if you want to track packages affected to a group on computer's levelPerlSetEnv OCS_OPT_DOWNLOAD_GROUPS_TRACE_EVENTS 1 # Time between two download periods (bandwidth control)PerlSetEnv OCS_OPT_DOWNLOAD_PERIOD_LATENCY 60 # Agents will send ERR_TIMEOUT event and clean the package it is older than this settingPerlSetEnv OCS_OPT_DOWNLOAD_TIMEOUT 7 # Number of cycle within a period

# Enable ocs engine to deliver agent's files (deprecated)PerlSetEnv OCS_OPT_DEPLOY 0 # Enable the softwares deployment capacity (bandwidth control)

mercredi 11 avril 2012 Page 10

Page 11: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

# ===== GROUPS SETTINGS =====

# Enable the computer\s groups featurePerlSetEnv OCS_OPT_ENABLE_GROUPS 1 # Random number computed in the defined range. Designed to avoid computing many groups in the same processPerlSetEnv OCS_OPT_GROUPS_CACHE_OFFSET 43200 # Specify the validity of computer's groups (default: compute it once a day - see offset)PerlSetEnv OCS_OPT_GROUPS_CACHE_REVALIDATE 43200

# ===== IPDISCOVER SETTINGS =====

# Specify how much agent per LAN will discovered connected peripherals (0 to disable)PerlSetEnv OCS_OPT_IPDISCOVER 2 # Specify the minimal difference to replace an ipdiscover agentPerlSetEnv OCS_OPT_IPDISCOVER_BETTER_THRESHOLD 1 # Time between 2 arp requests (mini: 10 ms)PerlSetEnv OCS_OPT_IPDISCOVER_LATENCY 100 # Specify when to remove a computer when it has not come until this periodPerlSetEnv OCS_OPT_IPDISCOVER_MAX_ALIVE 14 # Disable the time before a first election (not recommended)PerlSetEnv OCS_OPT_IPDISCOVER_NO_POSTPONE 0 # Enable groups for ipdiscover (for example, you might want to prevent some groups to be ipdiscover agents)PerlSetEnv OCS_OPT_IPDISCOVER_USE_GROUPS 1

# ===== INVENTORY FILES MAPPING SETTINGS =====

# Use with ocsinventory-injector, enable the multi entities featurePerlSetEnv OCS_OPT_GENERATE_OCS_FILES 0 # Generate either compressed file or clear XML textPerlSetEnv OCS_OPT_OCS_FILES_FORMAT OCS # Specify if you want to keep trace of all inventory between to synchronisation with the higher level serverPerlSetEnv OCS_OPT_OCS_FILES_OVERWRITE 0 # Path to ocs files directory (must be writeable)PerlSetEnv OCS_OPT_OCS_FILES_PATH /tmp

# ===== FILTER SETTINGS =====

# Enable prolog filter stackPerlSetEnv OCS_OPT_PROLOG_FILTER_ON 0 # Enable core filter system to modify some things "on the fly"PerlSetEnv OCS_OPT_INVENTORY_FILTER_ENABLED 0# Enable inventory flooding filter. A dedicated ipaddressia allowed to send a new computer only once in this periodPerlSetEnv OCS_OPT_INVENTORY_FILTER_FLOOD_IP 0 # Period definition for INVENTORY_FILTER_FLOOD_IPPerlSetEnv OCS_OPT_INVENTORY_FILTER_FLOOD_IP_CACHE_TIME 300 # Enable inventory filter stackPerlSetEnv OCS_OPT_INVENTORY_FILTER_ON 0

# ===== DATA FILTER =====

#Enable the dat filtering capacityPerlSetEnv OCS_OPT_DATA_FILTER 0

# Set the table names and the field associated you want to filter #PerlAddVar OCS_OPT_DATA_TO_FILTER HARDWARE #PerlAddVar OCS_OPT_DATA_TO_FILTER USERID

# ===== REGISTRY SETTINGS =====

# Enable the registry capacityPerlSetEnv OCS_OPT_REGISTRY 1

# ===== SNMP SETTINGS =====

# Enable the SNMP capacityPerlSetEnv OCS_OPT_SNMP 0

# Configure engine to update snmp inventory regarding to snmp_laststate table (lower DB backend load)PerlSetEnv OCS_OPT_SNMP_INVENTORY_DIFF 1

# ===== SESSION SETTINGS =====# Not yet in GUI

# Validity of a session (prolog=>postinventory)PerlSetEnv OCS_OPT_SESSION_VALIDITY_TIME 600 # Consider a session obsolete if it is older thant this valuePerlSetEnv OCS_OPT_SESSION_CLEAN_TIME 86400 # Accept an inventory only if required by server#( Refuse "forced" inventory)PerlSetEnv OCS_OPT_INVENTORY_SESSION_ONLY 0

# ===== TAG =====

# The default behavior of the server is to ignore TAG changes from the # agent.PerlSetEnv OCS_OPT_ACCEPT_TAG_UPDATE_FROM_CLIENT 0

# ===== SUPPORT =====

# OCS Inventory NG support activationPerlSetEnv OCS_OPT_SUPPORT 1

# ===== EXTERNAL USERAGENTS =====

#Path for external useragents reference file #!! WARNING !! : external agents may not be supported by OCS NG Community ! #PerlSetEnv OCS_OPT_EXT_USERAGENTS_FILE_PATH /tmp/yourfile.txt

# ===== DEPRECATED =====

# Set the proxy cache validity in http headers when sending a filePerlSetEnv OCS_OPT_PROXY_REVALIDATE_DELAY 3600 # DeprecatedPerlSetEnv OCS_OPT_UPDATE 0

############ DO NOT MODIFY BELOW ! #######################

mercredi 11 avril 2012 Page 11

Page 12: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

# External modulesPerlModule Apache::DBIPerlModule Compress::ZlibPerlModule XML::Simple

# OcsPerlModule Apache::OcsinventoryPerlModule Apache::Ocsinventory::Server::ConstantsPerlModule Apache::Ocsinventory::Server::SystemPerlModule Apache::Ocsinventory::Server::CommunicationPerlModule Apache::Ocsinventory::Server::InventoryPerlModule Apache::Ocsinventory::Server::DuplicatePerlModule Apache::Ocsinventory::Server::Support

# CapacitiesPerlModule Apache::Ocsinventory::Server::Capacities::RegistryPerlModule Apache::Ocsinventory::Server::Capacities::UpdatePerlModule Apache::Ocsinventory::Server::Capacities::IpdiscoverPerlModule Apache::Ocsinventory::Server::Capacities::DownloadPerlModule Apache::Ocsinventory::Server::Capacities::NotifyPerlModule Apache::Ocsinventory::Server::Capacities::Snmp # This module guides you through the module creation # PerlModule Apache::Ocsinventory::Server::Capacities::Example # This module adds some rules to filter some request sent to ocs server in the prolog and inventory stages # PerlModule Apache::Ocsinventory::Server::Capacities::Filter # This module add availibity to filter data from HARDWARE section (data filtered won't be stored in database) # PerlModule Apache::Ocsinventory::Server::Capacities::Datafilter

# PerlTaintCheck On

# SSL apache settings #SSLEngine "SSL_ENABLE" #SSLCertificateFile "SSL_CERTIFICATE_FILE" #SSLCertificateKeyFile "SSL_CERTIFICATE_KEY_FILE" #SSLCACertificateFile "SSL_CERTIFICATE_FILE" #SSLCACertificatePath "SSL_CERTIFICATE_PATH" #SSLVerifyClient "SSL_VALIDATE_CLIENT"

# Engine apache settings # "Virtual" directory for handling OCS Inventory NG agents communications # Be careful, do not create such directory into your web server root document !<Location /ocsinventory>

orderdeny,allowallow from all# If you protect this area you have to deal with

http_auth_* agent's parameters# AuthType Basic# AuthName "OCS Inventory agent area"# AuthUserFile "APACHE_AUTH_USER_FILE"# require valid-user

SetHandlerperl-scriptPerlHandler Apache::Ocsinventory</Location>

# Web service apache settingsPerlModule Apache::Ocsinventory::SOAP

<location /ocsinterface>SetHandlerperl-scriptPerlHandler "Apache::Ocsinventory::SOAP"

# By default, you can query web service from everywhere with a valid user Order deny,allow Allow from all

AuthType BasicAuthName "OCS Inventory SOAP Area"# Use htpasswd to create/update soap-user (or

another granted user)AuthUserFile "APACHE_AUTH_USER_FILE"require "SOAP_USER"

</location></IfModule>

******** End updated ocsinventory-server.conf.local ***********Removing old communication server configuration to file /etc/httpd/conf.d//ocsinventory.confWriting communication server configuration to file /etc/httpd/conf.d//z-ocsinventory-server.confLeaving Apache directoryCommunication server installation successfull

============================================================Installing Administration server============================================================Checking for Administration Server directories...Using directory /usr/share/ocsinventory-reports for static filesUsing /var/lib/ocsinventory-reports as writable/cache directoryChecking for DBI PERL modulePERL module DBI is availableChecking for DBD::mysql PERL modulePERL module DBD::mysql is availableChecking for XML::Simple PERL modulePERL module XML::Simple is availableChecking for Net::IP PERL modulePERL module Net::IP is availableCreating PHP directory /usr/share/ocsinventory-reports/ocsreportsCopying PHP files to /usr/share/ocsinventory-reports/ocsreportsFixing permissions on directory /usr/share/ocsinventory-reports/ocsreportsCreating database configuration file /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.phpCreating IPDiscover directory /var/lib/ocsinventory-reports/ipdFixing permissions on directory /var/lib/ocsinventory-reports/ipdCreating packages directory /var/lib/ocsinventory-reports/downloadFixing permissions on directory /var/lib/ocsinventory-reports/download

mercredi 11 avril 2012 Page 12

Page 13: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Creating Administration server log files directory /var/lib/ocsinventory-reports/logsFixing permissions on directory /var/lib/ocsinventory-reports/logsCreating Administration server scripts log files directory /var/lib/ocsinventory-reports/scriptsFixing permissions on directory /var/lib/ocsinventory-reports/scriptsConfiguring IPDISCOVER-UTIL Perl script (ed ipdiscover-util.pl)Installing IPDISCOVER-UTIL Perl scriptFixing permissions on IPDISCOVER-UTIL Perl scriptConfiguring Apache web server (file ocsinventory-reports.conf)******** Begin updated ocsinventory-reports.conf.local ***********################################################################################## OCS Inventory NG Administration Server## Copyleft 2008 OCS Inventory NG Team# Web: http://www.ocsinventory-ng.org## This code is open source and may be copied and modified as long as the source# code is always made freely available.# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt################################################################################

## ANY CHANGE ON THIS FILE REQUIRES APACHE RESTART TO TAKE EFFECT#

################################################################################# Administration console public pages# # Alias used to put Administration Server static page (typically PHP) outside# Apache document root directory#Alias /ocsreports /usr/share/ocsinventory-reports/ocsreports

<Directory /usr/share/ocsinventory-reports/ocsreports> # By default, users can use console from everywhere Order deny,allow Allow from all

Options Indexes FollowSymLinksDirectoryIndexindex.phpAllowOverride Options

# Uncomment following to force use of HTTPS in Administration Server #SSLRequireSSL

# PHP tuning (not working on all distribution, use php.ini instead)AddType application/x-httpd-php .phpphp_flagfile_uploads on # Some PHP tuning for deployement feature up to 8 MB # post_max_size must be greater than upload_max_filesize # because of HTTP headers php_valuepost_max_size 101mphp_valueupload_max_filesize 100m # You may have to uncomment following on errors #php_valuemax_execution_time -1 #php_valuemax_input_time -1

#!! Mandatory !! : set magic_quotes_gpc to off (to make ocsreports works correctly)php_flagmagic_quotes_gpc off

# Uncomment following to allow HTTP body request up to 4 MB # instead default 512 KB #LimitRequestBody 4194304

# Uncomment following if you need to specify a mysql socket #php_valuemysql.default_socket "path/to/mysql/unix/socket"

</Directory>

################################################################################# Deployment packages download area# # Alias to put Deployement package files outside Apache document root directory#Alias /download /var/lib/ocsinventory-reports/download******** End updated ocsinventory-reports.conf.local ***********Writing communication server configuration to file /etc/httpd/conf.d//ocsinventory-reports.confAdministration server installation successfull

mercredi 11 avril 2012 Page 13

Page 14: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Annexe 2 : Config de OCSng

mercredi 11 avril 2012 Page 14

Page 15: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

mercredi 11 avril 2012 Page 15

Page 16: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

mercredi 11 avril 2012 Page 16

Page 17: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

mercredi 11 avril 2012 Page 17

Page 18: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

mercredi 11 avril 2012 Page 18

Page 19: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

mercredi 11 avril 2012 Page 19

Page 20: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

mercredi 11 avril 2012 Page 20

Page 21: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Annexe 3 : Config de OCSng dans glpi

Serveur OCSNG - ID 1

Nom : Version : 6008

Hôte de la base de données OCSNG :

Commentaires :

Nom de la base de données OCSNG :

Utilisateur de la base de données OCSNG :

Mot de passe de l'utilisateur OCSNG :

Base de données OCSNG en UTF8 :

Actif :Dernière modification :

12-04-2012 18:28

Connexion à la base de données OCSNG

Connexion à la base de données OCSNG réussie

Version et Configuration OCSNG valide

Connexion à la base de données OCSNG

Connexion à la base de données OCSNG réussie

Version et Configuration OCSNG valide

Chemin d'accès web de la console OCSNG

Options d'importation

Limiter l'importation aux tags suivants (séparateur $, rien pour tous)

mercredi 11 avril 2012 Page 21

localhost

localhost

ocsweb

Non

Oui

Actualiser Purger 1

1

Page 22: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Exclure les tags suivants (séparateur $, rien pour aucun)

Statut par défaut

Comportement lors de la déconnexion

Périphériques

Moniteurs

Imprimantes

Logiciels

Volumes

Utiliser le dictionnaire logiciel d'OCSNG

Base de registre

Machines virtuelles

Nombre d'éléments à synchroniser via l'action automatique ocsng

Comportement à la suppression d'un ordinateur dans OCSNG

Pas d'import : GLPI n'importera pas ces élémentsImport global : tout est importé mais le matériel est géré de manière globale (sans doublons)Import unique : tout est importé tel quel

Informations générales Ordinateurs

Composants Informations administratives OCSNG

Nom

Système d'exploitation

Numéro de série du système d'exploitation

Processeur

Mémoire

Disque dur

Numéro d'inventaire

Lieu

Groupe

mercredi 11 avril 2012 Page 22

OK

Conserver

Import global

Import global

Pas d'import

Pas d'import

Oui

Oui

Oui

Oui

1

Mettre à la corbeille

Valider

1

Oui

Oui

Oui

Oui

Oui

Oui

Page 23: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Numéro de série

Modèle

Fabricant

Type

Domaine

Usager

Commentaires

IP

UUID

Carte réseau

Carte graphique

Carte son

Lecteurs

Modems

Ports

Usager numéro

Réseau

Informations générales Moniteurs

Commentaires

0.112s - 19962864 GLPI 0.80.7 Copyright (C) 2003-2012 by the INDEPNET Development Team.

Configuration générale

Texte sur la page de connexion :

Autoriser la consultation anonyme de la FAQ :

Lien Aide dans l'interface simplifiée :

Nombre maximum de résultats de la recherche à afficher par page :

Lien Aide dans l'interface standard :

Nombre de caractères maximum pour le résumé des

Nombre maximum de caractères affichés pour les URL :

mercredi 11 avril 2012 Page 23

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Oui

Non

Valider

1

Oui

50

250 30

Page 24: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

zones de texte :

Nombre de décimales pour les montants :

Format d'affichage des graphiques pour les statistiques :

Affichage dynamique

Utiliser l'affichage dynamique pour les listes déroulantes et les champs texte :

Personnalisation

Nombre maximum de résultats de la recherche à afficher par page :

Format des dates :

Nombre de caractères maximum pour les listes déroulantes :

Format des nombres :

Afficher le nom complet dans les listes déroulantes arborescentes :

Ordre d'affichage du nom complet :

Délimiteur CSV :

Montrer les ID GLPI : Langue par défaut :

Assistance

Suivis privés par défaut :Montrer les nouveaux tickets sur la page d'accueil :

Tâches privées par défaut :

Source de la demande :

Couleurs des priorités : 1 : 2 : 3 : 4 : 5 : 6 :

Catégorie de logiciels

mercredi 11 avril 2012 Page 24

2 SVG

Non

Valider

1

15 JJ-MM-AAAA

50 1 234,56

Non Nom de famille Prénom

;

Non Français

Non Non

Non Helpdesk

#fff2f2 #ffe0e0 #ffcece #ffbfbf #ffadad #ff5555

Page 25: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Déplier les logiciels appartenant à une catégorie :

Déplier les logiciels sans catégorie :

Inventaire

Activer le mode OCSNG :

Restreindre la gestion des moniteurs :

Activer les informations financières et administratives par défaut :

Restreindre la gestion des périphériques :

Catégorie des logiciels supprimés par les règles du dictionnaire :

Restreindre la gestion des téléphones :

Date de début de l'exercice fiscal :

Restreindre la gestion des imprimantes :

Champs automatiques (marqués par *) :

Mise à jour automatique des éléments connectés directement aux ordinateurs (Gestion unitaire)

Usager Utilisateur Groupe Lieu Statut

Lors de la connexion ou mise à jour :

Lors de la déconnexion :

mercredi 11 avril 2012 Page 25

Oui Oui

Valider

1

Oui Non

Oui Non

FUSIONNon

2012-12-31Non

Par entité

Copier Copier Copier Copier Conserver le statut

Ne pas effacer Ne pas effacer Ne pas effacer Ne pas effacer Conserver le statut

Page 26: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Assistance

Catégorie du ticket obligatoire :

Pas pour les horaires :

Minute(s)

Titre du ticket obligatoire :

Limite des horaires pour le planning :

->

Contenu du ticket obligatoire :

Taille maximale des fichiers importés par le collecteur (Valeur par défaut) :

Affectation automatique des tickets :

Rubrique par défaut pour les documents liés aux tickets :

Clôture automatique des tickets résolus après :

Jour(s)

Logiciels associables à un ticket par défaut :

Conserver les tickets à la purge d'un élément de l'inventaire :

Autoriser les ouvertures de tickets anonymes (helpdesk.html, collecteur) :

Matrice de calcul de la priorité

Impact :Très haut : Haut : Moyen : Bas : Très bas :

Urgence :

Très haute :

mercredi 11 avril 2012 Page 26

Valider

Non5

Non08:00

20:00

Oui 2 Mio

Non

Oui

Non Non

1

Oui Oui 1 Oui Oui

Oui Très haute Très haute Haute Moyenne Basse

Page 27: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Haute :

Moyenne :

Basse :

Très basse :

mercredi 11 avril 2012 Page 27

Oui Très haute Haute Haute Moyenne Basse

1 Haute Haute Moyenne Basse Basse

Oui Moyenne Moyenne Basse Basse Très basse

Oui Basse Basse Basse Très basse Très basse

1 Valider

Page 28: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Annexe 4 : Config Générale de glpi

Configuration générale

Niveau de journalisation :

Nombre maximum d'actions automatiques simultanées (exécution CLI) :

Traceurs dans fichiers (SQL, courriel, action automatique...) :

Activer le réplicat MySQL :

Vérifier la présence de mises à jour - Configuration du proxy

Serveur : Port :

Identifiant : Mot de passe :

Informations sur le système, l'installation et la configuration

[code]

GLPI 0.80.7 (/glpi-0.80 => /var/www/html/glpi-0.80)

Server

Operating Systems : Linux IVLV-OCSINVENTORY 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64PHP 5.3.3 (Core, PDO, Phar, Reflection, SPL, SimpleXML, apache2handler, bz2, calendar, ctype, curl, date, dom, ereg, exif,

fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, pdo_mysql,

pdo_sqlite, session, shmop, soap, sockets, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib)Setup: memory_limit="128M" max_execution_time="30" safe_mode="" session.save_handler="files" post_max_size="8M"

upload_max_filesize="2M"Software: Apache/2.2.15 (CentOS) (Apache/2.2.15 (CentOS) Server at 10.153.1.131 Port 80)

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19MySQL: 5.1.61 (root@localhost/GLPI-0.80)

mercredi 11 avril 2012 Page 28

1

5- Complet (Tout) 1

Oui Non

proxy.iga.fr 8080

Valider

Page 29: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

../config : OK

../files : OK

../files/_dumps : OK

../files/_sessions : OK

../files/_cron : OK

../files/_cache/ : OK

../files/_graphs : OK

../files/_log : OK

Mysqlreplicate

Active : No

Notifications / Mail Receiver

Way of sending emails: PHPMail Receiver

OCS Inventory NG

Host for the OCSNG database : 'localhost', Connection to OCSNG database successful, Use the OCSNG software dictionary : 1

Plugins list

fusioninventoryName:FusionInventory Version :0.80+1.1 Status :Enabled

fusinvdeployName:FusionInventory DEPLOY Version :0.80+1.1 Status :Not installed

fusinvinventoryName:FusionInventory INVENTORY Version :0.80+1.1 Status :Enabled

fusinvsnmpName:FusionInventory SNMP Version :0.80+1.1 Status :Enabled

genericobjectName:Gestiond'objets Version :2.0.2 Status :Not installed

pdfName:Impressionpdf Version :0.80.3 Status :Enabled

monitoring Name:Monitoring Version :0.80+1.2 Status :Not installed

manufacturersimpName:Suppliers imports Version :1.4.2 Status :Enabled

[/code]

mercredi 11 avril 2012 Page 29

Page 30: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Annexe 5 : Config de FI dans GLPI

SSL seulement pour l'agent :Fréquence des inventaires (en heures) :

Effacer les tâches terminées après : jour(s) Port de l'agent :

Extra-debug :

SSL seulement pour l'agent :Fréquence des inventaires (en heures) :

Effacer les tâches terminées après : jour(s) Port de l'agent :

Extra-debug :

ModuleActivation (par défaut)

Exceptions

WakeOnLan

ModuleActivatio

n (par défaut)

Exceptions

mercredi 11 avril 2012 Page 30

1

Non 1

20 62354

Non

Actualiser

Non 1

20 62354

Non

Actualiser

Ajouter >>

<< Supprimer

IVLV-OCSINVENTORY-2012-04-05-19-53-04

Actualiser

1

Page 31: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Inventaire

ModuleActivatio

n (par défaut)

Exceptions

Inventaire distant des hôtes VMware

URL d'accès au service

ModuleActivatio

n (par défaut)

Exceptions

Inventaire réseau (SNMP)

mercredi 11 avril 2012 Page 31

Ajouter >>

<< Supprimer

Actualiser

2

Ajouter >>

<< Supprimer

http://10.153.1.131/glpi-0.80/plugins/fusinvinventory/b/esx/

Actualiser

3

Ajouter >>

<< Supprimer

Page 32: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

ModuleActivation (par défaut)

Exceptions

Découverte réseau

Options d'importation

Moniteurs :

* Pas d'import : Cette option ne va pas importer l'élément

* Import global : Cette option va fusionner les éléments qui ont le même nom et donc réduire le nombre d'élément si cette gestion n'est pas importante

* Import unique : Cette option va créer un élément pour chaque élément trouvé

* Import unique sur numéro de série : Cette option va créer un élément pour chaque élément qui a un numéro de série

Composants

Imprimantes : * Pas

d'import : Cette option ne va pas importer l'élément

* Import global : Cette option va fusionner les éléments

Processeur :

mercredi 11 avril 2012 Page 32

Actualiser

4

Ajouter >>

<< Supprimer

IVLV-OCSINVENTORY-2012-04-05-19-53-04

Actualiser

5

Pas d'import

Pas d'import Non

Page 33: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

qui ont le même nom et donc réduire le nombre d'élément si cette gestion n'est pas importante

* Import unique : Cette option va créer un élément pour chaque élément trouvé

* Import unique sur numéro de série : Cette option va créer un élément pour chaque élément qui a un numéro de série

Périphériques :

* Pas d'import : Cette option ne va pas importer l'élément

* Import global : Cette option va fusionner les éléments qui ont le même nom et donc réduire le nombre d'élément si cette gestion n'est pas importante

* Import unique : Cette option va créer un élément pour chaque élément trouvé

* Import unique sur numéro de série : Cette option va créer un élément pour chaque élément qui a un numéro de série

Mémoire :

Logiciels : Disque dur :

Volumes : Carte réseau :

Antivirus :Carte réseau virtuelle :

Carte graphique :

Carte son :

Machines virtuelles :

Lecteurs :

Lieu :Volumes réseau :

Groupe : Contrôleurs :

mercredi 11 avril 2012 Page 33

Pas d'import

Non

Non Non

Non Non

Non Non

Non

Oui

Non Oui

------ Oui

------ Oui

Page 34: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

Statut par défaut :

Transfert automatique d'ordinateurs

Modèle pour le transfert automatique d'ordinateurs dans une autre entité :

Stockage de l'authentification SNMP :

Nombre de threads (découverte réseau) :

Nombre de threads (inventaire réseau (snmp)) :

Configuration de l'historique

Liste des champs à historiser Rétention en jours

réseaux > port > description du port

réseaux > port > numéro index

réseaux > port > nombre d'erreurs en entrée

réseaux > port > nombre d'octets en entrée

réseaux > port > statut interne

réseau > ports > dernier changement

réseaux > port >mtu

réseaux > port > nom

réseaux > port > nombre d'erreurs en sortie

réseaux > port > nombre d'octets en sortie

mercredi 11 avril 2012 Page 34

complete

Actualiser

Base de données

1 1

Actualiser

Jamais

Jamais

Jamais

Jamais

Jamais

Jamais

Jamais

Jamais

Jamais

Jamais

Page 35: paulosite.free.frpaulosite.free.fr/RDS/Docs/202 - Installation GLPI.docx · Web viewIl faut ensuite l’installer et l’activer dans l’interface de glpi, lui ainsi que FI snmp,

IGA Voyages Installation de Centreon CESPaul-Emmanuel XUEREF

réseaux > port > vitesse

réseaux > port > statut de la connexion

réseaux > adresse MAC

réseaux > port > type de duplex

imprimante > port > numéro index

imprimante > port > nom

mercredi 11 avril 2012 Page 35

Jamais

Jamais

Jamais

Jamais

Jamais

Jamais

history Actualiser

Nettoyer