Welcome to Pandora FMS Community!

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

  • Decimal Point

    Posted by leandrojmp on January 15, 2009 at 07:49

    Hi,

    I have some modules on a Pandora Agent that return decimal values like 7,98 or 1,25.

    These modules don’t show up on the web console and looking into the pandora log file (verbosity 10) it says something like that:

    [V5] Processing module Name ( module_name ) type ( generic_data ) for agent ( agent_name )
    [V2] ERROR: Received data from an unknown module (generic_data)

    The modules are on the pandora_agent.conf and the agent are on the learning mode.

    Pandora works with decimal points with comma or i need to replace the commas with a point? Like 7.98 and 1.25?

    daniels replied 16 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • daniels

    Member
    January 15, 2009 at 13:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Leandro,

    As far as I know, you must replace the commas for dots. I did this in my agent and everything worked like a charm. You can redirect the output to sed to do the job.

    Ex: uptime | sed s/,/./g

    will replace all the commas (,) in the line for dots (.).