Pages: [1]   Go Down
Author Topic: Solaris agent is sending the wrong XML version by default  (Read 459 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, 11:36:46 PM »

The Solaris agent is sending an incorrect XML version header to the server.  The Solaris agent is sending encoding='ISO-8859-15', but the server will not accept that, and it renames the clients xml file to _BADXML and leaves it in the /var/spool/pandora/data_in directory. 
Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #1 on: November 16, 2009, 09:45:05 PM »

Holy crap !

By default we use iso-8859-15 encoding (mostly of development team are spanish) and left this encoding in the code as "default", and don't think about users who doesn't have installed in their systems, so "by default" could not work on some systems, like yours.

You can "overwrite" the default value using the token:

 encoding iso-8859-1

In the pandora_agent.conf file (agent configuration). This should work.

Anyway, I've updated the default value for encoding so this encoding will be replaced by iso-8859-1, it should work "as default" in any system.

Thanks for reporting the problem !
Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


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