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 2008-08-17 14:16:23

greinick
Member
From: Germany / Baden-Württemberg
Registered: 2008-03-11
Posts: 10
Website

RAM Size ocsng shows MB, glpi shows KB only apple mac related

Hi,

we inventory a lot of apple macs, which show the right sice of installed memory in ocsng, e.g. 4096 MB. The same host shows 4194304 MB in glpi smile

Any ideas what causes this error?

Thanks and best regards

Götz Reinicke
IT-Koordinator
Filmakademie Baden-Württemberg GmbH
OCS NG 1.01 on Linux, WIndows and Mac - GLPI 0.71 on Linux

Last edited by greinick (2008-08-17 14:26:12)


Götz Reinicke
IT-Koordinator
Filmakademie Baden-Württemberg GmbH
OCS NG 1.02 on Linux, Windows and Mac - GLPI 0.71.2 on Linux

Offline

#2 2008-08-17 19:24:15

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

ram size are imported from ocs as it is stored (in Mb)

To analyse your problem we need to take a look to your databases (OCS /GLPI)


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2008-08-18 09:03:45

greinick
Member
From: Germany / Baden-Württemberg
Registered: 2008-03-11
Posts: 10
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

What information or DB data do you need?

Regards

Götz


Götz Reinicke
IT-Koordinator
Filmakademie Baden-Württemberg GmbH
OCS NG 1.02 on Linux, Windows and Mac - GLPI 0.71.2 on Linux

Offline

#4 2008-08-18 13:09:53

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

all informations on the ram device in the OCS and GLPI databases


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2008-08-18 15:54:18

greinick
Member
From: Germany / Baden-Württemberg
Registered: 2008-03-11
Posts: 10
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

Hi, I hope the data I submit is of use, if not, what data exactly do you need.

Regards

Götz


-- phpMyAdmin SQL Dump

OCS NG

-- Structur `memories`
--

CREATE TABLE IF NOT EXISTS `memories` (
  `ID` int(11) NOT NULL auto_increment,
  `HARDWARE_ID` int(11) NOT NULL default '0',
  `CAPTION` varchar(255) default NULL,
  `DESCRIPTION` varchar(255) default NULL,
  `CAPACITY` varchar(255) default NULL,
  `PURPOSE` varchar(255) default NULL,
  `TYPE` varchar(255) default NULL,
  `SPEED` varchar(255) default NULL,
  `NUMSLOTS` smallint(6) default NULL,
  PRIMARY KEY  (`HARDWARE_ID`,`ID`),
  KEY `ID` (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=31941 ;

-- Data for some hosts:

(31773, 449, 'BANK 0/DIMM0', 'BANK 0/DIMM0', '1048576', NULL, 'DDR2 SDRAM', '667 MHz', 1),
(31774, 449, 'BANK 1/DIMM1', 'BANK 1/DIMM1', '1048576', NULL, 'DDR2 SDRAM', '667 MHz', 2),



GLPI Dump

-- Structure for `glpi_device_ram`
--

CREATE TABLE IF NOT EXISTS `glpi_device_ram` (
  `ID` int(11) NOT NULL auto_increment,
  `designation` varchar(255) collate utf8_unicode_ci default NULL,
  `frequence` varchar(255) collate utf8_unicode_ci default NULL,
  `comment` text collate utf8_unicode_ci,
  `FK_glpi_enterprise` int(11) NOT NULL default '0',
  `specif_default` varchar(255) collate utf8_unicode_ci default NULL,
  `type` int(11) NOT NULL default '0',
  PRIMARY KEY  (`ID`),
  KEY `FK_glpi_enterprise` (`FK_glpi_enterprise`),
  KEY `designation` (`designation`),
  KEY `type` (`type`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=103 ;


some data:

(91, 'BRANCH 0 CHANNEL 0/DIMM 1', '667 MHz', NULL, 0, '1048576', 11),
(92, 'BRANCH 0 CHANNEL 1/DIMM 2', '667 MHz', NULL, 0, '1048576', 11),
(93, 'BRANCH 1 CHANNEL 0/DIMM 3', '667 MHz', NULL, 0, '1048576', 11),
(94, 'BRANCH 1 CHANNEL 1/DIMM 4', '667 MHz', NULL, 0, '1048576', 11),
(95, 'BRANCH 0 CHANNEL 0/DIMM 5', '667 MHz', NULL, 0, '1048576', 11),
(96, 'BRANCH 0 CHANNEL 1/DIMM 6', '667 MHz', NULL, 0, '1048576', 11),
(97, 'BRANCH 1 CHANNEL 0/DIMM 7', '667 MHz', NULL, 0, '1048576', 11),
(98, 'BRANCH 1 CHANNEL 1/DIMM 8', '667 MHz', NULL, 0, '1048576', 11),


Götz Reinicke
IT-Koordinator
Filmakademie Baden-Württemberg GmbH
OCS NG 1.02 on Linux, Windows and Mac - GLPI 0.71.2 on Linux

Offline

#6 2008-08-18 16:26:58

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

for other memories in OCS database you have also data in kb ?

Mac ocs agent seems to get memory in kb and this is not the standard of OCS (Mb).
The problem is the mac OCS agent I think.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#7 2008-08-18 16:31:26

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

This should be reported to OCS forum.

Which agent do you use ?
Have you tried the new Unified agent ?

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#8 2008-08-18 20:03:02

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

remi wrote:

Have you tried the new Unified agent ?

remi, even the svn version of the unified agent now works on macos, it's not yet available as a package

Offline

#9 2008-08-19 08:36:24

greinick
Member
From: Germany / Baden-Württemberg
Registered: 2008-03-11
Posts: 10
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

MoYo wrote:

for other memories in OCS database you have also data in kb ?

Mac ocs agent seems to get memory in kb and this is not the standard of OCS (Mb).
The problem is the mac OCS agent I think.

Hm ... I contacted the developer of the mac agent, but did not get any respons yet. So I'll try it again.

Regards


Götz Reinicke
IT-Koordinator
Filmakademie Baden-Württemberg GmbH
OCS NG 1.02 on Linux, Windows and Mac - GLPI 0.71.2 on Linux

Offline

#10 2008-08-19 09:14:45

greinick
Member
From: Germany / Baden-Württemberg
Registered: 2008-03-11
Posts: 10
Website

Re: RAM Size ocsng shows MB, glpi shows KB only apple mac related

remi wrote:

This should be reported to OCS forum.

Which agent do you use ?
Have you tried the new Unified agent ?

++

I use the latest Mac OS X agent from http://codejanitor.com/wp/2007/12/20/oc … -released/

I have not used the new Unified agent yet, as I haven't found it for OS X so far.

Regards
Götz


Götz Reinicke
IT-Koordinator
Filmakademie Baden-Württemberg GmbH
OCS NG 1.02 on Linux, Windows and Mac - GLPI 0.71.2 on Linux

Offline

Board footer

Powered by FluxBB