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 Advanced troubleshooting Pandora 3.2, issue with generic_data_inc

  • Pandora 3.2, issue with generic_data_inc

    Posted by sslivitzky on January 24, 2012 at 00:53

    Hi all,

    I have a module:

    module_begin
    module_name DB_Alert_Error
    module_type generic_data_inc
    module_exec cat $ORACLE_BASE/admin/IBIS/bdump/alert_IBIS.log | grep -cE “ORA-00600|ORA-07445” | awk ‘{print $1}’
    module_description ORA-600/ORA-7445 in alert log
    module_end

    That should return the number of times the specified strings is found. If I run at the shell prompt, the answer will be an integer where the value is right.

    If I put the agent in debug, the value in the xml is an integer that is good.

    But in the server, the value reported for the module is a floating like 0.01 instead of 1.

    What could be the problem?

    Thanks,

    alumbreras replied 12 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • alumbreras

    Member
    February 2, 2012 at 18:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi sslivitzky,

    i guess that the module_type should be generic_data. i’ve got similar module to check the log file or oracle.

    can you try with generic_data?

    thanks

    Agustin