You are not logged in.
Pages: 1
Bonjour,
Je teste une règle métiers pour les matériels pour mettre automatiquement un technicien et un groupe technique sur un ORDINATEUR (import et mise a jour).
La règle est dans l'entité root (+sous-entités), l'ordinateur dans une sous-entité. Le test du moteur de règle dans la sous entité annonce bien les nouvelles valeurs pour les deux champs.
Il n'y a pas de verrou sur les champs.
Apres avoir forcer l'inventaire du PC (fusionInventory) les 2 champs sont toujours "vierges", alors que je peux les attribuer manuellement sans soucis.
GLPI 9.4.5 (/glpi => C:\xampp\htdocs\glpi)
Installation mode: TARBALL
Server
Operating system: Windows NT EPIGLPI3 10.0 build 14393 (Windows Server 2016) AMD64
PHP 7.3.5 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apcu, bcmath, bz2,
calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring,
mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, readline, session, standard, tokenizer, wddx, xml, xmlreader, xmlrpc,
xmlwriter, zip, zlib)
Setup: max_execution_time="600" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files"
upload_max_filesize="2M"
Software: Apache/2.4.39 (Win64) mod_authnz_sspi/0.1.1 OpenSSL/1.1.1b PHP/7.3.5 (Apache/2.4.39 (Win64) mod_authnz_sspi/0.1.1
OpenSSL/1.1.1b PHP/7.3.5 Server at epiglpi.****.local Port 80)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Server Software: mariadb.org binary distribution
Server Version: 10.1.39-MariaDB
Server SQL Mode:
Parameters: root@localhost/glpi
Host info: localhost via TCP/IP
mysqli extension is installed
ctype extension is installed
fileinfo extension is installed
json extension is installed
mbstring extension is installed
iconv extension is installed
zlib extension is installed
curl extension is installed
gd extension is installed
simplexml extension is installed
xml extension is installed
ldap extension is installed
imap extension is installed
Zend OPcache extension is installed
APCu extension is installed
xmlrpc extension is installed
CAS extension is installed
exif extension is installed
Database version seems correct (10.1.39) - Perfect!Database version seems correct (10.1.39) - Perfect!
OKC:\xampp\htdocs\glpi/files/_log : OK
OKC:\xampp\htdocs\glpi/config : OK
OKC:\xampp\htdocs\glpi/files : OK
OKC:\xampp\htdocs\glpi/files/_dumps : OK
OKC:\xampp\htdocs\glpi/files/_sessions : OK
OKC:\xampp\htdocs\glpi/files/_cron : OK
OKC:\xampp\htdocs\glpi/files/_graphs : OK
OKC:\xampp\htdocs\glpi/files/_lock : OK
OKC:\xampp\htdocs\glpi/files/_plugins : OK
OKC:\xampp\htdocs\glpi/files/_tmp : OK
OKC:\xampp\htdocs\glpi/files/_cache : OK
OKC:\xampp\htdocs\glpi/files/_rss : OK
OKC:\xampp\htdocs\glpi/files/_uploads : OK
OKC:\xampp\htdocs\glpi/files/_pictures : OK
Web access to the files directory should not be allowed but this cannot be checked automatically on this instance.
Make sure acces to error log file is forbidden; otherwise review .htaccess file and web server configuration.
Libraries
htmLawed version 1.2.4 in (C:\xampp\htdocs\glpi\lib\htmlawed)
phpmailer/phpmailer version 6.0.7 in (C:\xampp\htdocs\glpi\vendor\phpmailer\phpmailer\src)
simplepie/simplepie version 1.5.2 in (C:\xampp\htdocs\glpi\vendor\simplepie\simplepie\library)
tecnickcom/tcpdf version 6.2.26 in (C:\xampp\htdocs\glpi\vendor\tecnickcom\tcpdf)
michelf/php-markdown in (C:\xampp\htdocs\glpi\vendor\michelf\php-markdown\Michelf)
true/punycode in (C:\xampp\htdocs\glpi\vendor\true\punycode\src)
iamcal/lib_autolink in (C:\xampp\htdocs\glpi\vendor\iamcal\lib_autolink)
sabre/vobject in (C:\xampp\htdocs\glpi\vendor\sabre\vobject\lib)
zendframework/zend-cache in (C:\xampp\htdocs\glpi\vendor\zendframework\zend-cache\src)
zendframework/zend-i18n in (C:\xampp\htdocs\glpi\vendor\zendframework\zend-i18n\src)
zendframework/zend-serializer in (C:\xampp\htdocs\glpi\vendor\zendframework\zend-serializer\src)
monolog/monolog in (C:\xampp\htdocs\glpi\vendor\monolog\monolog\src\Monolog)
sebastian/diff in (C:\xampp\htdocs\glpi\vendor\sebastian\diff\src)
elvanto/litemoji in (C:\xampp\htdocs\glpi\vendor\elvanto\litemoji\src)
symfony/console in (C:\xampp\htdocs\glpi\vendor\symfony\console)
leafo/scssphp in (C:\xampp\htdocs\glpi\vendor\leafo\scssphp\src)
phpCas version 1.3.8 in (C:\xampp\htdocs\glpi\vendor\jasig\phpcas\source)
SQL replicas
Not active
Notifications
Way of sending emails: SMTP (anonymous@10.130.70.4)
Mails receivers
Name: '59380@10.130.224.1' Active: No
Server: '{10.130.224.1/imap/validate-cert/notls}' Login: '59380' Password: Yes
Name: 'assistance.epi@****.com' Active: Yes
Server: '{imap-mail.outlook.com:993/imap/ssl/validate-cert/notls}' Login: 'MCBX60@****.com' Password: Yes
Plugins list
databases Name: Bases de données Version: 2.2.1 State: Enabled
positions Name: Cartographie Version: 4.6.0 State: Enabled
fields Name: Champs supplémentaires Version: 1.10.3 State: Enabled
behaviors Name: Comportements Version: 2.2.2 State: Enabled
accounts Name: Comptes Version: 2.5.0 State: Enabled
domains Name: Domaines Version: 2.1.0 State: Enabled
formcreator Name: Form Creator Version: 2.9.1 State: Enabled
fusioninventory Name: FusionInventory Version: 9.4+2.4 State: Enabled
order Name: Gestion des commandes Version: 2.5.3 State: Enabled
tag Name: Gestion des tags Version: 2.6.0 State: Enabled
dashboard Name: Tableau de bord Version: 0.9.8 State: Enabled
Last edited by jujunea (2020-04-17 02:15:18)
Prod === Glpi : 10.0.10
Prod === PHP 8.1.2
Prod === Ubuntu 22.04
Offline
Hello, apres un nettoyage des règles tout fonctionne. Merci
A fermer
Last edited by jujunea (2020-04-16 23:56:26)
Prod === Glpi : 10.0.10
Prod === PHP 8.1.2
Prod === Ubuntu 22.04
Offline
Sujet dédié ouvert ici : https://forum.glpi-project.org/viewtopi … 61#p486861
Was:
Bonjour @jujunea et les autres,
C'est quoi un "nettoyage des règles" ?
J'ai une "Règles métier pour les matériels" (ruleasset) dans l'Entité racine + Sous-entités, ainsi définie :
- Actif : Oui
- Opérateur logique : et (mais comme je n'ai qu'un seul critère, "ou" ne change rien)
- Critère : Fabricant - contient - vmware
- Action : Groupe technique - Assigner - MonGroupe
Le test avec le fabricant "VMware, Inc" valide l'action, alors qu'avec un autre fabricant non ; donc le test est validé.
Pourtant, j'ai beau cliquer et re-cliquer sur sauvegarder un ordinateur dont le fabricant est "VMware, Inc.", le champ "Groupe technique" n'est pas assigné et reste vide (sans verrou).
J'avais cru comprendre que les règles étaient appliquées automatiquement, mais j'ai peut-être mal compris ?
Quelqu'un aurait une idée ?
Last edited by mathieu.md (2021-09-03 09:42:02)
Offline
Pages: 1