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 module_min_warning/module_max_warning not accepted

  • module_min_warning/module_max_warning not accepted

    Posted by lynxdeb on March 28, 2013 at 20:15

    Hi guys,

    i want to define the module_min_warning/module_max_warning in the agent configuration to avoid a manual setup on the Pandora FMS console.
    This is an example module (disk space) with warning defined:

    module_begin
    module_name disk_root_free
    module_type generic_data
    module_exec df -Pkh / | tail -1 | awk ‘{ print 100-$5 }’
    module_max 100
    module_min 0
    module_min_warning 20
    module_max_warning 30
    module_description Free disk Percentage of root partition
    module_end

    Make a tcpdump, i see the warning parameters on the XML file but on the console the agent doesn’t have these parameter filled.. I need to put manually. Is it that normal? Or isn’t possible to use there parameter from confing file?
    I’m using last version of agent and server (agent build 130118/ server build 130118)

    Thanks!

    Mario replied 11 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Mario

    Administrator
    April 1, 2013 at 13:24
    1150 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    From version 4.0.3, max and min warning only work the first time you create the module.
    If the module does not exist in the dashboard, then it will be created automatically when the learning mode is used. New changes have to be made in the Pandora Console.

    Check if you have any update in Update Manager.

    Thanks. Best Regards