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
.
begin:vcard
fn:Xavier BENSEMHOUN
n:BENSEMHOUN;Xavier
email;internet:[EMAIL PROTECTED]
tel;work:(+33) 1 39.04.61.42
tel;fax:(+33) 1 39.04.61.02
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to