Pages: [1]   Go Down
Author Topic: "Unable to process XML data file" error with Solaris files  (Read 797 times)
0 Members and 1 Guest are viewing this topic.
summa_sp
Full Member
***

Karma: 0
Offline Offline

Posts: 33


View Profile
« on: November 12, 2009, 04:08:04 AM »

I'm receiving the following error from all my Solaris agents. 

Unable to process XML data file (/var/spool/pandora/data_in/sparky.1257987859.data)

These are newly deployed agents, with default configurations.  I see the file get dropped in /var/spool/pandora/data_in on the server, and the values are correct.  The server processes the file, but renames it with a _BADXML extension at the end and throws and error in the console.  I reduced one agent to just a single test of the default "disk_root_free" module, and had the same issue.  Any help appreciated.
Logged

summa_sp
Full Member
***

Karma: 0
Offline Offline

Posts: 33


View Profile
« Reply #1 on: November 12, 2009, 09:30:14 PM »

I have found the problem, but I don't have a solution.  You are sending the wrong XML version string from Solaris agents.  The string that arrives in the file is:
<?xml version='1.0' encoding='ISO-8859-15'?><agent_data description='' group=''os_name='solaris' os_version='5.10' interval='60' version='3.0' timestamp='2009/11/12 13:30:42' agent_name='sparky'>

Pandora server will not accept version encoding='ISO-8859-15'.  If I change the version to encoding='ISO-8859-1', it processes the file.  So, Pandora Agent for Solaris is broken out of the box, as these are default agent installs.  How do I get the agent to send the right XML version string?

I have snooped the network traffic.  The agent is sending the wrong string.  It's not being caused by Tentacle or Pandora server.
Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #2 on: November 17, 2009, 03:24:36 PM »

Changed in the SVN the default encoding. Thanks for reporting.
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST