Pandora FMS Community

Help!! Why my XML data is not recorded in DB?

oneline · 6 sept 2010, 18:40 · 3 mensajes · 61 visitas

  1. Inicio del debate

    I am generating simple XML data as below 5min generic_data 73.3 2010-09-06 22:05:00 I found that whenever if i have data of the same value in my next XML entry, the data will not be recorded in database. Can anyone explain why? How can I recover my data? Many thanks!!! Cheers, Chong

  2. Excellent question. I've added also a FAQ entry here: (Link not available anymore) Thanks for asking interesting things :-) At first sight the XML lacks of interval parameter in and if my memory doesn't trick me, the timestamp information inside the module data is not allowed if it's not contained in a datalist structure. I'm almost sure that following XML would work: 5min generic_data 73.3 2010-09-06 22:05:00 Or a simple one witout data information: 5min generic_data 73.3

    I am generating simple XML data as below 5min generic_data 73.3 2010-09-06 22:05:00 I found that whenever if i have data of the same value in my next XML entry, the data will not be recorded in database. Can anyone explain why? How can I recover my data? Many thanks!!! Cheers, Chong

  3. Thanks Sancho, in fact, my XML format was working fine. Just that, the data values will not be recorded in DB if you have the same data value for 2 consecutive entry with different timestamp. Eg. 5min generic_data 73.3 2010-09-06 22:05:00 and 5min generic_data 73.3 2010-09-06 22:10:00 The timestamp above is different but Pandora only takes 2010-09-06 22:05:00. I wonder this is a bug or if we can solve it using configurations or XML format. I have given a try to your XML format. It seems like XML with as below does not take my timestamp. It will only take system's timestamp. Can you advise ? Thanks. 5min generic_data 73.3 2010-09-06 22:05:00

Entra en tu cuenta para publicar.