You are not logged in.
Bonjour,
J'ai installé l'agent Tracker 1.5.0 en suivant le wiki. Quand je lance l'agent perl me répond qui ne trouve pas la dll perl56.dll. Quand je rajoute la dll dans c:\perl\bin perl se plante sans rien faire. Avez vous un début de solution ? Merci d'avance
GLPI : 0.71.5
OCS : 1.02
Offline
Bon j'avance, j'ai trouvé. Il bloque sur l'appel de device_serials.pm. Quelqu'un à t'il eu le probleme je ne trouve rien concernant ce module Help me.
Offline
Un petit UP,
J'ai progressé dans mon probléme, maintenant l'agent s'arrête au query je vous joint le log.
=========================================
============== Start Agent ==============
=========================================
Operating system : MSWin32
Operating system version : 5.00
Operating system arch : MSWin32-x86-multi-thread
Perl version : 5.10.0
Thread version : 1.72
ForkManager version : 0.7.5
SNMP version :
Zlib version : 2.019
AppConfig version : 1.66
UserAgent version : 5.826
HTTP Request Common version : 5.824
XML Simple version : 2.18
Data Dumper version : 2.121_14
FindBin version : 1.49
$VAR1 = {
'agent' => {
'threads_query' => '1',
'PID' => '02221510001',
'fragment' => 50,
'core_query' => '1',
'logs' => '2',
'key' => 't7HsWQin7WmSfmx1X1ycONgvvLhuuD',
'id' => '1',
'threads_discovery' => '1',
'core_discovery' => '1'
},
'discovery' => {
'rangeip' => {
'entity' => '2',
'id' => '1',
'ipend' => '192.105.100.254',
'ipstart' => '192.105.100.0'
},
'authentification' => {
'1' => {
'version' => '1',
'sec_name' => {},
'auth_passphrase' => {},
'community' => 'public',
'sec_level' => '0',
'priv_protocol' => '0',
'priv_passphrase' => {},
'auth_protocol' => '0'
},
'2' => {
'version' => '2c',
'sec_name' => {},
'auth_passphrase' => {},
'community' => 'public',
'sec_level' => '0',
'priv_protocol' => '0',
'priv_passphrase' => {},
'auth_protocol' => '0'
}
}
}
};
==== List of IP to discover ====
$VAR1 = {
'0' => {
'192.105.100.43' => '2',
'192.105.100.7' => '2',
'192.105.100.188' => '2',
'192.105.100.181' => '2',
'192.105.100.120' => '2',
'192.105.100.89' => '2',
'192.105.100.170' => '2',
'192.105.100.67' => '2',
'192.105.100.250' => '2',
'192.105.100.160' => '2',
'192.105.100.147' => '2',
'192.105.100.175' => '2',
'192.105.100.65' => '2',
'192.105.100.36' => '2',
'192.105.100.247' => '2',
'192.105.100.212' => '2',
'192.105.100.21' => '2',
'192.105.100.240' => '2',
'192.105.100.215' => '2',
'192.105.100.149' => '2',
'192.105.100.140' => '2',
'192.105.100.131' => '2',
'192.105.100.61' => '2',
'192.105.100.24' => '2',
'192.105.100.210' => '2',
'192.105.100.185' => '2',
'192.105.100.216' => '2',
'192.105.100.123' => '2',
'192.105.100.190' => '2',
'192.105.100.33' => '2',
'192.105.100.238' => '2',
'192.105.100.225' => '2',
'192.105.100.71' => '2',
'192.105.100.218' => '2',
'192.105.100.153' => '2',
'192.105.100.83' => '2',
'192.105.100.59' => '2',
'192.105.100.231' => '2',
'192.105.100.110' => '2',
'192.105.100.155' => '2',
'192.105.100.132' => '2',
'192.105.100.57' => '2',
'192.105.100.31' => '2',
'192.105.100.74' => '2',
'192.105.100.206' => '2',
'192.105.100.177' => '2',
'192.105.100.135' => '2',
'192.105.100.107' => '2',
'192.105.100.19' => '2',
'192.105.100.126' => '2',
'192.105.100.55' => '2',
'192.105.100.15' => '2',
'192.105.100.27' => '2',
'192.105.100.186' => '2',
'192.105.100.80' => '2',
'192.105.100.221' => '2',
'192.105.100.105' => '2',
'192.105.100.233' => '2',
'192.105.100.139' => '2',
'192.105.100.50' => '2',
'192.105.100.49' => '2',
'192.105.100.13' => '2',
'192.105.100.12' => '2',
'192.105.100.44' => '2',
'192.105.100.173' => '2',
'192.105.100.167' => '2',
'192.105.100.204' => '2',
'192.105.100.41' => '2',
'192.105.100.208' => '2',
'192.105.100.75' => '2',
'192.105.100.254' => '2',
'192.105.100.197' => '2',
'192.105.100.32' => '2',
'192.105.100.165' => '2',
'192.105.100.11' => '2',
'192.105.100.214' => '2',
'192.105.100.195' => '2',
'192.105.100.78' => '2',
'192.105.100.46' => '2',
'192.105.100.163' => '2',
'192.105.100.22' => '2',
'192.105.100.244' => '2',
'192.105.100.178' => '2',
'192.105.100.176' => '2',
'192.105.100.38' => '2',
'192.105.100.69' => '2',
'192.105.100.193' => '2',
'192.105.100.229' => '2',
'192.105.100.63' => '2',
'192.105.100.151' => '2',
'192.105.100.199' => '2',
'192.105.100.85' => '2',
'192.105.100.182' => '2',
'192.105.100.169' => '2',
'192.105.100.154' => '2',
'192.105.100.142' => '2',
'192.105.100.133' => '2',
'192.105.100.10' => '2',
'192.105.100.28' => '2',
'192.105.100.159' => '2',
'192.105.100.93' => '2',
'192.105.100.3' => '2',
'192.105.100.125' => '2',
'192.105.100.51' => '2',
'192.105.100.14' => '2',
'192.105.100.236' => '2',
'192.105.100.114' => '2',
'192.105.100.103' => '2',
'192.105.100.157' => '2',
'192.105.100.101' => '2',
'192.105.100.97' => '2',
'192.105.100.245' => '2',
'192.105.100.53' => '2',
'192.105.100.112' => '2',
'192.105.100.16' => '2',
'192.105.100.119' => '2',
'192.105.100.18' => '2',
'192.105.100.9' => '2',
'192.105.100.202' => '2',
'192.105.100.189' => '2',
'192.105.100.227' => '2',
'192.105.100.54' => '2',
'192.105.100.58' => '2',
'192.105.100.2' => '2',
'192.105.100.180' => '2',
'192.105.100.152' => '2',
'192.105.100.66' => '2',
'192.105.100.226' => '2',
'192.105.100.187' => '2',
'192.105.100.56' => '2',
'192.105.100.96' => '2',
'192.105.100.106' => '2',
'192.105.100.242' => '2',
'192.105.100.34' => '2',
'192.105.100.42' => '2',
'192.105.100.168' => '2',
'192.105.100.209' => '2',
'192.105.100.98' => '2',
'192.105.100.161' => '2',
'192.105.100.239' => '2',
'192.105.100.252' => '2',
'192.105.100.127' => '2',
'192.105.100.100' => '2',
'192.105.100.249' => '2',
'192.105.100.130' => '2',
'192.105.100.70' => '2',
'192.105.100.0' => '2',
'192.105.100.88' => '2',
'192.105.100.108' => '2',
'192.105.100.211' => '2',
'192.105.100.222' => '2',
'192.105.100.184' => '2',
'192.105.100.234' => '2',
'192.105.100.144' => '2',
'192.105.100.25' => '2',
'192.105.100.95' => '2',
'192.105.100.248' => '2',
'192.105.100.4' => '2',
'192.105.100.171' => '2',
'192.105.100.174' => '2',
'192.105.100.82' => '2',
'192.105.100.224' => '2',
'192.105.100.116' => '2',
'192.105.100.124' => '2',
'192.105.100.192' => '2',
'192.105.100.134' => '2',
'192.105.100.30' => '2',
'192.105.100.6' => '2',
'192.105.100.60' => '2',
'192.105.100.81' => '2',
'192.105.100.129' => '2',
'192.105.100.117' => '2',
'192.105.100.220' => '2',
'192.105.100.8' => '2',
'192.105.100.77' => '2',
'192.105.100.87' => '2',
'192.105.100.137' => '2',
'192.105.100.48' => '2',
'192.105.100.148' => '2',
'192.105.100.138' => '2',
'192.105.100.26' => '2',
'192.105.100.94' => '2',
'192.105.100.118' => '2',
'192.105.100.166' => '2',
'192.105.100.141' => '2',
'192.105.100.121' => '2',
'192.105.100.73' => '2',
'192.105.100.84' => '2',
'192.105.100.68' => '2',
'192.105.100.162' => '2',
'192.105.100.237' => '2',
'192.105.100.201' => '2',
'192.105.100.23' => '2',
'192.105.100.115' => '2',
'192.105.100.86' => '2',
'192.105.100.45' => '2',
'192.105.100.90' => '2',
'192.105.100.40' => '2',
'192.105.100.76' => '2',
'192.105.100.136' => '2',
'192.105.100.194' => '2',
'192.105.100.17' => '2',
'192.105.100.228' => '2',
'192.105.100.62' => '2',
'192.105.100.52' => '2',
'192.105.100.183' => '2',
'192.105.100.5' => '2',
'192.105.100.219' => '2',
'192.105.100.92' => '2',
'192.105.100.72' => '2',
'192.105.100.217' => '2',
'192.105.100.251' => '2',
'192.105.100.37' => '2',
'192.105.100.146' => '2',
'192.105.100.205' => '2',
'192.105.100.243' => '2',
'192.105.100.235' => '2',
'192.105.100.113' => '2',
'192.105.100.99' => '2',
'192.105.100.213' => '2',
'192.105.100.111' => '2',
'192.105.100.47' => '2',
'192.105.100.253' => '2',
'192.105.100.232' => '2',
'192.105.100.207' => '2',
'192.105.100.158' => '2',
'192.105.100.179' => '2',
'192.105.100.241' => '2',
'192.105.100.122' => '2',
'192.105.100.203' => '2',
'192.105.100.150' => '2',
'192.105.100.143' => '2',
'192.105.100.109' => '2',
'192.105.100.223' => '2',
'192.105.100.128' => '2',
'192.105.100.145' => '2',
'192.105.100.29' => '2',
'192.105.100.39' => '2',
'192.105.100.91' => '2',
'192.105.100.246' => '2',
'192.105.100.200' => '2',
'192.105.100.64' => '2',
'192.105.100.196' => '2',
'192.105.100.20' => '2',
'192.105.100.102' => '2',
'192.105.100.104' => '2',
'192.105.100.191' => '2',
'192.105.100.164' => '2',
'192.105.100.35' => '2',
'192.105.100.156' => '2',
'192.105.100.1' => '2',
'192.105.100.79' => '2',
'192.105.100.230' => '2',
'192.105.100.198' => '2',
'192.105.100.172' => '2'
}
};
==== Discovery ====
[192.105.100.43][YES][2c][public]
[192.105.100.89][YES][1][public]
[192.105.100.83][YES][1][public]
[192.105.100.74][YES][2c][public]
[192.105.100.44][YES][2c][public]
[192.105.100.41][YES][2c][public]
[192.105.100.75][YES][1][public]
[192.105.100.78][YES][2c][public]
[192.105.100.38][YES][2c][public]
[192.105.100.85][YES][1][public]
[192.105.100.101][YES][2c][public]
[192.105.100.97][YES][2c][public]
[192.105.100.18][YES][1][public]
[192.105.100.187][YES][2c][public]
[192.105.100.42][YES][2c][public]
[192.105.100.98][YES][1][public]
[192.105.100.100][YES][1][public]
[192.105.100.70][YES][1][public]
[192.105.100.82][YES][2c][public]
[192.105.100.81][YES][1][public]
[192.105.100.77][YES][1][public]
[192.105.100.87][YES][2c][public]
[192.105.100.94][YES][1][public]
[192.105.100.73][YES][2c][public]
[192.105.100.84][YES][1][public]
[192.105.100.86][YES][2c][public]
[192.105.100.90][YES][2c][public]
[192.105.100.40][YES][2c][public]
[192.105.100.76][YES][2c][public]
[192.105.100.92][YES][2c][public]
[192.105.100.72][YES][2c][public]
[192.105.100.99][YES][2c][public]
[192.105.100.253][YES][2c][public]
[192.105.100.39][YES][2c][public]
[192.105.100.91][YES][1][public]
[192.105.100.79][YES][1][public]
==== Query ====
=========================================
================== END ==================
=========================================
Qui peut me dire ou j'ai peché ?
Merci d'avance.
Offline
Là c'est bon, tu as activé l'interrogation de ta plage IP?
Offline
J'ai configuré comme le wiki l'indiquait, page 4 et 5
Offline
d'après les logs, l'interrogation n'est pas activée
Offline
Pourrais tu me dire ou l'activation ce fait ?
Offline
dans les plages IP dans glpi
Offline
Voici mon parametrage, j'ai fais une erreur ?
plage IP :
nom : Nancy Siege
debut : 192.105.100.0
Fin : 192.105.100.254
Agent SNMP : Nancy1
Découverte : Oui
Interrogation : Oui
Entité : BN
Offline
pourtant oui c'est bon. essayes quand même de passer 192.105.100.0 à 192.105.100.1 mais je ne penses pas que ça vienne de là
Offline
Bonjour,
J'ai refais le fichier de conf de l'agent. A la fin de l'execution de l'agent j'ai le message suivant :
Threads version: 1.72
== Discovery devices ==
<div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 60</div><div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>move_uploaded_file(../../../files/_plugins/tracker/02231015001-tmpdiscovery-0-0.xml.gz) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: No such file or directory in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 73</div><div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpSmChmr' to '../../../files/_plugins/tracker/02231015001-tmpdiscovery-0-0.xml.gz' in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 73</div>Impossible to copy file in ../../../files/_plugins/tracker/
<div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 60</div><div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>move_uploaded_file(../../../files/_plugins/tracker/02231015001-discovery.xml.gz) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: No such file or directory in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 73</div><div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpEQc8dq' to '../../../files/_plugins/tracker/02231015001-discovery.xml.gz' in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 73</div>Impossible to copy file in ../../../files/_plugins/tracker/
== Query devices ==
<html>
<head><title>An Error Occurred</title></head>
<body>
<h1>An Error Occurred</h1>
<p>400 URL missing</p>
</body>
</html>
400 URL missing
<div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 60</div><div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>move_uploaded_file(../../../files/_plugins/tracker/02231015001.xml.gz) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: No such file or directory in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 73</div><div style="position:fload-left; background-color:red; z-index:10000"><strong>PHP ERROR: </strong>move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phppe61zY' to '../../../files/_plugins/tracker/02231015001.xml.gz' in /var/www/html/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php at line 73</div>Impossible to copy file in ../../../files/_plugins/tracker/
Quelqu'un à déja eu le problème ?
Merci de votre aide.
Offline
Il faut mettre les droits d'écriture Apache sur glpi/files/
Offline
Je suis novice en Linux, quelle est la commande ?
Offline
Sur un linux et quand tu es dans le dossier glpi : chown -R www-data files
Offline
C'etait bien ça, merci pour ton aide. Félicitation pour ce pluging
Offline
merci, si tu as du matériel qu'il ne découvre pas bien ou du matériel sans modèle snmp, n'hésite pas à me le dire
Offline
Quand je vais dans rapport et que je choisis historique des ports de switch Je choisis un port et je sélectionne un champ j'ai le message suivant :
PHP ERROR: Missing argument 3 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 4 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 5 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 6 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 7 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 8 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 9 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Missing argument 10 for showList(), called in /var/www/html/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php on line 85 and defined in /var/www/html/glpi/inc/search.function.php at line 448
PHP ERROR: Undefined variable: field in /var/www/html/glpi/inc/search.function.php at line 505
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 511
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 512
PHP ERROR: Undefined variable: field in /var/www/html/glpi/inc/search.function.php at line 516
PHP ERROR: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/html/glpi/inc/search.function.php at line 516
PHP ERROR: Undefined variable: contains in /var/www/html/glpi/inc/search.function.php at line 611
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 752
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 752
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 752
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 752
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 752
PHP ERROR: Undefined variable: sort in /var/www/html/glpi/inc/search.function.php at line 752
PHP ERROR: Undefined variable: start in /var/www/html/glpi/inc/search.function.php at line 914
Y aurait'il un bug ?
Offline
Essayes avec ça : https://forge.indepnet.net/repositories … acker/1536
Offline
J'ai remplacé le fichier php mais maintenant quand je lance GLPI j'ai le message suivant :
Fatal error: Cannot redeclare plugin_tracker_install() (previously declared in /var/www/html/glpi/plugins/tracker/setup.php:151) in /var/www/html/glpi/plugins/tracker/hook.php on line 1221
dois-je désinstaller et réinstaller tracker ?
Merci d'avance.
Offline
Quand vous avez mis à jour Tracker, vous avez supprimé le dossier Tracker et mis les nouveaux fichier dans un dossier vide ou vous avez mis les nouveaux fichier dans le répertoire ou se trouvait déjà les anciens fichiers?
Offline
Juste remplacé le fichier.
Offline
Je veux dire quand vous avez mis Tracker 2.1.0 ? c'était une mise à jour (si oui, copie des fichiers dessus les anciens ou dan sun nouveau répertoire) ?
Offline
Je ne suis pas en version 2.1.0 mais en 2.0.2
Offline
euh attends, t'as quelle version de GLPI ?
Offline
Version 71.5 donc j'ai mis la version 2.0.2 de tracker comme indiqué dans le Wiki
Offline