Welcome to Pandora FMS Community!

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

Bienvenido a la comunidad de Pandora FMS Forums Community support Pandora Agent : disable "historical Values"

  • Fran

    Administrator
    agosto 3, 2022 at 18:16
    226 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi rischfre,

    There is an option to define which is:

    module_quiet <value>

    but If enabled (1) the module will be in silent mode: it will not generate events or trigger alerts, nor will it store data history.

    https://pandorafms.com/manual/en/documentation/02_installation/05_configuration_agents#module_quiet

  • rischfre

    Member
    agosto 4, 2022 at 15:50
    80 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Sorry but your solution is not working:

    here my Pandora_agent config:

    module_begin
    module_name USB – Serial name
    module_type generic_data_string
    module_exec lsusb | grep “PL2303\|USB-Serial”
    module_quiet 1
    module_description Check USB Name
    module_group System
    module_end

    and here the result on the console:

  • Fran

    Administrator
    agosto 5, 2022 at 12:49
    226 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Create a new module and change the type to async_string

  • rischfre

    Member
    agosto 5, 2022 at 16:34
    80 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Gracias Francisco, but

    as you can see on the picture, even creating a new module in the Pandora_agent with the async_string type issue remains.

    module_begin

    module_name USB - Serial type

    module_type async_string

    module_exec lsusb | grep "PL2303\|USB-Serial"

    module_quiet 1

    module_description Check USB Name

    module_group System

    module_end

    The agent is running version: 7.0NG.758(Build 211105)

    the server : 763

    both on linux systems

  • vic

    Administrator
    agosto 18, 2022 at 11:18
    1533 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    1
    Down
    Drop it
    ::

    Hi rischfre,

    We have seen that the documentation is wrong, since the “module_quiet 1” does not disable the module history, we are going to create an internal documentation ticket to correct this error in the wiki.

    For the module not to store historical data you will have to edit the module manually in the console disabling the following parameter “Historical data”.

    Best regards,

    Víc.

  • rischfre

    Member
    agosto 25, 2022 at 16:22
    80 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It’s a pitty that there is no automatic way to disable it on Agent level.

    Anyway thank you for your answer and investigation