Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

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:48

    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.
    Dag

    daggett replied 18 years, 1 month ago 2 Members · 3 Replies
  • 3 Replies
  • Sancho

    Administrator
    January 5, 2007 at 00:23
    2309 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.
    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 🙂

  • Sancho

    Administrator
    January 5, 2007 at 00:26
    2309 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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

  • daggett

    Member
    January 5, 2007 at 12:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, thanks very much!

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

    bye