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 Problem with a windows agent

  • Problem with a windows agent

    Posted by Joey on June 4, 2008 at 00:14

    Hello,

    First off, Thanxs for the great software!

    Now for my problem.
    i have the windows agent running it auth`s true ssh. it works it copy`s the xml file to /var/spool/pandora/data_in/ bud then it changes it to .data_BADXML.

    so i checked the pandora`s log file i found this.

    2008/06/02 22:06:11 Server_Data [ERROR] /var/spool/pandora/data_in/joey_client.8615.data:1: parser error : Input is not proper UTF-8, indicate encoding !
    Bytes: 0xAE 0x20 0x57 0x69
    “1.3(Build 070827)” timestamp=”2008-06-03 20:05:23″ interval=”300″ os=”Microsoft
    ^
    at /usr/lib/perl5/XML/LibXML/SAX/Parser.pm line 38

    Do i have a setting wrong?

    Kind Regards,
    Joey

    raul replied 16 years, 8 months ago 4 Members · 9 Replies
  • 9 Replies
  • raul

    Member
    June 4, 2008 at 11:13
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    First, which are the versions of Pandora agent and Servers? Which is your linux distro? Which is the encoding in both Windows and Linux boxes?

    Raul

  • nathonline

    Member
    June 4, 2008 at 18:21
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Maybe you are missing a lib … Look with a “dpkg –get-selections” ( if your distro is debian )

  • nathonline

    Member
    June 4, 2008 at 18:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I would like to know : Pandora fms windows agent is it a snmp agent or must i install windows snmp service ?

    Sorry for this stupid question …

  • raul

    Member
    June 4, 2008 at 21:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It is not an SNMP agent, it runs the command you set into the modules. If you want to send SNMP traps, you have to setup an SNMP agent to do that.

    Raul

  • Joey

    Member
    June 4, 2008 at 22:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    First, which are the versions of Pandora agent and Servers? Which is your linux distro? Which is the encoding in both Windows and Linux boxes?

    Raul

    The version of Pandora FMS is 1.3.1 an for the Windows agent its 1.3.1.
    The linux Distro is Debian.
    Windows Version is Vista.
    How can i find the encoding on both linux and windows?

    Maybe you are missing a lib … Look with a “dpkg –get-selections” ( if your distro is debian )

    result is a long list searched on utf and found this line:
    libunicode-maputf8-perl install

  • manu

    Member
    June 5, 2008 at 11:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Can you paste here the firsts lines of the XML generated?

  • Joey

    Member
    June 5, 2008 at 19:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    agent_data agent_name=”joey_client” version=”1.3(Build 070827)” timestamp=”2008-06-04 20:23:17″ interval=”300″ os=”Microsoft� Windows Vistaï
    ltimate ” os_version=”Service Pack 1″

    i removed the to past it here

  • manu

    Member
    June 6, 2008 at 12:29
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Can you see any “enconding” line?

  • raul

    Member
    June 6, 2008 at 14:15
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I think it’s clear that the problem is the [code:1]os=”Microsoft� Windows Vistaï
    ltimate “

    Vista still giving problems 😀

    Raul