• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HP-UX 11.31 sur RX4640 pas de CPU / Memoire - correctif à intégrer ?
#1
Bonjour,

L'agent fusion en version 2.1.7 ne remonte pas les informations de Mémoire et de Cpu sur les HP RX4640
sous HP-UX 11.31

Les modifications suivantes sur les fichiers CPU.pm et Memory.pm de Task/Inventory/OS/HPUX permettent de contourner le problème.

Est il possible d'intégrer celles ci dans la prochaine version?

Cordialement,

*** Agent/Task/Inventory/OS/HPUX/Memory.pm.orig 2010-12-04 13:29:29.000000000 +0100
--- Agent/Task/Inventory/OS/HPUX/Memory.pm 2011-01-24 13:02:58.000000000 +0100
*************** sub doInventory {
*** 15,20 ****
--- 15,21 ----


if ( `uname -m` =~ /ia64/ ) {
+ `echo 'sc product IPF_MEMORY;info' | /usr/sbin/cstm`; # enable infolog
for ( `echo 'sc product IPF_MEMORY;il' | /usr/sbin/cstm` ) {
if ( /\w+IMM\s+Location/ ) {
next

*** Agent/Task/Inventory/OS/HPUX/CPU.pm.orig 2010-12-04 13:29:29.000000000 +0100
--- Agent/Task/Inventory/OS/HPUX/CPU.pm 2011-01-24 14:13:21.000000000 +0100
*************** sub doInventory {
*** 80,85 ****
--- 80,91 ----
if ( /(\d+) logical processors/ ) {
$CPUcount = $1;
}
+ # Added for RX4640 "3 Intel® Itanium 2 processors (1.6 GHz, 9 MB)"
+ if ( /(\d+) Intel\(R\) Itanium 2 processors \((\d+\.\d+)/ ) {
+ $CPUcount = $1;
+ $CPUinfo->{SPEED} = $2*1000;
+ }
+
# end HPUX 11.31
}
} else {
#2
Patch applied, thank you.

http://forge.fusioninventory.org/project...9e6310aaf3
http://forge.fusioninventory.org/project...1ef3ee8de4
Please contact Fusioninventory Partners companies if you look for a FusionInventory on site expert.
http://www.fusioninventory.org/partners/


Forum Jump:


Users browsing this thread: 1 Guest(s)