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 Learning mode disabled. Skipping module

  • Learning mode disabled. Skipping module

    Posted by JonRussell on mayo 19, 2023 at 11:51

    Hi,

    I added some custom modules to one of my agent configs, but they are not appearing in the console.

    I searched in the server logs and found:

    2023-05-19 09:26:56 DataServer: pandora [V10] Learning mode disabled. Skipping module 'Apt Update' agent 'ntpi.local'.
    2023-05-19 09:26:56 DataServer: pandora [V10] Learning mode disabled. Skipping module 'CPU Temp' agent 'ntpi.local'.

    I’ve never seen that before, historically when I add new modules to the config files, they automatically appear in the console.

    How have I turned learning mode off? I tried to find it in the settings but cant? The only reference I found on Google was to a previous version.

    How do I turn learning mode on again for my agent?

    Thanks.

    Jon.

    JonRussell replied 1 year, 7 months ago 2 Members · 6 Replies
  • 6 Replies
  • Sergio

    Administrator
    mayo 19, 2023 at 12:04
    1326 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello JonRussel,

    Make sure that you have this token active inside the Agent configuration in Console where those modules are supposed to be loaded.

    See the attached image as an example.

    You will find the option in the Advanced Option of the Agent Configuration.

    Kind regards,

    Sergio B.

  • JonRussell

    Member
    mayo 19, 2023 at 12:19
    273 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Maybe I’m looking in the wrong place, but I don’t have an “advanced options” section in my Agent Settings page ?

    • Sergio

      Administrator
      mayo 19, 2023 at 12:58
      1326 Karma points
      Community rank: tentacle_master_icon Tentacle Master
      Like it
      Up
      0
      Down
      Drop it
      ::

      Hello,

      It looks like this is a bug in the new interface, as this option was available before the visual changes.

      We will open a new ticket with our Development team in order to add once again the advanced options.

      We will let you know once this is fixed.

      Kind regards,

      Sergio B.

  • JonRussell

    Member
    mayo 19, 2023 at 13:07
    273 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok. Thanks.

    Is there a flag in a DB table somewhere I can turn it on manually in the back end, until the fix is released?

    Jon.

    • Sergio

      Administrator
      mayo 19, 2023 at 13:50
      1326 Karma points
      Community rank: tentacle_master_icon Tentacle Master
      Like it
      Up
      1
      Down
      Drop it
      ::

      Hello Jon,

      Of course, we will use the query with the Agent ID you attached in the example image, you can change it in case you need it for another Agent.

      The query will be the following:

      update tagente set modo = 1 where id_agente = 27

      This will activate learning mode in the Agent.

      Kind regards,

      Sergio B.

  • JonRussell

    Member
    mayo 19, 2023 at 14:57
    273 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Wonderful ! Thank you for the fast reply.

    Regards,

    Jon