Pages: [1]   Go Down
Author Topic: invalid charset crashes pandora server  (Read 293 times)
0 Members and 1 Guest are viewing this topic.
daggett
Sr. Member
****

Karma: 0
Offline Offline

Posts: 109


View Profile
« on: January 04, 2007, 08:48:35 PM »

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 <<and>> 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.
Dag
« Last Edit: January 01, 1970, 01:00:00 AM by daggett » 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: January 04, 2007, 09:23:24 PM »

Quote from: "daggett"
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 <<and>> 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.
Dag


I'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 :-)
« Last Edit: January 01, 1970, 01:00:00 AM by nil » Logged

-- See you in the other screen.

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


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


View Profile WWW
« Reply #2 on: January 04, 2007, 09:26:11 PM »

Quote from: "daggett"

Is there an IRC channel that we could use to speed up the developpement and bug corrections?
Dag


Yeah of course, #pandora_fms  on irc.freenode.net, you should navigate more frecuently by our project homepage ;) http://pandora.sf.net
« Last Edit: January 01, 1970, 01:00:00 AM by nil » Logged

-- See you in the other screen.

daggett
Sr. Member
****

Karma: 0
Offline Offline

Posts: 109


View Profile
« Reply #3 on: January 05, 2007, 09:28:24 AM »

Ok, thanks very much!

I will bookmark the IRC channel, try the new agent and stay tuned! :P

bye
« Last Edit: January 01, 1970, 01:00:00 AM by daggett » Logged

Pages: [1]   Go Up
Print
 
Jump to:  


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