Pandora FMS Community

Pandora Agent : disable "historical Values"

rischfre · 3 ago 2022, 17:59 · 7 mensajes · 76 visitas

763agenthistoricalmodule_quietpandorapandora_agent
  1. Inicio del debate

    Hi,

    i know that on Web interface it s possible to disable "historical value" for a given Module.

    but does exist anyway to configure this at Pandora Agent level (pandora_agent.conf), so that the server is informed that for this module only the last value should be saved.

    Thanks

  2. 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:

    Consola.png24 KB · PNG
    Consola.png
  3. Create a new module and change the type to async_string

  4. 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_beginmodule_name USB - Serial typemodule_type async_stringmodule_exec lsusb | grep "PL2303\|USB-Serial"module_quiet 1module_description Check USB Namemodule_group Systemmodule_end
    

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

    the server : 763

    both on linux systems

    async_string.png15 KB · PNG
    async_string.png
  5. 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.

    historical_data.png7.7 KB · PNG
    historical_data.png
  6. It's a pitty that there is no automatic way to disable it on Agent level.

    Anyway thank you for your answer and investigation

Entra en tu cuenta para publicar.