Pandora FMS Community

Decimal Point

leandrojmp · 15 ene 2009, 7:49 · 2 mensajes · 62 visitas

  1. Inicio del debate

    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?

  2. 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 (.).

Entra en tu cuenta para publicar.