|
Hello, Could you explain us how the application set the name of chart log files (in Chart Data directory) ? They are like this: g6458f253 / L17-litU or g5b61b888 / R2-lavA ... We know the respect this schema: mapId / anId - dataType but.... . if we do charts of an equipment -> the first part of the chart log (the 'anId') is the end of the objectId (here: R2 for an objectId g5b61b888-R2) . if we do charts of a line (serial port, BRI, etc...) -> the 'anId' will be something like: L + an hexa code ..... What does this hexa code mean ???... How can we automatically make relation between this 'anId' and a specific interfaceId of a specific equipment ? Thanks, Xavier. ---------------------------------------------------------------------- Subject: Re: [IM-Talk] Intermapper Log Format From: "William W. Fisher" <[EMAIL PROTECTED]> Date: Thu, 2 Feb 2006 19:53:28 -0500 Unfortunately, the only way to format the chart logs in that fashion is to read the chart data files directly. The chart data logs are stored in flat files using very simple rules. On a unix system, you can use the hexdump utility to display the chart data in tab- delimited form: hexdump -v -e '"%d" "\t" "%d" "\n"' "InterMapper Settings/Chart Data/gb733ffa9/L1-Util Here are the rules: 1. Each data point is stored using 4 bytes for the timestamp and 4 bytes for the value. 2. The timestamps are stored in seconds since 1970 UTC* 3. Percent values are stored in hundreths (e.g. 10,000 == 100.00%) 4. The value -2147483648 is used to mark a discontinuous point, e.g. when InterMapper starts up. 5. All values are stored in native byte order; big-endian for PowerPC or Sparc, little-endian for i386. * Exception for chart files created on Mac OS 9 and earlier -- "negative" timestamps are relative to 1904 using local time zone. Regards, Bill Fisher Dartware, LLC On Jan 31, 2006, at 4:38 AM, Xavier BENSEMHOUN wrote: I would like to know if we can change the format of the chats log to an XML format I mean: to use logs for stats and other stuff... it will be more easier to use a comprehensive format like: <?xml version="1.0" ?> <InterMapper Logs> <ServerInfos> <Date>2006/01/27 10:00:01</Date> <- Start of this log file <InterMapper Version>4.4.2 (Build 5C213, i386/Linux, Dec 21 2005)</InterMapper Version> </ServerInfos> <Logs date="2006/01/27 10:00:01"> .... </Logs> <Logs date="2006/01/27 10:05:00"> .... </Logs> <Logs date="2006/01/27 10:10:02"> <polling> <- for each information monitored on each chart <deviceId>g5b61b888-r8</deviceId> <probe>SNMP - Cisco (v2c)</probe> <object_id>HOST-RESOURCES-MIB::hrStorageUsed.1</object_id> <value type="INTEGER">493892</value> </polling> <polling> <- for each information monitored on each chart <deviceId>g5e61v818-r9</deviceId> <probe>SNMP - Cisco (v2c)</probe> <object_id>IF-MIB::ifOutDiscards.6</object_id> <value type="Counter32">46</value> </polling> </Logs> <Logs date="2006/01/27 10:15:30"> .... </Logs> <Logs date="2006/01/27 10:20:30"> <- .... <- at each polling interval, data are placed before the </InterMapper Logs> </Logs> <- </InterMapper Logs> thinks for your answer, Xavier. <xbensemhoun.vcf> |
begin:vcard fn:Xavier BENSEMHOUN n:BENSEMHOUN;Xavier org:T-Systems France;Outsourcing Division adr:10, rue des Gaudines;;Strategy Center;St-Germain en Laye;Yvelines;78100;France email;internet:[EMAIL PROTECTED] title:IT Network Technician tel;work:(+33) 1 39.04.61.42 tel;fax:(+33) 1 39.04.61.02 x-mozilla-html:TRUE url:http://www.t-systems.fr version:2.1 end:vcard
