You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-05-15 11:19:20

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

TRACKER 2.0.0 - aucun matériel détecté

Salut,

J'ai mis à jour le plugin en version et j'ai la mauvaise surprise qu'il ne découvre pas les matériels que la version précédente s'était donné la peine de trouver.
Je me suis assuré que les matériels existaient toujours et communiquaient correctement à l'aide de la commande snmpwalk.

Maintenant, j'hésite à utiliser ce plugin ou bien à revenir la version précédente. Si quelqu'un a une idée, je suis preneur.

Paolo.

Offline

#2 2009-05-15 13:39:28

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

en découverte ou en interrogation ?
Avez-vous vérifié la configuration ?

Offline

#3 2009-05-15 14:12:23

doum
Member
From: Nice
Registered: 2007-03-27
Posts: 1,421

Re: TRACKER 2.0.0 - aucun matériel détecté

avez vous creer les plages ip, parametrer les agents sur ces plages?

Offline

#4 2009-05-18 10:36:42

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

J'ai installé la version officielle du plugin et j'ai d'autres erreurs.
Cela dit, j'ai bien configuré les plages d'adresse Ip, les agents et les modes découverte et interrogation ont été bien activés. J'ai installé sur une machine clone, glpi et le plugin tracker 1.1.0 et, malheureusement, il découvre sans difficultés les différents machines sur le réseau. Le statut des machines comme des imprimantes est identique dans les deux versions.

Je suspecte un problème sur la version officielle 2.0.0.
Voici la trace :
perl tracker_agent.pl
Name "main::value" used only once: possible typo at tracker_agent.pl line 155.
Threads version: 1.67
<html>
<head><title>An Error Occurred</title></head>
<body>
<h1>An Error Occurred</h1>
<p>500 Internal Server Error</p>
</body>
</html>

Use of uninitialized value $dest in string eq at /var/www/html/glpi/plugins/agent_tracker/inc/functions.pm line 194.
Use of uninitialized value $dest in string eq at /var/www/html/glpi/plugins/agent_tracker/inc/functions.pm line 194.
Could not find tracker_agent.xml in ./ at tracker_agent.pl line 84


Paolo.

Offline

#5 2009-05-18 14:16:16

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

vérifiez dans la configuration de tracker (glpi), notament  : "URL de GLPI pour l'agent"

Evez-vous bien exporté également le config de l'agent (dans glpi) et sauvegardé dans le dossier de l'agent?

Offline

#6 2009-05-18 14:49:21

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

après correction du "URL de GLPI pour l'agent" et l'export, il n'y a plus de crash. Cela dit, il ne découvre toujours rien. Un test avec tcpdump montre qu'il teste les 3 premières IP de la plage (172.25.205.1 - 172.25.205.254) et il s'arrête là. L'adresse IP 172.25.205.1 existe mais elle est derrière le pare-feu. Les premières chances d'obtenir une réponse sont à partir de 172.25.205.51. Cette topologie ne pose aucun problème au plugin en version 1.1.0.

S'il y a des traces à activer qq part, donne-moi une indication pour les mettre en oeuvre.

Offline

#7 2009-05-18 15:07:28

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

activer le debug (journaux) dans la configuration de l'agent (sur le serveur tracker-glpi) et relancez l'agent, vous devriez avoir des logs dans le dossier log de l'agent

Offline

#8 2009-05-18 15:30:55

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

=========================================
============== Start Agent ==============
=========================================
$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01371639001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'HlEGX6352u6RY6hkxeVkMLlZp431Pc',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      '1' => {
                                             'entity' => '0',
                                             'ipend' => '172.25.205.254',
                                             'ipstart' => '172.25.205.1'
                                           },
                                      '2' => {
                                             'entity' => '0',
                                             'ipend' => '192.168.71.254',
                                             'ipstart' => '192.168.71.1'
                                           }
                                    },
                         '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'
                                                    }
                                             }
                       }
        };
==== Discovery ====
[Core 1][Pass 1][172.25.205.1]
[Core 1][Pass 2][172.25.205.2]
[Core 1][Pass 2][172.25.205.3]
==== Query ====
=========================================
================== END ==================
=========================================

Offline

#9 2009-05-18 15:39:31

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

Oui en effet, il y a un soucis, je regarde ça pour corriger, c'est pas normal

Offline

#10 2009-05-18 19:16:34

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

Très bizarre, je n'arrive pas à reproduire. Pouvez-vous me donner le système d'exploitation que vous avez (pour l'agent) ainsi que la version de perl (perl -v  et perl -V)

Offline

#11 2009-05-19 09:21:51

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

OS : Mandriva Linux release 2009.0 (Official) for i586

Perl :
This is perl, v5.10.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[root@srv-rpa-01 ~]# perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.22.18-server-1mdv, archname=i386-linux-thread-multi
    uname='linux n2.mandriva.com 2.6.22.18-server-1mdv #1 smp mon feb 11 16:46:24 est 2008 i686 intel(r) xeon(tm) cpu 2.80ghz gnulinux '
    config_args='-des -Dinc_version_list=5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DDEBUGGING=-g -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib -Duseithreads -Di_db -Di_ndbm -Di_gdbm'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.3.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.8.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.8'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
        Mandriva Linux patches
  Built under linux
  Compiled at Sep 18 2008 16:41:00
  @INC:
    /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.10.0
    /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.10.0
    /usr/lib/perl5/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/5.10.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl

Offline

#12 2009-05-19 09:38:16

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

Bon, j'installe ça dans la journée et je teste

Offline

#13 2009-05-19 14:10:38

OlivierB
Member
Registered: 2009-01-22
Posts: 27

Re: TRACKER 2.0.0 - aucun matériel détecté

J'ai exactement le même problème, sur une plage IP 190.30.50.10-190.30.50.20 : l'agent fait la .10 et la .11, ne trouve rien, alors que sur la .10, j'ai un Procurve, et s'arrête ...

Offline

#14 2009-05-19 14:19:14

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

même question alors :
Pouvez-vous me donner le système d'exploitation que vous avez (pour l'agent) ainsi que la version de perl (perl -v  et perl -V)

Offline

#15 2009-05-19 15:31:34

OlivierB
Member
Registered: 2009-01-22
Posts: 27

Re: TRACKER 2.0.0 - aucun matériel détecté

Serveur GLPI : machine virtuelle VirtualBox Fedora 10.

J'ai mis l'agent sur cette même machine.

perl -v

[root@testFedora log]# perl -v

This is perl, v5.10.0 built for i386-linux-thread-multi

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

perl -V

[root@testFedora log]# perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.18-128.1.6.el5xen, archname=i386-linux-thread-multi
    uname='linux xenbuilder4.fedora.phx.redhat.com 2.6.18-128.1.6.el5xen #1 smp tue mar 24 12:28:27 edt 2009 i686 i686 i386 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -Dversion=5.10.0 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dprivlib=/usr/lib/perl5/5.10.0 -Dsitelib=/usr/local/lib/perl5/site_perl/5.10.0 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.10.0 -Darchlib=/usr/lib/perl5/5.10.0/i386-linux-thread-multi -Dsitearch=/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi -Dvendorarch=/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi -Dinc_version_list=none -Darchname=i386-linux-thread-multi -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dotherlibdirs=/usr/lib/perl5/site_perl'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.3.2 20081105 (Red Hat 4.3.2-7)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.9'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Built under linux
  Compiled at Apr 14 2009 07:24:03
  @INC:
    /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.10.0
    /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.10.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/5.10.0
    /usr/lib/perl5/site_perl
    .

Pour passer en mode debug sur l'agent, j'ai dû modifier une ligne du inc/functions.pm pour le chemin du fichier log.
Voici mon dernier fichier log :

=========================================
============== Start Agent ==============
=========================================
$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01381409001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'kd6rzjhSkAGVRIwAJghJ5rCXUaWe1a',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      'entity' => '0',
                                      'id' => '1',
                                      'ipend' => '190.30.50.20',
                                      'ipstart' => '190.30.50.10'
                                    },
                         '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'
                                                    }
                                             }
                       }
        };
==== Discovery ====
[Core 1][Pass 1][190.30.50.10]
[Core 1][Pass 2][190.30.50.11]
==== Query ====
=========================================
================== END ==================
=========================================

Last edited by OlivierB (2009-05-19 15:34:29)

Offline

#16 2009-05-19 16:01:30

ser_glpi
Member
From: PARIS
Registered: 2006-01-25
Posts: 140
Website

Re: TRACKER 2.0.0 - aucun matériel détecté

même PB

perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.26-1-686, archname=i486-linux-gnu-thread-multi
    uname='linux rebekka 2.6.26-1-686 #1 smp mon dec 15 18:15:07 utc 2008 i686 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='4.3.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/lib64
    libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0
    gnulibc_version='2.7'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Built under linux
  Compiled at Jan  1 2009 12:22:18
  @INC:
    /etc/perl
    /usr/local/lib/perl/5.10.0
    /usr/local/share/perl/5.10.0
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.10
    /usr/share/perl/5.10
    /usr/local/lib/site_perl


GLPI  0.84.8 - Plateforme PROD:  Apache/2.2.22 (Debian) PHP 5.4.36-0+deb7u3 - Operating system: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64, MySQL 5.5.41-0+wheezy1-log

Offline

#17 2009-05-19 16:08:24

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

ok, je met en place une plateforme de test afin de reproduire

Offline

#18 2009-05-20 08:52:17

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

Bon je n'arrive pas à reproduire, pouvez-vous prendre la version svn de l'agent https://dev.indepnet.net/svn/plugins/tr … gent-trunk et me renvoyer les logs de l'agent?

Offline

#19 2009-05-20 09:13:09

OlivierB
Member
Registered: 2009-01-22
Posts: 27

Re: TRACKER 2.0.0 - aucun matériel détecté

=========================================
============== Start Agent ==============
=========================================
$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01390912001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'kd6rzjhSkAGVRIwAJghJ5rCXUaWe1a',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      'entity' => '0',
                                      'id' => '1',
                                      'ipend' => '190.30.50.20',
                                      'ipstart' => '190.30.50.10'
                                    },
                         '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'
                                                    }
                                             }
                       }
        };
==== Discovery ====
[Core 1][Pass 1][190.30.50.10]
[190.30.50.10][YES][2c][public]
[Core 1][Pass 2][190.30.50.11]
[190.30.50.11][NO][2c][public] No response from remote host '190.30.50.11'
[190.30.50.11][NO][1][public] No response from remote host '190.30.50.11'
==== Query ====
=========================================
================== END ==================
=========================================



Le .11 est éteint, mais pas le .12, .13 ...

Last edited by OlivierB (2009-05-20 09:14:54)

Offline

#20 2009-05-20 09:26:41

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

=========================================
============== Start Agent ==============
=========================================
$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01391124001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'HlEGX6352u6RY6hkxeVkMLlZp431Pc',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      '1' => {
                                             'entity' => '0',
                                             'ipend' => '172.25.205.254',
                                             'ipstart' => '172.25.205.1'
                                           },
                                      '2' => {
                                             'entity' => '0',
                                             'ipend' => '192.168.71.254',
                                             'ipstart' => '192.168.71.1'
                                           }
                                    },
                         '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'
                                                    }
                                             }
                       }
        };
==== Discovery ====
[Core 1][Pass 1][172.25.205.1]
[172.25.205.1][NO][2c][public] No response from remote host '172.25.205.1'
[172.25.205.1][NO][1][public] No response from remote host '172.25.205.1'
[Core 1][Pass 2][172.25.205.2]
[172.25.205.2][NO][2c][public] No response from remote host '172.25.205.2'
[172.25.205.2][NO][1][public] No response from remote host '172.25.205.2'
==== Query ====
=========================================
================== END ==================
=========================================

Offline

#21 2009-05-20 11:27:03

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

Je viens de refaire des modifs, pouvez vous mettre à jour encore le svn et me reposter les logs?

Offline

#22 2009-05-20 11:40:36

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

=========================================
============== Start Agent ==============
=========================================
Operating system : linux
Operating system version : 2.6.22.18-server-1mdv
Operating system arch : i386-linux-thread-multi
Perl version : 5.10.0
Thread version : 1.67
ForkManager version : 0.7.5
SNMP version : 
Zlib version : 2.015
AppConfig version : 1.66
UserAgent version : 5.814
HTTP Request Common version : 5.814
XML Simple version : 2.18
Data Dumper version : 2.121_14
FindBin version : 1.49

$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01391337001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'HlEGX6352u6RY6hkxeVkMLlZp431Pc',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      '1' => {
                                             'entity' => '0',
                                             'ipend' => '172.25.205.254',
                                             'ipstart' => '172.25.205.1'
                                           },
                                      '2' => {
                                             'entity' => '0',
                                             'ipend' => '192.168.71.254',
                                             'ipstart' => '192.168.71.1'
                                           }
                                    },
                         '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 = [
          '172.25.205.1',
          '172.25.205.2',
          '172.25.205.3',
          '172.25.205.4',
          '172.25.205.5',
          '172.25.205.6',
          '172.25.205.7',
          '172.25.205.8',
          '172.25.205.9',
          '172.25.205.10',
          '172.25.205.11',
          '172.25.205.12',
          '172.25.205.13',
          '172.25.205.14',
          '172.25.205.15',
          '172.25.205.16',
          '172.25.205.17',
          '172.25.205.18',
          '172.25.205.19',
          '172.25.205.20',
          '172.25.205.21',
          '172.25.205.22',
          '172.25.205.23',
          '172.25.205.24',
          '172.25.205.25',
          '172.25.205.26',
          '172.25.205.27',
          '172.25.205.28',
          '172.25.205.29',
          '172.25.205.30',
          '172.25.205.31',
          '172.25.205.32',
          '172.25.205.33',
          '172.25.205.34',
          '172.25.205.35',
          '172.25.205.36',
          '172.25.205.37',
          '172.25.205.38',
          '172.25.205.39',
          '172.25.205.40',
          '172.25.205.41',
          '172.25.205.42',
          '172.25.205.43',
          '172.25.205.44',
          '172.25.205.45',
          '172.25.205.46',
          '172.25.205.47',
          '172.25.205.48',
          '172.25.205.49',
          '172.25.205.50',
          '172.25.205.51',
          '172.25.205.52',
          '172.25.205.53',
          '172.25.205.54',
          '172.25.205.55',
          '172.25.205.56',
          '172.25.205.57',
          '172.25.205.58',
          '172.25.205.59',
          '172.25.205.60',
          '172.25.205.61',
          '172.25.205.62',
          '172.25.205.63',
          '172.25.205.64',
          '172.25.205.65',
          '172.25.205.66',
          '172.25.205.67',
          '172.25.205.68',
          '172.25.205.69',
          '172.25.205.70',
          '172.25.205.71',
          '172.25.205.72',
          '172.25.205.73',
          '172.25.205.74',
          '172.25.205.75',
          '172.25.205.76',
          '172.25.205.77',
          '172.25.205.78',
          '172.25.205.79',
          '172.25.205.80',
          '172.25.205.81',
          '172.25.205.82',
          '172.25.205.83',
          '172.25.205.84',
          '172.25.205.85',
          '172.25.205.86',
          '172.25.205.87',
          '172.25.205.88',
          '172.25.205.89',
          '172.25.205.90',
          '172.25.205.91',
          '172.25.205.92',
          '172.25.205.93',
          '172.25.205.94',
          '172.25.205.95',
          '172.25.205.96',
          '172.25.205.97',
          '172.25.205.98',
          '172.25.205.99',
          '172.25.205.100',
          '172.25.205.101',
          '172.25.205.102',
          '172.25.205.103',
          '172.25.205.104',
          '172.25.205.105',
          '172.25.205.106',
          '172.25.205.107',
          '172.25.205.108',
          '172.25.205.109',
          '172.25.205.110',
          '172.25.205.111',
          '172.25.205.112',
          '172.25.205.113',
          '172.25.205.114',
          '172.25.205.115',
          '172.25.205.116',
          '172.25.205.117',
          '172.25.205.118',
          '172.25.205.119',
          '172.25.205.120',
          '172.25.205.121',
          '172.25.205.122',
          '172.25.205.123',
          '172.25.205.124',
          '172.25.205.125',
          '172.25.205.126',
          '172.25.205.127',
          '172.25.205.128',
          '172.25.205.129',
          '172.25.205.130',
          '172.25.205.131',
          '172.25.205.132',
          '172.25.205.133',
          '172.25.205.134',
          '172.25.205.135',
          '172.25.205.136',
          '172.25.205.137',
          '172.25.205.138',
          '172.25.205.139',
          '172.25.205.140',
          '172.25.205.141',
          '172.25.205.142',
          '172.25.205.143',
          '172.25.205.144',
          '172.25.205.145',
          '172.25.205.146',
          '172.25.205.147',
          '172.25.205.148',
          '172.25.205.149',
          '172.25.205.150',
          '172.25.205.151',
          '172.25.205.152',
          '172.25.205.153',
          '172.25.205.154',
          '172.25.205.155',
          '172.25.205.156',
          '172.25.205.157',
          '172.25.205.158',
          '172.25.205.159',
          '172.25.205.160',
          '172.25.205.161',
          '172.25.205.162',
          '172.25.205.163',
          '172.25.205.164',
          '172.25.205.165',
          '172.25.205.166',
          '172.25.205.167',
          '172.25.205.168',
          '172.25.205.169',
          '172.25.205.170',
          '172.25.205.171',
          '172.25.205.172',
          '172.25.205.173',
          '172.25.205.174',
          '172.25.205.175',
          '172.25.205.176',
          '172.25.205.177',
          '172.25.205.178',
          '172.25.205.179',
          '172.25.205.180',
          '172.25.205.181',
          '172.25.205.182',
          '172.25.205.183',
          '172.25.205.184',
          '172.25.205.185',
          '172.25.205.186',
          '172.25.205.187',
          '172.25.205.188',
          '172.25.205.189',
          '172.25.205.190',
          '172.25.205.191',
          '172.25.205.192',
          '172.25.205.193',
          '172.25.205.194',
          '172.25.205.195',
          '172.25.205.196',
          '172.25.205.197',
          '172.25.205.198',
          '172.25.205.199',
          '172.25.205.200',
          '172.25.205.201',
          '172.25.205.202',
          '172.25.205.203',
          '172.25.205.204',
          '172.25.205.205',
          '172.25.205.206',
          '172.25.205.207',
          '172.25.205.208',
          '172.25.205.209',
          '172.25.205.210',
          '172.25.205.211',
          '172.25.205.212',
          '172.25.205.213',
          '172.25.205.214',
          '172.25.205.215',
          '172.25.205.216',
          '172.25.205.217',
          '172.25.205.218',
          '172.25.205.219',
          '172.25.205.220',
          '172.25.205.221',
          '172.25.205.222',
          '172.25.205.223',
          '172.25.205.224',
          '172.25.205.225',
          '172.25.205.226',
          '172.25.205.227',
          '172.25.205.228',
          '172.25.205.229',
          '172.25.205.230',
          '172.25.205.231',
          '172.25.205.232',
          '172.25.205.233',
          '172.25.205.234',
          '172.25.205.235',
          '172.25.205.236',
          '172.25.205.237',
          '172.25.205.238',
          '172.25.205.239',
          '172.25.205.240',
          '172.25.205.241',
          '172.25.205.242',
          '172.25.205.243',
          '172.25.205.244',
          '172.25.205.245',
          '172.25.205.246',
          '172.25.205.247',
          '172.25.205.248',
          '172.25.205.249',
          '172.25.205.250',
          '172.25.205.251',
          '172.25.205.252',
          '172.25.205.253',
          '172.25.205.254',
          '192.168.71.1',
          '192.168.71.2',
          '192.168.71.3',
          '192.168.71.4',
          '192.168.71.5',
          '192.168.71.6',
          '192.168.71.7',
          '192.168.71.8',
          '192.168.71.9',
          '192.168.71.10',
          '192.168.71.11',
          '192.168.71.12',
          '192.168.71.13',
          '192.168.71.14',
          '192.168.71.15',
          '192.168.71.16',
          '192.168.71.17',
          '192.168.71.18',
          '192.168.71.19',
          '192.168.71.20',
          '192.168.71.21',
          '192.168.71.22',
          '192.168.71.23',
          '192.168.71.24',
          '192.168.71.25',
          '192.168.71.26',
          '192.168.71.27',
          '192.168.71.28',
          '192.168.71.29',
          '192.168.71.30',
          '192.168.71.31',
          '192.168.71.32',
          '192.168.71.33',
          '192.168.71.34',
          '192.168.71.35',
          '192.168.71.36',
          '192.168.71.37',
          '192.168.71.38',
          '192.168.71.39',
          '192.168.71.40',
          '192.168.71.41',
          '192.168.71.42',
          '192.168.71.43',
          '192.168.71.44',
          '192.168.71.45',
          '192.168.71.46',
          '192.168.71.47',
          '192.168.71.48',
          '192.168.71.49',
          '192.168.71.50',
          '192.168.71.51',
          '192.168.71.52',
          '192.168.71.53',
          '192.168.71.54',
          '192.168.71.55',
          '192.168.71.56',
          '192.168.71.57',
          '192.168.71.58',
          '192.168.71.59',
          '192.168.71.60',
          '192.168.71.61',
          '192.168.71.62',
          '192.168.71.63',
          '192.168.71.64',
          '192.168.71.65',
          '192.168.71.66',
          '192.168.71.67',
          '192.168.71.68',
          '192.168.71.69',
          '192.168.71.70',
          '192.168.71.71',
          '192.168.71.72',
          '192.168.71.73',
          '192.168.71.74',
          '192.168.71.75',
          '192.168.71.76',
          '192.168.71.77',
          '192.168.71.78',
          '192.168.71.79',
          '192.168.71.80',
          '192.168.71.81',
          '192.168.71.82',
          '192.168.71.83',
          '192.168.71.84',
          '192.168.71.85',
          '192.168.71.86',
          '192.168.71.87',
          '192.168.71.88',
          '192.168.71.89',
          '192.168.71.90',
          '192.168.71.91',
          '192.168.71.92',
          '192.168.71.93',
          '192.168.71.94',
          '192.168.71.95',
          '192.168.71.96',
          '192.168.71.97',
          '192.168.71.98',
          '192.168.71.99',
          '192.168.71.100',
          '192.168.71.101',
          '192.168.71.102',
          '192.168.71.103',
          '192.168.71.104',
          '192.168.71.105',
          '192.168.71.106',
          '192.168.71.107',
          '192.168.71.108',
          '192.168.71.109',
          '192.168.71.110',
          '192.168.71.111',
          '192.168.71.112',
          '192.168.71.113',
          '192.168.71.114',
          '192.168.71.115',
          '192.168.71.116',
          '192.168.71.117',
          '192.168.71.118',
          '192.168.71.119',
          '192.168.71.120',
          '192.168.71.121',
          '192.168.71.122',
          '192.168.71.123',
          '192.168.71.124',
          '192.168.71.125',
          '192.168.71.126',
          '192.168.71.127',
          '192.168.71.128',
          '192.168.71.129',
          '192.168.71.130',
          '192.168.71.131',
          '192.168.71.132',
          '192.168.71.133',
          '192.168.71.134',
          '192.168.71.135',
          '192.168.71.136',
          '192.168.71.137',
          '192.168.71.138',
          '192.168.71.139',
          '192.168.71.140',
          '192.168.71.141',
          '192.168.71.142',
          '192.168.71.143',
          '192.168.71.144',
          '192.168.71.145',
          '192.168.71.146',
          '192.168.71.147',
          '192.168.71.148',
          '192.168.71.149',
          '192.168.71.150',
          '192.168.71.151',
          '192.168.71.152',
          '192.168.71.153',
          '192.168.71.154',
          '192.168.71.155',
          '192.168.71.156',
          '192.168.71.157',
          '192.168.71.158',
          '192.168.71.159',
          '192.168.71.160',
          '192.168.71.161',
          '192.168.71.162',
          '192.168.71.163',
          '192.168.71.164',
          '192.168.71.165',
          '192.168.71.166',
          '192.168.71.167',
          '192.168.71.168',
          '192.168.71.169',
          '192.168.71.170',
          '192.168.71.171',
          '192.168.71.172',
          '192.168.71.173',
          '192.168.71.174',
          '192.168.71.175',
          '192.168.71.176',
          '192.168.71.177',
          '192.168.71.178',
          '192.168.71.179',
          '192.168.71.180',
          '192.168.71.181',
          '192.168.71.182',
          '192.168.71.183',
          '192.168.71.184',
          '192.168.71.185',
          '192.168.71.186',
          '192.168.71.187',
          '192.168.71.188',
          '192.168.71.189',
          '192.168.71.190',
          '192.168.71.191',
          '192.168.71.192',
          '192.168.71.193',
          '192.168.71.194',
          '192.168.71.195',
          '192.168.71.196',
          '192.168.71.197',
          '192.168.71.198',
          '192.168.71.199',
          '192.168.71.200',
          '192.168.71.201',
          '192.168.71.202',
          '192.168.71.203',
          '192.168.71.204',
          '192.168.71.205',
          '192.168.71.206',
          '192.168.71.207',
          '192.168.71.208',
          '192.168.71.209',
          '192.168.71.210',
          '192.168.71.211',
          '192.168.71.212',
          '192.168.71.213',
          '192.168.71.214',
          '192.168.71.215',
          '192.168.71.216',
          '192.168.71.217',
          '192.168.71.218',
          '192.168.71.219',
          '192.168.71.220',
          '192.168.71.221',
          '192.168.71.222',
          '192.168.71.223',
          '192.168.71.224',
          '192.168.71.225',
          '192.168.71.226',
          '192.168.71.227',
          '192.168.71.228',
          '192.168.71.229',
          '192.168.71.230',
          '192.168.71.231',
          '192.168.71.232',
          '192.168.71.233',
          '192.168.71.234',
          '192.168.71.235',
          '192.168.71.236',
          '192.168.71.237',
          '192.168.71.238',
          '192.168.71.239',
          '192.168.71.240',
          '192.168.71.241',
          '192.168.71.242',
          '192.168.71.243',
          '192.168.71.244',
          '192.168.71.245',
          '192.168.71.246',
          '192.168.71.247',
          '192.168.71.248',
          '192.168.71.249',
          '192.168.71.250',
          '192.168.71.251',
          '192.168.71.252',
          '192.168.71.253',
          '192.168.71.254'
        ];
==== Discovery ====
[Core 1][Pass 1][172.25.205.1]
[172.25.205.1][NO][2c][public] No response from remote host '172.25.205.1'
[172.25.205.1][NO][1][public] No response from remote host '172.25.205.1'
[Core 1][Pass 2][172.25.205.2]
[172.25.205.2][NO][2c][public] No response from remote host '172.25.205.2'
[172.25.205.2][NO][1][public] No response from remote host '172.25.205.2'
[Core 1][Pass 2][172.25.205.3]
[172.25.205.3][NO][2c][public] No response from remote host '172.25.205.3'
[172.25.205.3][NO][1][public] No response from remote host '172.25.205.3'
[Core 1][Pass 2][172.25.205.4]
[172.25.205.4][NO][2c][public] No response from remote host '172.25.205.4'
[172.25.205.4][NO][1][public] No response from remote host '172.25.205.4'
==== Query ====
=========================================
================== END ==================
=========================================

Offline

#23 2009-05-20 12:12:15

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: TRACKER 2.0.0 - aucun matériel détecté

J'ai peut être trouvé ce qui gêne, pouvez-vous réessayer wink

Offline

#24 2009-05-20 13:00:57

OlivierB
Member
Registered: 2009-01-22
Posts: 27

Re: TRACKER 2.0.0 - aucun matériel détecté

Je l'ai fait une première fois (avec la dernière version), et ça a donné ça :

[root@testFedora agent_tracker]# perl tracker_agent.pl
Name "main::value" used only once: possible typo at tracker_agent.pl line 166.
Name "main::experimental" used only once: possible typo at tracker_agent.pl line 38.
Threads version: 1.67
== Discovery devices ==
panic: free from wrong pool during global destruction.
The file has been successfully uploaded
== Query devices ==
The file has been successfully uploaded
The file has been successfully uploaded
[root@testFedora log]# more 01391257001.log 
=========================================
============== Start Agent ==============
=========================================
Operating system : linux
Operating system version : 2.6.18-128.1.6.el5xen
Operating system arch : i386-linux-thread-multi
Perl version : 5.10.0
Thread version : 1.67
ForkManager version : 0.7.5
SNMP version : 
Zlib version : 2.008
AppConfig version : 1.66
UserAgent version : 5.823
HTTP Request Common version : 5.822
XML Simple version : 2.18
Data Dumper version : 2.121_14
FindBin version : 1.49

$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01391257001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'kd6rzjhSkAGVRIwAJghJ5rCXUaWe1a',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      'entity' => '0',
                                      'id' => '1',
                                      'ipend' => '190.30.50.20',
                                      'ipstart' => '190.30.50.10'
                                    },
                         '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 = [
          '190.30.50.10',
          '190.30.50.11',
          '190.30.50.12',
          '190.30.50.13',
          '190.30.50.14',
          '190.30.50.15',
          '190.30.50.16',
          '190.30.50.17',
          '190.30.50.18',
          '190.30.50.19',
          '190.30.50.20'
        ];
==== Discovery ====
[Core 1][Pass 1][190.30.50.10]
[190.30.50.10][YES][2c][public]
[Core 1][Pass 2][190.30.50.11]
[190.30.50.11][NO][2c][public] No response from remote host '190.30.50.11'
[190.30.50.11][NO][1][public] No response from remote host '190.30.50.11'
==== Query ====
=========================================
================== END ==================
=========================================

Je l'ai refait presque tout de suite derrière, et ça donne ça :

[root@testFedora agent_tracker]# perl tracker_agent.pl
Name "main::value" used only once: possible typo at tracker_agent.pl line 166.
Name "main::experimental" used only once: possible typo at tracker_agent.pl line 38.
Threads version: 1.67
== Discovery devices ==
The file has been successfully uploaded
== Query devices ==
The file has been successfully uploaded
The file has been successfully uploaded
[root@testFedora agent_tracker]# more log/0139125
01391257001.log  01391258001.log  
[root@testFedora agent_tracker]# more log/01391258001.log 
=========================================
============== Start Agent ==============
=========================================
Operating system : linux
Operating system version : 2.6.18-128.1.6.el5xen
Operating system arch : i386-linux-thread-multi
Perl version : 5.10.0
Thread version : 1.67
ForkManager version : 0.7.5
SNMP version : 
Zlib version : 2.008
AppConfig version : 1.66
UserAgent version : 5.823
HTTP Request Common version : 5.822
XML Simple version : 2.18
Data Dumper version : 2.121_14
FindBin version : 1.49

$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01391258001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'kd6rzjhSkAGVRIwAJghJ5rCXUaWe1a',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      'entity' => '0',
                                      'id' => '1',
                                      'ipend' => '190.30.50.20',
                                      'ipstart' => '190.30.50.10'
                                    },
                         '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 = [
          '190.30.50.10',
          '190.30.50.11',
          '190.30.50.12',
          '190.30.50.13',
          '190.30.50.14',
          '190.30.50.15',
          '190.30.50.16',
          '190.30.50.17',
          '190.30.50.18',
          '190.30.50.19',
          '190.30.50.20'
        ];
==== Discovery ====
[Core 1][Pass 1][190.30.50.10]
[190.30.50.10][YES][2c][public]
[Core 1][Pass 2][190.30.50.11]
[190.30.50.11][NO][2c][public] No response from remote host '190.30.50.11'
[190.30.50.11][NO][1][public] No response from remote host '190.30.50.11'
[Core 1][Pass 2][190.30.50.12]
[190.30.50.12][YES][2c][public]
[Core 1][Pass 2][190.30.50.13]
[190.30.50.13][YES][2c][public]
[Core 1][Pass 2][190.30.50.14]
[190.30.50.14][YES][2c][public]
==== Query ====
=========================================
================== END ==================
=========================================

Offline

#25 2009-05-20 14:06:51

SilentFrame
Member
Registered: 2009-05-12
Posts: 22

Re: TRACKER 2.0.0 - aucun matériel détecté

=========================================
============== Start Agent ==============
=========================================
Operating system : linux
Operating system version : 2.6.22.18-server-1mdv
Operating system arch : i386-linux-thread-multi
Perl version : 5.10.0
Thread version : 1.67
ForkManager version : 0.7.5
SNMP version : 
Zlib version : 2.015
AppConfig version : 1.66
UserAgent version : 5.814
HTTP Request Common version : 5.814
XML Simple version : 2.18
Data Dumper version : 2.121_14
FindBin version : 1.49

$VAR1 = {
          'agent' => {
                       'threads_query' => '1',
                       'PID' => '01391603001',
                       'fragment' => 50,
                       'core_query' => '1',
                       'logs' => '2',
                       'key' => 'HlEGX6352u6RY6hkxeVkMLlZp431Pc',
                       'id' => '1',
                       'threads_discovery' => '1',
                       'core_discovery' => '1'
                     },
          'discovery' => {
                         'rangeip' => {
                                      '1' => {
                                             'entity' => '0',
                                             'ipend' => '172.25.205.254',
                                             'ipstart' => '172.25.205.1'
                                           },
                                      '2' => {
                                             'entity' => '0',
                                             'ipend' => '192.168.71.254',
                                             'ipstart' => '192.168.71.1'
                                           }
                                    },
                         '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 = [
          '172.25.205.1',
          '172.25.205.2',
          '172.25.205.3',
          '172.25.205.4',
          '172.25.205.5',
          '172.25.205.6',
          '172.25.205.7',
          '172.25.205.8',
          '172.25.205.9',
          '172.25.205.10',
          '172.25.205.11',
          '172.25.205.12',
          '172.25.205.13',
          '172.25.205.14',
          '172.25.205.15',
          '172.25.205.16',
          '172.25.205.17',
          '172.25.205.18',
          '172.25.205.19',
          '172.25.205.20',
          '172.25.205.21',
          '172.25.205.22',
          '172.25.205.23',
          '172.25.205.24',
          '172.25.205.25',
          '172.25.205.26',
          '172.25.205.27',
          '172.25.205.28',
          '172.25.205.29',
          '172.25.205.30',
          '172.25.205.31',
          '172.25.205.32',
          '172.25.205.33',
          '172.25.205.34',
          '172.25.205.35',
          '172.25.205.36',
          '172.25.205.37',
          '172.25.205.38',
          '172.25.205.39',
          '172.25.205.40',
          '172.25.205.41',
          '172.25.205.42',
          '172.25.205.43',
          '172.25.205.44',
          '172.25.205.45',
          '172.25.205.46',
          '172.25.205.47',
          '172.25.205.48',
          '172.25.205.49',
          '172.25.205.50',
          '172.25.205.51',
          '172.25.205.52',
          '172.25.205.53',
          '172.25.205.54',
          '172.25.205.55',
          '172.25.205.56',
          '172.25.205.57',
          '172.25.205.58',
          '172.25.205.59',
          '172.25.205.60',
          '172.25.205.61',
          '172.25.205.62',
          '172.25.205.63',
          '172.25.205.64',
          '172.25.205.65',
          '172.25.205.66',
          '172.25.205.67',
          '172.25.205.68',
          '172.25.205.69',
          '172.25.205.70',
          '172.25.205.71',
          '172.25.205.72',
          '172.25.205.73',
          '172.25.205.74',
          '172.25.205.75',
          '172.25.205.76',
          '172.25.205.77',
          '172.25.205.78',
          '172.25.205.79',
          '172.25.205.80',
          '172.25.205.81',
          '172.25.205.82',
          '172.25.205.83',
          '172.25.205.84',
          '172.25.205.85',
          '172.25.205.86',
          '172.25.205.87',
          '172.25.205.88',
          '172.25.205.89',
          '172.25.205.90',
          '172.25.205.91',
          '172.25.205.92',
          '172.25.205.93',
          '172.25.205.94',
          '172.25.205.95',
          '172.25.205.96',
          '172.25.205.97',
          '172.25.205.98',
          '172.25.205.99',
          '172.25.205.100',
          '172.25.205.101',
          '172.25.205.102',
          '172.25.205.103',
          '172.25.205.104',
          '172.25.205.105',
          '172.25.205.106',
          '172.25.205.107',
          '172.25.205.108',
          '172.25.205.109',
          '172.25.205.110',
          '172.25.205.111',
          '172.25.205.112',
          '172.25.205.113',
          '172.25.205.114',
          '172.25.205.115',
          '172.25.205.116',
          '172.25.205.117',
          '172.25.205.118',
          '172.25.205.119',
          '172.25.205.120',
          '172.25.205.121',
          '172.25.205.122',
          '172.25.205.123',
          '172.25.205.124',
          '172.25.205.125',
          '172.25.205.126',
          '172.25.205.127',
          '172.25.205.128',
          '172.25.205.129',
          '172.25.205.130',
          '172.25.205.131',
          '172.25.205.132',
          '172.25.205.133',
          '172.25.205.134',
          '172.25.205.135',
          '172.25.205.136',
          '172.25.205.137',
          '172.25.205.138',
          '172.25.205.139',
          '172.25.205.140',
          '172.25.205.141',
          '172.25.205.142',
          '172.25.205.143',
          '172.25.205.144',
          '172.25.205.145',
          '172.25.205.146',
          '172.25.205.147',
          '172.25.205.148',
          '172.25.205.149',
          '172.25.205.150',
          '172.25.205.151',
          '172.25.205.152',
          '172.25.205.153',
          '172.25.205.154',
          '172.25.205.155',
          '172.25.205.156',
          '172.25.205.157',
          '172.25.205.158',
          '172.25.205.159',
          '172.25.205.160',
          '172.25.205.161',
          '172.25.205.162',
          '172.25.205.163',
          '172.25.205.164',
          '172.25.205.165',
          '172.25.205.166',
          '172.25.205.167',
          '172.25.205.168',
          '172.25.205.169',
          '172.25.205.170',
          '172.25.205.171',
          '172.25.205.172',
          '172.25.205.173',
          '172.25.205.174',
          '172.25.205.175',
          '172.25.205.176',
          '172.25.205.177',
          '172.25.205.178',
          '172.25.205.179',
          '172.25.205.180',
          '172.25.205.181',
          '172.25.205.182',
          '172.25.205.183',
          '172.25.205.184',
          '172.25.205.185',
          '172.25.205.186',
          '172.25.205.187',
          '172.25.205.188',
          '172.25.205.189',
          '172.25.205.190',
          '172.25.205.191',
          '172.25.205.192',
          '172.25.205.193',
          '172.25.205.194',
          '172.25.205.195',
          '172.25.205.196',
          '172.25.205.197',
          '172.25.205.198',
          '172.25.205.199',
          '172.25.205.200',
          '172.25.205.201',
          '172.25.205.202',
          '172.25.205.203',
          '172.25.205.204',
          '172.25.205.205',
          '172.25.205.206',
          '172.25.205.207',
          '172.25.205.208',
          '172.25.205.209',
          '172.25.205.210',
          '172.25.205.211',
          '172.25.205.212',
          '172.25.205.213',
          '172.25.205.214',
          '172.25.205.215',
          '172.25.205.216',
          '172.25.205.217',
          '172.25.205.218',
          '172.25.205.219',
          '172.25.205.220',
          '172.25.205.221',
          '172.25.205.222',
          '172.25.205.223',
          '172.25.205.224',
          '172.25.205.225',
          '172.25.205.226',
          '172.25.205.227',
          '172.25.205.228',
          '172.25.205.229',
          '172.25.205.230',
          '172.25.205.231',
          '172.25.205.232',
          '172.25.205.233',
          '172.25.205.234',
          '172.25.205.235',
          '172.25.205.236',
          '172.25.205.237',
          '172.25.205.238',
          '172.25.205.239',
          '172.25.205.240',
          '172.25.205.241',
          '172.25.205.242',
          '172.25.205.243',
          '172.25.205.244',
          '172.25.205.245',
          '172.25.205.246',
          '172.25.205.247',
          '172.25.205.248',
          '172.25.205.249',
          '172.25.205.250',
          '172.25.205.251',
          '172.25.205.252',
          '172.25.205.253',
          '172.25.205.254',
          '192.168.71.1',
          '192.168.71.2',
          '192.168.71.3',
          '192.168.71.4',
          '192.168.71.5',
          '192.168.71.6',
          '192.168.71.7',
          '192.168.71.8',
          '192.168.71.9',
          '192.168.71.10',
          '192.168.71.11',
          '192.168.71.12',
          '192.168.71.13',
          '192.168.71.14',
          '192.168.71.15',
          '192.168.71.16',
          '192.168.71.17',
          '192.168.71.18',
          '192.168.71.19',
          '192.168.71.20',
          '192.168.71.21',
          '192.168.71.22',
          '192.168.71.23',
          '192.168.71.24',
          '192.168.71.25',
          '192.168.71.26',
          '192.168.71.27',
          '192.168.71.28',
          '192.168.71.29',
          '192.168.71.30',
          '192.168.71.31',
          '192.168.71.32',
          '192.168.71.33',
          '192.168.71.34',
          '192.168.71.35',
          '192.168.71.36',
          '192.168.71.37',
          '192.168.71.38',
          '192.168.71.39',
          '192.168.71.40',
          '192.168.71.41',
          '192.168.71.42',
          '192.168.71.43',
          '192.168.71.44',
          '192.168.71.45',
          '192.168.71.46',
          '192.168.71.47',
          '192.168.71.48',
          '192.168.71.49',
          '192.168.71.50',
          '192.168.71.51',
          '192.168.71.52',
          '192.168.71.53',
          '192.168.71.54',
          '192.168.71.55',
          '192.168.71.56',
          '192.168.71.57',
          '192.168.71.58',
          '192.168.71.59',
          '192.168.71.60',
          '192.168.71.61',
          '192.168.71.62',
          '192.168.71.63',
          '192.168.71.64',
          '192.168.71.65',
          '192.168.71.66',
          '192.168.71.67',
          '192.168.71.68',
          '192.168.71.69',
          '192.168.71.70',
          '192.168.71.71',
          '192.168.71.72',
          '192.168.71.73',
          '192.168.71.74',
          '192.168.71.75',
          '192.168.71.76',
          '192.168.71.77',
          '192.168.71.78',
          '192.168.71.79',
          '192.168.71.80',
          '192.168.71.81',
          '192.168.71.82',
          '192.168.71.83',
          '192.168.71.84',
          '192.168.71.85',
          '192.168.71.86',
          '192.168.71.87',
          '192.168.71.88',
          '192.168.71.89',
          '192.168.71.90',
          '192.168.71.91',
          '192.168.71.92',
          '192.168.71.93',
          '192.168.71.94',
          '192.168.71.95',
          '192.168.71.96',
          '192.168.71.97',
          '192.168.71.98',
          '192.168.71.99',
          '192.168.71.100',
          '192.168.71.101',
          '192.168.71.102',
          '192.168.71.103',
          '192.168.71.104',
          '192.168.71.105',
          '192.168.71.106',
          '192.168.71.107',
          '192.168.71.108',
          '192.168.71.109',
          '192.168.71.110',
          '192.168.71.111',
          '192.168.71.112',
          '192.168.71.113',
          '192.168.71.114',
          '192.168.71.115',
          '192.168.71.116',
          '192.168.71.117',
          '192.168.71.118',
          '192.168.71.119',
          '192.168.71.120',
          '192.168.71.121',
          '192.168.71.122',
          '192.168.71.123',
          '192.168.71.124',
          '192.168.71.125',
          '192.168.71.126',
          '192.168.71.127',
          '192.168.71.128',
          '192.168.71.129',
          '192.168.71.130',
          '192.168.71.131',
          '192.168.71.132',
          '192.168.71.133',
          '192.168.71.134',
          '192.168.71.135',
          '192.168.71.136',
          '192.168.71.137',
          '192.168.71.138',
          '192.168.71.139',
          '192.168.71.140',
          '192.168.71.141',
          '192.168.71.142',
          '192.168.71.143',
          '192.168.71.144',
          '192.168.71.145',
          '192.168.71.146',
          '192.168.71.147',
          '192.168.71.148',
          '192.168.71.149',
          '192.168.71.150',
          '192.168.71.151',
          '192.168.71.152',
          '192.168.71.153',
          '192.168.71.154',
          '192.168.71.155',
          '192.168.71.156',
          '192.168.71.157',
          '192.168.71.158',
          '192.168.71.159',
          '192.168.71.160',
          '192.168.71.161',
          '192.168.71.162',
          '192.168.71.163',
          '192.168.71.164',
          '192.168.71.165',
          '192.168.71.166',
          '192.168.71.167',
          '192.168.71.168',
          '192.168.71.169',
          '192.168.71.170',
          '192.168.71.171',
          '192.168.71.172',
          '192.168.71.173',
          '192.168.71.174',
          '192.168.71.175',
          '192.168.71.176',
          '192.168.71.177',
          '192.168.71.178',
          '192.168.71.179',
          '192.168.71.180',
          '192.168.71.181',
          '192.168.71.182',
          '192.168.71.183',
          '192.168.71.184',
          '192.168.71.185',
          '192.168.71.186',
          '192.168.71.187',
          '192.168.71.188',
          '192.168.71.189',
          '192.168.71.190',
          '192.168.71.191',
          '192.168.71.192',
          '192.168.71.193',
          '192.168.71.194',
          '192.168.71.195',
          '192.168.71.196',
          '192.168.71.197',
          '192.168.71.198',
          '192.168.71.199',
          '192.168.71.200',
          '192.168.71.201',
          '192.168.71.202',
          '192.168.71.203',
          '192.168.71.204',
          '192.168.71.205',
          '192.168.71.206',
          '192.168.71.207',
          '192.168.71.208',
          '192.168.71.209',
          '192.168.71.210',
          '192.168.71.211',
          '192.168.71.212',
          '192.168.71.213',
          '192.168.71.214',
          '192.168.71.215',
          '192.168.71.216',
          '192.168.71.217',
          '192.168.71.218',
          '192.168.71.219',
          '192.168.71.220',
          '192.168.71.221',
          '192.168.71.222',
          '192.168.71.223',
          '192.168.71.224',
          '192.168.71.225',
          '192.168.71.226',
          '192.168.71.227',
          '192.168.71.228',
          '192.168.71.229',
          '192.168.71.230',
          '192.168.71.231',
          '192.168.71.232',
          '192.168.71.233',
          '192.168.71.234',
          '192.168.71.235',
          '192.168.71.236',
          '192.168.71.237',
          '192.168.71.238',
          '192.168.71.239',
          '192.168.71.240',
          '192.168.71.241',
          '192.168.71.242',
          '192.168.71.243',
          '192.168.71.244',
          '192.168.71.245',
          '192.168.71.246',
          '192.168.71.247',
          '192.168.71.248',
          '192.168.71.249',
          '192.168.71.250',
          '192.168.71.251',
          '192.168.71.252',
          '192.168.71.253',
          '192.168.71.254'
        ];
==== Discovery ====
[Core 1][Pass 1][172.25.205.1]
[172.25.205.1][NO][2c][public] No response from remote host '172.25.205.1'
[172.25.205.1][NO][1][public] No response from remote host '172.25.205.1'
[Core 1][Pass 2][172.25.205.2]
[172.25.205.2][NO][2c][public] No response from remote host '172.25.205.2'
[172.25.205.2][NO][1][public] No response from remote host '172.25.205.2'
[Core 1][Pass 2][172.25.205.3]
[172.25.205.3][NO][2c][public] No response from remote host '172.25.205.3'
[172.25.205.3][NO][1][public] No response from remote host '172.25.205.3'
==== Query ====
=========================================
================== END ==================
=========================================

Offline

Board footer

Powered by FluxBB