Anthony LEBON | 25 Jun 15:26 2015
Picon

Problème de mise en place de l'url fusion inventory

Bonjour ,

 

J’ai un problème concernant le plugin fusion inventory sur un ubuntu server.

 

Je m’explique lors de l’installation le plugin peut être activé mais  lorsque je veux renseigner URL du serveur dans les entités il est malheureusement impossible de le sauvegarder (voir détail en pièce jointe).

 

Je suis un débutant dans le monde de linux je tiens à le préciser.

 

Merci d’avance pour votre réponse.

 

Cordialement .

 

 

Anthony LEBON

Administrateur réseau

Tel : 0692 11 99 93

Email : anthony.lebon-dEfQMSjPJvlGWvitb5QawA@public.gmane.org

Nouveau site : www.semader.fr

 

 

_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user@...
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user
Matthieu.Marc | 26 May 15:18 2015
Picon

Re: Container OpenVZ (Proxmox) and UUID

I have the same problem using 2.3.16.

I am starting trying modifying UUID of the guest container in
./lib/FusionInventory/Agent/Task/Inventory/Virtualization/Vmsystem.pm :

my $vmid = $type eq 'Virtuozzo' ?
        _getOpenVZVmID(logger => $logger) : undef;

    my $uuid = $type eq 'Xen' ? _getXenUUID(logger => $logger) :
               $type eq 'LXC' ? _getLibvirtLXC_UUID(logger => $logger) :
               undef;

 # BEGIN NEW
    if ( 
       $type eq 'Virtuozzo' && defined $vmid 
    ) {
       $uuid = $inventory->{content}{HARDWARE}{UUID} . "-" . $vmid;
       $vmid = $uuid;
    }
# END NEW

    $inventory->setHardware({
        VMSYSTEM => $type,
        UUID     => $uuid,
        VMID     => $vmid
    });

So that the UUID of the guest is  UUID + "-"  + VM_ID

But when importing the guest, it override the host. (the UUID of the host and of the guest are not equal anymore).

Cordialy

-----Message d'origine-----
De : Fusioninventory-user
[mailto:fusioninventory-user-bounces+matthieu.marc=ensam.eu@...]
De la part de Kevin Roy
Envoyé : mardi 26 mai 2015 15:08
À : FusionInventory User discussion
Objet : Re: [Fusioninventory-user] Container OpenVZ (Proxmox) and UUID

On 26 May 2015 at 14:32,  <Matthieu.Marc@...> wrote:
> It seems to be only for KVM. I am using OpenVZ :-(

Ok my bad ;) ... i overlooked the subject in your mail.

It seems you are using a really old version (2.2.3) of fusioninventory-agent. Can you test with a more
recent version (the latest version is actually 2.3.16) and see if it can fix your issue ?

--
Kevin Roy

_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user@...
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user
Matthieu.Marc | 26 May 11:05 2015
Picon

Container OpenVZ (Proxmox) and UUID

Hi,

 

I have two proxmox server on two differents sites.

 

I am using the fusion agent (v2.2.3) on proxmox and on containers using debian or ubuntu.

 

My problem is that the two proxmox server are using the same OpenVZ UID for container :

 

On proxmox A, I have a container A1 with UID 100

On proxmox B , I have another container B1 with UID 100.

 

To be able to link Proxmox host and container, I need to configure the UUID of the container, and set it to the container UUID. But I have two container with UID 100.

 

So, when I display proxmox B on GLPI, on Virtual Machine, I see container A1.

 

Maybe the UUID would contains Proxmox UUID in order to be able to have several container with the same openvz UID.

 

Cordialy

 

Matthieu MARC

 

 

----------------------------------------------------------

Matthieu MARC

Ingénieur informatique

Direction des Systèmes d’Information

 

  

Ecole Nationale Supérieure d’Arts et Métiers

2 boulevard du ronceray 49035 ANGERS

http://www.ensam.eu

 

_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user@...
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user
Alexis TEXIER | 7 May 09:41 2015
Picon

Re: typo on fusioninventory debian repository

Le 27/04/2015 11:17, Alexis TEXIER a écrit :
Hello,

There is a typo on the fusioninventory debian repository.
The name of the current stable debian is jessie, not jeesie.

Regards
-- ---------------------------------------------------------------- Alexis TEXIER Email : alexis.texier-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org Tel : 02.38.41.71.18 pgp: 0x364B6AF1 sur pgp.mit.edu Université d'Orléans Service Commun de la Documentation 6 rue de Tours 45072 Orléans cedex 2 ----------------------------------------------------------------

_______________________________________________ Fusioninventory-user mailing list Fusioninventory-user-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user

Thanks for correcting the typo.
But that broke the repo for jessie.
The architecture directories are empty.

-- ---------------------------------------------------------------- Alexis TEXIER Email : alexis.texier-7Gpg/I2gjxJXke3fktIsHg@public.gmane.org Tel : 02.38.41.71.18 pgp: 0x364B6AF1 sur pgp.mit.edu Université d'Orléans Service Commun de la Documentation 6 rue de Tours 45072 Orléans cedex 2 ----------------------------------------------------------------
_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user@...
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user
Mario Gzuk | 27 Apr 11:54 2015
Picon

fusioninventory-agent <at> opensuse Build service

Hi  <at> all,
folowing this how to:
http://www.fusioninventory.org/documentation/agent/installation/linux/rhel/
we try to install the agent on RHEL 7.1. We have the epel repository
enabled, but got this error:

Error: Packet: fusioninventory-agent-2.3.16-1.1.noarch
            Requires: perl(File::Which)

The same error appears with version 2.3.15.

Is there something broken? Or did we missed some thing?

Thank you!

Cheers
Pierre-Luc Collard | 14 Apr 18:57 2015

agent not working on openvz host

Hi,

I have a issue with the agent running on CentOS 6.6.  All my hosts
running OpenVZ have the same issue. My hosts without OpenVZ are
working correctly.

The inventory is not sent to the GLPI server. I received a few errors
regarding Virtuozzo.pm...

The output of the agent with debug is included below :

[root <at> infra01 ~]# fusioninventory-agent --debug -f
[debug] FusionInventory Agent (2.3.16)
[debug] Configuration directory: /etc/fusioninventory
[debug] Data directory: /usr/share/fusioninventory
[debug] Storage directory: /var/lib/fusioninventory
[debug] Lib directory: /usr/share/fusioninventory/lib
[debug] [target server0] Next server contact planned for Tue Apr 14
13:37:15 2015
[debug] Available tasks:
[debug] - Inventory: 1.0
[debug] [http client] Using Compress::Zlib for compression
[info] sending prolog request to server server0
[info] running task Inventory
[debug] Net::CUPS Perl module not available, unable to retrieve printers
[debug] Running FusionInventory::Agent::Task::Inventory::AccessLog
[debug] Running FusionInventory::Agent::Task::Inventory::Generic
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Arch
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Domains
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Environment
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Hostname
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI
[debug] Running
FusionInventory::Agent::Task::Inventory::Generic::PCI::Controllers
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI::Modems
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::PCI::Sounds
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Processes
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::SSH
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Screen
[debug] retrieving EDID data:
[debug] - reading /sys/devices content: no result
[debug] - running monitor-get-edid-using-vbe command: no result
[debug] - running monitor-get-edid command: no result
[debug] - running get-edid command: command not available
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Softwares
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Softwares::RPM
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Storages
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Storages::HP
[debug] Running FusionInventory::Agent::Task::Inventory::Generic::Users
[debug] Running FusionInventory::Agent::Task::Inventory::Linux
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Distro
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Distro::LSB
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Drives
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Inputs
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::LVM
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Memory
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Networks
[debug] retrieving interfaces list:
[debug] - running /sbin/ip command: success
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Storages
[debug] retrieving devices list:
[debug] - reading /sys/block content: success
[debug] Running
FusionInventory::Agent::Task::Inventory::Linux::Storages::Adaptec
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Uptime
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::Videos
[debug] retrieving display information:
[debug] - running ddcprobe command: command not available
[debug] - reading Xorg log file: unable to get Xorg PID
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::i386
[debug] Running FusionInventory::Agent::Task::Inventory::Linux::i386::CPU
[debug] Running FusionInventory::Agent::Task::Inventory::Virtualization
[debug] Running
FusionInventory::Agent::Task::Inventory::Virtualization::Virtuozzo
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 77.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 79.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 81.
Use of uninitialized value $1 in division (/) at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 84.
[debug] invalid value stopped for field STATUS for section VIRTUALMACHINES
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 77.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 79.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 81.
Use of uninitialized value $1 in division (/) at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 84.
[debug] invalid value stopped for field STATUS for section VIRTUALMACHINES
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 77.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 79.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 81.
Use of uninitialized value $1 in division (/) at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 84.
[debug] invalid value stopped for field STATUS for section VIRTUALMACHINES
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 77.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 79.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 81.
Use of uninitialized value $1 in division (/) at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 84.
[debug] invalid value stopped for field STATUS for section VIRTUALMACHINES
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 77.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 79.
Use of uninitialized value $2 in string eq at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 81.
Use of uninitialized value $1 in division (/) at
/usr/share/fusioninventory/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Virtuozzo.pm
line 84.
[debug] Running
FusionInventory::Agent::Task::Inventory::Virtualization::Vmsystem
[debug] Section HARDWARE has changed since last inventory
[debug] [http client] Using Compress::Zlib for compression
[root <at> infra01 ~]#

Is there anybody that can help me to fix this issue ?

Thanks,

Pierre-Luc
Russell E. Wecker | 11 Mar 04:30 2015

Deployment agent 500 No Host option provided

I am having a problem getting deployment working with the glpi plugin and fusioninventory-agent. 
We are  running glpi 0.84 and the plugin is version is 0.84+3.5.

our agent version is  2.3.16
on GLPI

the service URL is http://glpi.somewhere.com/glpi/


Our agent.cfg on client is set to


server = http://glpi.somewhere.org/glpi/plugins/fusioninventory/



however whenever we start  the agent we get the following in our log file


sending prolog request to server server0
running task ESX
[http client] communication error: 500 No Host option provided
running task Inventory
running task Deploy
[http client] communication error: 500 No Host option provided


inventory works fine but deployment does not. any ideas?


_______________________________________________
Fusioninventory-user mailing list
Fusioninventory-user@...
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-user
Christian Michallek | 10 Mar 15:11 2015
Picon

Status of fusioninventory-esx

Hi everyone,

whats the current status of fusioninventory-esx, is it still in development?
I've tried it with esxi 5.5 and it seems not working, as stated in the 
docs only esxi 5.0 is supported.
any chance to get this working somehow?

greetings

Christian
Marco Gaiarin | 6 Mar 18:12 2015
Picon

USB printers mess...


I repost this issue, hoping on some feedback.

I'm using GLPI 0.84.8 with FI 0.84+3.5, and agents 2.3.15 on windows
(win7 64bit mostly).

I've a set of Samsung (ML-2160) and HP (LaserJet Professional P1102)
that i've added some year/month ago by hand on GLPI, with toner
cartdriges and some many info that i can't lost.

HP printers expose to windows USB subsystem a different S/N from what
printer on label, so i was forced to change S/N in GLPI to match the
''internal'' one. Done.
Samsung printers, instead, have the exact same S/N seen by windows and
on label.

Considering the samsung case easy, i've tried to match the S/N (eg
Z6RMB8GD6E00MLT) with the FI 'equipment import and link rule' using the
bottom 'test rules', writing S/N and selecting 'printers'.

The result is:

	Rule results
	Validation	Yes
	Action type	Link
	Link		sml2160-4

and 'sml2160-4' is exactly my ''manually inserted'' printer; but when
the client run EVERY TIME a new printer name 'Samsung ML-2160 Series'
and S/N Z6RMB8GD6E00MLT get added.

If i look at 'import information' for the related PC i get:

printer	0	
	name		Samsung ML-2160 Series
	serial		Z6RMB8GD6E00MLT
	have_usb	1

and seems rather normal to me.

What i'm missing? How can i debug this issue? Thanks.

--

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Guillaume Rousse | 1 Mar 18:15 2015
Picon

FusionInventory agent 2.3.16 release

Hello FusionInventory users,

The FusionInventory Agent maintainers are glad to announce the 2.3.16 
release.

You can download it from the usual places:
* the forge for the source distribution
* the forge for the windows distribution (soon...)
* etc...

See http://www.fusioninventory.org/documentation/agent/installation/ for 
details.

The major change in this release is compatibility with the new message 
format used by the FusionInventory for GLPI plugin, when performing 
multiple network discovery or network inventory tasks. They are also 
minor fixes for HyperV guest machines identification and CPU retrieval 
in local inventory.

We did our best to provide a solid release, please contact us if you 
believe you find something unexpected.
--

-- 
Guillaume
Marco Gaiarin | 10 Feb 17:57 2015
Picon

SNMP start working but...


I'm still here fighting against SNMP suport in FI.

With the push of 2.3.15 debian packages (thanks!!! ;), i've done some
mor tests, and revamped sme import rule now SNMP works.
I'm importing switches and printers, doing some tests. I'm using for
now three import rules: serial, mac, name. No auto add.

But some devices does not work. For example:

1) my wireless AP, in log i got:

	Importo rifiutato [itemtype]:NetworkEquipment, [name]:TW1039Z026

if i try manual FI run i get:

 <?xml version="1.0" encoding="UTF-8" ?>
 <REQUEST>
   <CONTENT>
     <DEVICE>
       <INFO>
         <COMMENTS>WAP-200 - Hardware revision 50-00-1022-03 - Serial number TW1039Z026 - Firmware version 5.1.10.0-03-9018</COMMENTS>
         <ID>0</ID>
         <IPS>
           <IP>10.99.1.237</IP>
           <IP>127.0.0.1</IP>
         </IPS>
         <NAME>TW1039Z026</NAME>
         <TYPE />  <UPTIME>51 days, 15:06:17.39</UPTIME>
       </INFO>
       <PORTS>
       [...]

This is an ''easy'' case: data missed S/N and MAC, and the name proposed
(TW1039Z026) is different from what in GLPI (m110-1).

I've also tried to add a rule tu match against IP, but the result is
the same.

2) two printers, with the same log on GLPI:

	Importo rifiutato [itemtype]:Printer, [name]:MP 161L

but this time the raw xml from FI client is more rich:

 <?xml version="1.0" encoding="UTF-8" ?>
 <REQUEST>
   <CONTENT>
     <DEVICE>
       <CARTRIDGES>
         <TONERBLACK /></CARTRIDGES>
       <INFO>
         <COMMENTS>NRG MP 161L / NRG Network Printer D model</COMMENTS>
         <ID>0</ID>
         <IPS>
           <IP>10.27.1.249</IP>
           <IP>127.0.0.1</IP>
         </IPS>
         <MAC>00:00:74:ad:8b:01</MAC>
         <MANUFACTURER>Ricoh</MANUFACTURER>
         <MEMORY>64</MEMORY>
         <MODEL>MP 161L</MODEL>
         <NAME>MP 161L</NAME>
         <TYPE>PRINTER</TYPE>
         <UPTIME>4 hours, 12:06.53</UPTIME>
         <VENDOR>NRG</VENDOR>
       </INFO>
       <PAGECOUNTERS>
       [...]

note that S/N missed, but there's IP and MAC. If i try to match (using
test button into import and link rules) with MAC, the match work.

Seems to me that FI, despite of the rules used, is able to match
against S/N and NAME only, MAC and IP is totally ineffective.

Right?

--

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

Gmane