Welcome to Pandora FMS Community › Forums › Community support › invalid charset crashes pandora server
-
invalid charset crashes pandora server
Posted by daggett on January 4, 2007 at 23:48Hi,
I open a new thread concerning the charset/charcode (UTF8, ISO8859, …) because certain characters (read with the wrong charset) make the pandora server crash until the file containing the character(s) is removed or corrected or the charset changed.As an example, the quotes <
> in an XML file make Pandora Server crash. Those quotes are used quiet oftenly in french program outputs and logfiles. So it’s REALLY URGENT to develop a solution for this. Plus I’m still loosing huge quantity of monitoring data due to charset problems, and these make Pandora unusable in production for me. 🙁
I’m ready to help, but I’m not a programmer, and know nothing about perl.Is there an IRC channel that we could use to speed up the developpement and bug corrections?
So, I’m ready to participate to the 1.3 beta developpement and learn perl language. 8)
bye for now.
Dagdaggett replied 18 years, 1 month ago 2 Members · 3 Replies -
3 Replies
-
::
Hi,
I open a new thread concerning the charset/charcode (UTF8, ISO8859, …) because certain characters (read with the wrong charset) make the pandora server crash until the file containing the character(s) is removed or corrected or the charset changed.As an example, the quotes <
> in an XML file make Pandora Server crash. Those quotes are used quiet oftenly in french program outputs and logfiles. So it’s REALLY URGENT to develop a solution for this. Plus I’m still loosing huge quantity of monitoring data due to charset problems, and these make Pandora unusable in production for me. 🙁
I’m ready to help, but I’m not a programmer, and know nothing about perl.Is there an IRC channel that we could use to speed up the developpement and bug corrections?
So, I’m ready to participate to the 1.3 beta developpement and learn perl language. 8)
bye for now.
DagI’ll send you an email with latest version of linux agent in SVN repository. (they are also accesible via svn http interface, with public access to anybody).
Here you are a fixed version, you should read the new options for pandora_agent.conf.
Basicly, new options are “temporal” for define where temporal files are created, logfile, and very important, encoding. Also its present server port por ssh.
Agent has implement a few fixes and very important, more strong checks for a correct XML generation.
VERY IMPORTANT: if you want to have a “correct” store data, be sure that SQL encoding backend are the same that agent encoded data. So if your agent uses UTF8 and your backend uses ISO8859-1, agent work and server also do, but data will be stored with some “trash” due libxml and pandora dont know how to translate from one encoding to another.
I’ll will post this on the forum too, this version has been tested on our network lab but you’re probably the first external beta tester for this code, so be pacient 🙂
-
::
Is there an IRC channel that we could use to speed up the developpement and bug corrections?
DagYeah of course, #pandora_fms on irc.freenode.net, you should navigate more frecuently by our project homepage 😉 http://pandora.sf.net
-