in reply to Copy XML file, write new attributes and move the old files.

Hi Nevamonk, welcome to the monastery!

It seems to be that you process RRD's XML dump files. You may consider using perl modules to access RRD directly, eg. RRD::Simple

  • Comment on Re: Copy XML file, write new attributes and move the old files.

Replies are listed 'Best First'.
Re^2: Copy XML file, write new attributes and move the old files.
by Nevamonk (Novice) on Jan 27, 2015 at 09:00 UTC

    thank you good sir =D

    I haven't really looked at the RRD handlers since the data delivered by the server is XML by default, and since this script is used before RRD will even come into the picture, i just stayed with XML::libXML.

    But! i have more of these issues, so i will definitly take a look at the RRD options, thank you for your help!

Re^2: Copy XML file, write new attributes and move the old files.
by Nevamonk (Novice) on Jan 27, 2015 at 09:03 UTC

    hold on, i think i misunderstood the statement.

    they are indeed RRD dumpfiles, but the server providing the dump is beyond my control, so therefor i have to work with the xml files.

    and my apologies for the confusion