You are not logged in.
Bonjour,
GLPI 0.72.21 avec Tracker 2.1.2
Mes switches avec le modèle Procurve Générique ne remontent pas leurs connexions, de quoi GLPI a-t'il besoin pour établir les connexions ?
J'ai bien essayé de comparer le modèle CiscoCatalyst qui me remonte les connexions avec le modèle Procurve Generique mais rien ne m'a sauté au yeux à part le support de VLAN.
Je précise que ma config qui remonte les connexions Cisco tourne sur un autre serveur, alors j'ai peut-être une erreur quelque part sur le serveur qui interroge les HP Procurve mais le reste des données remonte bien c'est uniquement les connexions qui manquent.
Merci d'avance
Offline
pouvez vous mettre les sysdescr de ces switchs (c'est la description dans le menu de découverte Tracker
Offline
Bonjour,
Pour l'instant j'en ai testé trois modèles.
HP J4121A ProCurve Switch 4000M, revision C.09.30, ROM C.06.01 (/sw/code/build/vgro(c09))
ProCurve J4905A Switch 3400cl-24G, revision M.10.41, ROM I.08.12 (/sw/code/build/makf(mkfs))
HP J4813A ProCurve Switch 2524, revision F.05.69, ROM F.01.01 (/sw/code/build/info(s02))
Merci
Patrick
Offline
dans ma boite
le J4121A et le J4813A fonctionne et les ports sont bien reliés sur les PC
Ocs-ng 2.2
Glpi 9.1.1
Offline
Vous pouvez tester avec ce patch? https://forge.indepnet.net/repositories … acker/1662
Offline
Bonjour,
J'a installé les patches mais là tracker_fullsync.sh ne me remonte plus rien du tout mais plus les imprimantes (j'ai essayé d'abord sans relancer le script de l'agent à 16:51 puis avec l'agent à 16:52:
PID Statut Nombre de process Date de début d'exécution Date de fin d'exécution Equipements réseau traités Ports réseau traités Imprimantes traitées Erreurs Durée totale d'exécution du script
2871652 1 2009-10-14 16:52 2009-10-14 16:52 0 0 0 0 16 Sec(s)
2871651 1 2009-10-14 16:51 2009-10-14 16:51 0 0 0 0 0 Sec(s)
2871515 1 2009-10-14 15:15 2009-10-14 15:15 6 0 15 0 43 Sec(s)
Je creuserais un peu plus demain matin.
Bonne fin de journée
Patrick
Offline
Oui j'ai vu que ça marchait pas mieux, il faut aussi mettre le patch https://forge.indepnet.net/repositories … acker/1664
Offline
Bonjour,
Maintenant j'ai ça quang je lance l'agent et il ne collecte plus rien :
root@lin-util:/home/pa# perl /var/www/glpi/agent_tracker/tracker_agent.pl
Threads version: 1.72
Subroutine start_session redefined at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 166 (#1)
(W redefine) You redefined a subroutine. To suppress this warning, say
{
no warnings 'redefine';
eval "sub name { ... }";
}
== Discovery devices ==
[0 / 285] |
[0 / 285] -The file has been successfully uploaded
== Query devices ==
[[0 / 22] -Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 188 (#2)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
SNMP ERROR: %s.
Use of uninitialized value $error in print at
/var/www/glpi/agent_tracker/inc/tracker_query.pm line 325 (#2)
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 188 (#2)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
SNMP ERROR: %s.
Use of uninitialized value $error in print at
/var/www/glpi/agent_tracker/inc/tracker_query.pm line 325 (#2)
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 188 (#2)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
SNMP ERROR: %s.
Use of uninitialized value $error in print at
/var/www/glpi/agent_tracker/inc/tracker_query.pm line 325 (#2)
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 188 (#2)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
SNMP ERROR: %s.
Use of uninitialized value $error in print at
/var/www/glpi/agent_tracker/inc/tracker_query.pm line 325 (#2)
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 188 (#2)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
SNMP ERROR: %s.
Use of uninitialized value $error in print at
/var/www/glpi/agent_tracker/inc/tracker_query.pm line 325 (#2)
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 168 (#2)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
SNMP ERROR: %s.
Use of uninitialized value $error in print at
/var/www/glpi/agent_tracker/inc/tracker_query.pm line 325 (#2)
[[0 / 22] \SNMP ERROR: %s.
SNMP ERROR: %s.
SNMP ERROR: %s.
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 168 (#2)
SNMP ERROR: %s.
SNMP ERROR: %s.
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 188 (#2)
SNMP ERROR: %s.
[[0 / 22] |SNMP ERROR: %s.
SNMP ERROR: %s.
SNMP ERROR: %s.
SNMP ERROR: %s.
SNMP ERROR: %s.
SNMP ERROR: %s.
[[0 / 22] /SNMP ERROR: %s.
SNMP ERROR: %s.
Use of uninitialized value $_[10] in string eq at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 168 (#2)
SNMP ERROR: %s.
SNMP ERROR: %s.
[[0 / 22] \
[0 / 285] /The file has been successfully uploaded
Offline
avez-vous moyen de prendre les version svn de l'agent et du serveur tracker? En effet si vous avez mis les patch sur la version releasée, ça risque de pas marcher.
Offline
Quel URL dois-je utiliser pour accéder au repository SVN ?
Comme je n'y arrivais pas j'ai essayé de voir les nightly-tarballs mais je n'ai pas trouvé l'agent (seulement le plugin) en https://forge.indepnet.net/tarballs-plugins/
Merci et bonne journée
Last edited by redfish (2009-10-15 10:59:35)
Offline
ouais faut faire un
svn export https://forge.indepnet.net/svn/tracker/agent-trunk agent
Offline
J'ai une demande d'authentification....
Offline
avec l'export?
bizarre ça
Offline
Offline
Oups,
Autant pour moi pardon....
C'est bon j'ai les fichiers de l'agent, pour les fichiers du plugin je prends ceux de https://forge.indepnet.net/svn/tracker/trunk ou ceux du tarball ?
Je ne dois pas passer par une install du plugin, juste remplacer les fichiers ?
Merci de votre aide
Last edited by redfish (2009-10-15 11:56:57)
Offline
les 2 c'est pareil normalement, j'ai quasiment pas fait de modif ce matin
De mémoire juste remplacer les ficheirs devrzit suffire
Offline
Il y a moins d'erreurs mais j'ai quand même ça avec l'agent (et dans "Informations sur l'execution des agents j'ai zéro dans équipements interrogés et découverts) :
[0 / 285] /Use of uninitialized value $table{".1.3.6.1.2.1.4.22.1.2.93.160.53."...} in
unpack at /var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 156 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
Use of uninitialized value $table{".1.3.6.1.2.1.4.22.1.2.94.192.168"...} in
unpack at /var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 156 (#1)
Use of uninitialized value within %table in unpack at
/var/www/glpi/agent_tracker/inc/tracker_snmp.pm line 156 (#1)
Offline
Humm la même erreur que tsmr. Normalement ça n'empêche pas de le faire fonctionner, c'est juste un warning
Offline
Il a l'air de fonctionner, dans le log à la fin il y a ça mais l'execution de l'agent rapporte zéro éléments interrogés et même si je lance le script serveur rien n'est remonté depuis le dernier scan/upload avec les anciens agent/plugin :
==== Query ====
[160.53.48.230] : start Thread
[160.53.48.99] : start Thread
[160.53.48.230] : end Thread
[160.53.48.203] : start Thread
[160.53.48.206] : start Thread
[192.168.0.205] : start Thread
[160.53.48.99] : end Thread
[192.168.0.206] : start Thread
[160.53.48.203] : end Thread
[160.53.48.206] : end Thread
[160.53.48.205] : start Thread
[160.53.48.205] : end Thread
[192.168.0.203] : start Thread
[160.53.48.207] : start Thread
[160.53.48.106] : start Thread
[160.53.48.207] : end Thread
[160.53.48.106] : end Thread
[160.53.48.162] : start Thread
[160.53.48.162] : end Thread
[192.168.0.200] : start Thread
[160.53.48.208] : start Thread
[160.53.48.208] : end Thread
[160.53.48.201] : start Thread
[160.53.48.201] : end Thread
[160.53.48.142] : start Thread
[160.53.48.142] : end Thread
[160.53.48.126] : start Thread
[160.53.48.202] : start Thread
[160.53.48.126] : end Thread
[160.53.48.202] : end Thread
[160.53.48.104] : start Thread
[192.168.0.207] : start Thread
[160.53.48.104] : end Thread
[160.53.48.103] : start Thread
[160.53.48.103] : end Thread
[160.53.48.100] : start Thread
[160.53.48.100] : end Thread
[192.168.0.201] : start Thread
[192.168.0.200] : end Thread
[192.168.0.206] : end Thread
[192.168.0.203] : end Thread
[192.168.0.205] : end Thread
[192.168.0.201] : end Thread
[192.168.0.207] : end Thread
Offline
dans le log, ça ne se fini pas par
=========================================
================== END ==================
=========================================
Offline
Si j'ai bien
[192.168.0.201] : start Thread
[192.168.0.200] : end Thread
[192.168.0.206] : end Thread
[192.168.0.203] : end Thread
[192.168.0.205] : end Thread
[192.168.0.201] : end Thread
[192.168.0.207] : end Thread
=========================================
================== END ==================
=========================================
désolé j'avais pas pensé que c'était important
Offline
La ça me parait bon. Une fois l'agent fini peux-tu m'envoyer par mail (d.durieux@siprossii.com) le fichier *-device.xml qui se trouve dans glpi/files/_plugins/tracker ?
Offline
Toujours pas de "daily tarball" pour l'agent
Ne serait-il pas possible de mettre l'agent avec le serveur (dans le tar.gz) ?
Last edited by BenLar (2009-10-15 14:25:28)
Offline
non, encore moins pour lesprochaines versions vu tout ce qui va être ajouté
Offline
Merciiii,
Ca marche.
PS: Pour les éventuelles autres victimes, je suppose que le patch que j'ai reçu sera dans le SVN ?
Patrick
Offline