Pandora FMS Community

data_BADXML

rockxwre · 16 feb 2009, 6:43 · 6 mensajes · 49 visitas

  1. Inicio del debate

    Hi, We are using Pandora FMS 1.3 and the Windows Agent seems to send corrupt data. On the server, in the /var/spool/pandora/data_in folder, there are files with the name suffix "data_BADXML". I think the agent puts some illegal characters in the XML which are the cause for this. Here some failing XML code:

    
        
            FreeDiskC
            generic_data
            21882
            Free space on drive C:
        
    

    I guess the "(R)" characters in the OS attribute are invalid. Is this a bug, or can this be solved by some configuration? Hope someone can help me out. Regards, Ramon

  2. Take a look at (Link not available anymore) Regards, Raúl

  3. Thanks a lot, I'm going to take a look at that article. Silly me, a typical case of R.T.F.M... Regards, Ramon

  4. I tried to add the

    encoding utf-8
    

    setting to pandora_agent.conf file, but with no success. I read this setting can only be used with Unix agents. So I am afraid this ain't the solutions after all. Thanks anyway :) Regards, Ramon

  5. Set the debug mode to 1 in the pandora_agent.conf Run the agent Go to the file where the XML is being stored in the windows machine (it is the path you defined in the pandora_agent.conf) edit the XML, remove the ®, save the file and copy it manually to pandora server (/var/spool/pandora/data_in) Was it processed?

  6. I did it a bit slightly different: edited the data_BADXML file (removed (R) signs), saved it, and renamed it to the original filename. Now the file is processed and the agent is contacted for the first time. So, those characters seems to be the problem. Regards, Ramon

Entra en tu cuenta para publicar.