You are not logged in.
Bonjour,
Je suis actuellement en train de tester le plugin tracker pour savoir si je l'intègrerai dans notre GLPI de production.
J'ai suivi scrupuleusement le tutorial de cette adresse : https://forge.indepnet.net/wiki/tracker/Fr_V_exemple
Cependant, quand je lance le script "tracker_agent.pl", il cherche un certain temps, avant de planter "Le programme a rencontré une erreur et doit fermer... etc, Envoyer le rapport", bref, l'erreur windows.
Je suis sur windows server 2008, GLPI 0.72.21, tracker agent 1.5.3, tracker server 2.1.3.
voici le fichier de log que j'obtiens : en gros, il effectue ses requêtes SNMP, reçoit les réponses, mais une fois que la plage est finie de scanner, il plante au moment de faire son rapport.
=========================================
============== Start Agent ==============
=========================================
Operating system : MSWin32
Operating system version : 5.00
Operating system arch : MSWin32-x86-multi-thread
Perl version : 5.10.1
Thread version : 1.74
ForkManager version : 0.7.5
SNMP version :
Zlib version : 2.02
AppConfig version : 1.66
UserAgent version : 5.829
HTTP Request Common version : 5.824
XML Simple version : 2.18
Data Dumper version : 2.125
FindBin version : 1.50
$VAR1 = {
'agent' => {
'threads_query' => '6',
'PID' => '03261037001',
'fragment' => 50,
'core_query' => '1',
'logs' => '2',
'key' => 'IlTgjZAAwWXOEKSUJoQl6E0QRioCck',
'id' => '1',
'threads_discovery' => '10',
'core_discovery' => '1'
},
'discovery' => {
'rangeip' => {
'entity' => '0',
'id' => '1',
'ipend' => '192.168.10.55',
'ipstart' => '192.168.10.1'
},
'authentification' => {
'1' => {
'version' => '1',
'sec_name' => {},
'auth_passphrase' => {},
'community' => 'public',
'sec_level' => {},
'priv_protocol' => {},
'priv_passphrase' => {},
'auth_protocol' => {}
},
'2' => {
'version' => '2c',
'sec_name' => {},
'auth_passphrase' => {},
'community' => 'public',
'sec_level' => {},
'priv_protocol' => {},
'priv_passphrase' => {},
'auth_protocol' => {}
}
}
}
};
==== List of IP to discover ====
$VAR1 = {
'0' => {
'192.168.10.36' => '0',
'192.168.10.43' => '0',
'192.168.10.17' => '0',
'192.168.10.3' => '0',
'192.168.10.53' => '0',
'192.168.10.30' => '0',
'192.168.10.12' => '0',
'192.168.10.4' => '0',
'192.168.10.14' => '0',
'192.168.10.54' => '0',
'192.168.10.20' => '0',
'192.168.10.51' => '0',
'192.168.10.28' => '0',
'192.168.10.25' => '0',
'192.168.10.45' => '0',
'192.168.10.42' => '0',
'192.168.10.26' => '0',
'192.168.10.31' => '0',
'192.168.10.16' => '0',
'192.168.10.9' => '0',
'192.168.10.48' => '0',
'192.168.10.47' => '0',
'192.168.10.8' => '0',
'192.168.10.13' => '0',
'192.168.10.46' => '0',
'192.168.10.55' => '0',
'192.168.10.19' => '0',
'192.168.10.50' => '0',
'192.168.10.37' => '0',
'192.168.10.27' => '0',
'192.168.10.6' => '0',
'192.168.10.35' => '0',
'192.168.10.44' => '0',
'192.168.10.40' => '0',
'192.168.10.33' => '0',
'192.168.10.7' => '0',
'192.168.10.2' => '0',
'192.168.10.38' => '0',
'192.168.10.15' => '0',
'192.168.10.18' => '0',
'192.168.10.5' => '0',
'192.168.10.10' => '0',
'192.168.10.23' => '0',
'192.168.10.29' => '0',
'192.168.10.32' => '0',
'192.168.10.41' => '0',
'192.168.10.52' => '0',
'192.168.10.22' => '0',
'192.168.10.24' => '0',
'192.168.10.21' => '0',
'192.168.10.49' => '0',
'192.168.10.11' => '0',
'192.168.10.39' => '0',
'192.168.10.34' => '0',
'192.168.10.1' => '0'
}
};
==== Discovery ====
[192.168.10.54][YES][2c][public]
[192.168.10.43][YES][2c][public]
[192.168.10.17][NO][2c][public] No response from remote host "192.168.10.17"
[192.168.10.3][NO][2c][public] No response from remote host "192.168.10.3"
[192.168.10.53][NO][2c][public] No response from remote host "192.168.10.53"
[192.168.10.30][NO][2c][public] No response from remote host "192.168.10.30"
[192.168.10.12][NO][2c][public] No response from remote host "192.168.10.12"
[192.168.10.4][NO][2c][public] No response from remote host "192.168.10.4"
[192.168.10.14][NO][2c][public] No response from remote host "192.168.10.14"
[192.168.10.36][NO][2c][public] No response from remote host "192.168.10.36"
[192.168.10.20][NO][2c][public] No response from remote host "192.168.10.20"
[192.168.10.51][NO][2c][public] No response from remote host "192.168.10.51"
[192.168.10.17][NO][1][public] No response from remote host "192.168.10.17"
[192.168.10.3][NO][1][public] No response from remote host "192.168.10.3"
[192.168.10.30][NO][1][public] No response from remote host "192.168.10.30"
[192.168.10.12][NO][1][public] No response from remote host "192.168.10.12"
[192.168.10.4][NO][1][public] No response from remote host "192.168.10.4"
[192.168.10.14][NO][1][public] No response from remote host "192.168.10.14"
[192.168.10.51][NO][1][public] No response from remote host "192.168.10.51"
[192.168.10.53][NO][1][public] No response from remote host "192.168.10.53"
[192.168.10.20][NO][1][public] No response from remote host "192.168.10.20"
[192.168.10.36][NO][1][public] No response from remote host "192.168.10.36"
[192.168.10.28][NO][2c][public] No response from remote host "192.168.10.28"
[192.168.10.47][YES][2c][public]
[192.168.10.42][NO][2c][public] No response from remote host "192.168.10.42"
[192.168.10.26][NO][2c][public] No response from remote host "192.168.10.26"
[192.168.10.31][NO][2c][public] No response from remote host "192.168.10.31"
[192.168.10.45][NO][2c][public] No response from remote host "192.168.10.45"
[192.168.10.25][NO][2c][public] No response from remote host "192.168.10.25"
[192.168.10.28][NO][1][public] No response from remote host "192.168.10.28"
[192.168.10.48][NO][2c][public] No response from remote host "192.168.10.48"
[192.168.10.9][NO][2c][public] No response from remote host "192.168.10.9"
[192.168.10.16][NO][2c][public] No response from remote host "192.168.10.16"
[192.168.10.8][NO][2c][public] No response from remote host "192.168.10.8"
[192.168.10.26][NO][1][public] No response from remote host "192.168.10.26"
[192.168.10.31][NO][1][public] No response from remote host "192.168.10.31"
[192.168.10.45][NO][1][public] No response from remote host "192.168.10.45"
[192.168.10.25][NO][1][public] No response from remote host "192.168.10.25"
[192.168.10.9][NO][1][public] No response from remote host "192.168.10.9"
[192.168.10.16][NO][1][public] No response from remote host "192.168.10.16"
[192.168.10.48][NO][1][public] No response from remote host "192.168.10.48"
[192.168.10.42][NO][1][public] No response from remote host "192.168.10.42"
[192.168.10.13][NO][2c][public] No response from remote host "192.168.10.13"
[192.168.10.8][NO][1][public] No response from remote host "192.168.10.8"
[192.168.10.46][YES][2c][public]
[192.168.10.13][NO][1][public] No response from remote host "192.168.10.13"
[192.168.10.19][NO][2c][public] No response from remote host "192.168.10.19"
[192.168.10.55][NO][2c][public] No response from remote host "192.168.10.55"
[192.168.10.37][NO][2c][public] No response from remote host "192.168.10.37"
[192.168.10.35][NO][2c][public] No response from remote host "192.168.10.35"
[192.168.10.50][NO][2c][public] No response from remote host "192.168.10.50"
[192.168.10.6][NO][2c][public] No response from remote host "192.168.10.6"
[192.168.10.27][NO][2c][public] No response from remote host "192.168.10.27"
[192.168.10.40][NO][2c][public] No response from remote host "192.168.10.40"
[192.168.10.44][NO][2c][public] No response from remote host "192.168.10.44"
[192.168.10.33][NO][2c][public] No response from remote host "192.168.10.33"
[192.168.10.19][NO][1][public] No response from remote host "192.168.10.19"
[192.168.10.37][NO][1][public] No response from remote host "192.168.10.37"
[192.168.10.35][NO][1][public] No response from remote host "192.168.10.35"
[192.168.10.6][NO][1][public] No response from remote host "192.168.10.6"
[192.168.10.50][NO][1][public] No response from remote host "192.168.10.50"
[192.168.10.55][NO][1][public] No response from remote host "192.168.10.55"
[192.168.10.27][NO][1][public] No response from remote host "192.168.10.27"
[192.168.10.40][NO][1][public] No response from remote host "192.168.10.40"
[192.168.10.44][NO][1][public] No response from remote host "192.168.10.44"
[192.168.10.33][NO][1][public] No response from remote host "192.168.10.33"
[192.168.10.7][NO][2c][public] No response from remote host "192.168.10.7"
[192.168.10.18][NO][2c][public] No response from remote host "192.168.10.18"
[192.168.10.5][NO][2c][public] No response from remote host "192.168.10.5"
[192.168.10.2][NO][2c][public] No response from remote host "192.168.10.2"
[192.168.10.10][NO][2c][public] No response from remote host "192.168.10.10"
[192.168.10.38][NO][2c][public] No response from remote host "192.168.10.38"
[192.168.10.15][NO][2c][public] No response from remote host "192.168.10.15"
[192.168.10.29][NO][2c][public] No response from remote host "192.168.10.29"
[192.168.10.32][NO][2c][public] No response from remote host "192.168.10.32"
[192.168.10.23][NO][2c][public] No response from remote host "192.168.10.23"
[192.168.10.7][NO][1][public] No response from remote host "192.168.10.7"
[192.168.10.5][NO][1][public] No response from remote host "192.168.10.5"
[192.168.10.2][NO][1][public] No response from remote host "192.168.10.2"
[192.168.10.10][NO][1][public] No response from remote host "192.168.10.10"
[192.168.10.38][NO][1][public] No response from remote host "192.168.10.38"
[192.168.10.18][NO][1][public] No response from remote host "192.168.10.18"
[192.168.10.15][NO][1][public] No response from remote host "192.168.10.15"
[192.168.10.29][NO][1][public] No response from remote host "192.168.10.29"
[192.168.10.32][NO][1][public] No response from remote host "192.168.10.32"
[192.168.10.23][NO][1][public] No response from remote host "192.168.10.23"
[192.168.10.41][YES][2c][public]
[192.168.10.49][NO][2c][public] No response from remote host "192.168.10.49"
[192.168.10.22][NO][2c][public] No response from remote host "192.168.10.22"
[192.168.10.11][NO][2c][public] No response from remote host "192.168.10.11"
[192.168.10.24][NO][2c][public] No response from remote host "192.168.10.24"
[192.168.10.52][NO][2c][public] No response from remote host "192.168.10.52"
[192.168.10.21][NO][2c][public] No response from remote host "192.168.10.21"
[192.168.10.34][NO][2c][public] No response from remote host "192.168.10.34"
[192.168.10.39][NO][2c][public] No response from remote host "192.168.10.39"
[192.168.10.1][NO][2c][public] No response from remote host "192.168.10.1"
[192.168.10.22][NO][1][public] No response from remote host "192.168.10.22"
[192.168.10.24][NO][1][public] No response from remote host "192.168.10.24"
[192.168.10.11][NO][1][public] No response from remote host "192.168.10.11"
[192.168.10.49][NO][1][public] No response from remote host "192.168.10.49"
[192.168.10.52][NO][1][public] No response from remote host "192.168.10.52"
[192.168.10.21][NO][1][public] No response from remote host "192.168.10.21"
[192.168.10.34][NO][1][public] No response from remote host "192.168.10.34"
[192.168.10.39][NO][1][public] No response from remote host "192.168.10.39"
[192.168.10.1][NO][1][public] No response from remote host "192.168.10.1"
(et il se termine comme ça)
Et voici mon tracker_agent.conf :
server=https://192.168.11.252/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php
id=1
key=IlTgjZAAwWXOEKSUJoQl6E0QRioCck
Si quelqu'un a une idée, je le remercie d'avance
Last edited by clapping (2009-11-23 11:52:40)
Offline
Peut être trop de threads et plantage mémoire. Essaye de réduire le njombre de threads de découverte (de 10 à 3 par exemple)
Offline
Bonjour,
Merci pour votre réponse (rapide!)
Cependant j'avais oublié de préciser que j'avais déja fait ce genre de tests.
Là je viens de retester avec 1 thread de découverte, et même problème...
Last edited by clapping (2009-11-23 12:02:30)
Offline
surveillez la mémoire vive et lancer l'agent dans une commande dos voir s'il met une erreur
Offline
La mémoire est stable (le process "perl.exe" utilise autour de 40Mo de mémoire, et 95% de CPU).
Je viens de lancer l'agent sur mon propre poste, j'ai eu le même problème.
Edit : voici ce que j'ai dans la ligne de commande :
C:\xampp\htdocs\glpi\plugins\agent_tracker>perl tracker_agent.pl
Threads version: 1.74
== Discovery devices ==
The file has been successfully uploaded
edit 2 : et voici, au cas où, le contenu du rapport (très explicite...) que windows veut envoyer à Microsoft :
Signature du problème :
Nom d’événement de problème: APPCRASH
Nom de l’application: perl.exe
Version de l’application: 5.10.1.1006
Horodatage de l'application: 4a92fcc8
Nom du module par défaut: SSLeay.dll
Version du module par défaut: 0.0.0.0
Horodateur du module par défaut: 4a931199
Code de l’exception: c0000005
Décalage de l’exception: 0001a5e3
Version du système: 6.0.6001.2.1.0.274.10
Identificateur de paramètres régionaux: 1036
Information supplémentaire n° 1: a539
Information supplémentaire n° 2: c66565d51bf96998a304e8ae5d7d623f
Information supplémentaire n° 3: 4858
Information supplémentaire n° 4: fa5fc86595c2de56f043df4022903c65
Last edited by clapping (2009-11-23 13:42:25)
Offline
Bon, la découverte marche avec ces paramètres (et uniquement avec ceux-là):
Coeurs découverte : 1
Threads découverte : 5
Coeurs interrogation : 1
Threads interrogation : 5
Fragments : 50ko
Voilà!
Offline