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 Windows agent auto revert the configuration file

  • Windows agent auto revert the configuration file

    Posted by yjvoo on December 9, 2016 at 06:51

    Hi, I met a problem with the Windows agent will automatically revert the change I made.

    Example:
    I changed the “Number processes” max_critical from 300 to 400.

    Save the configuration file, and start the pandora agent. It will revert back the number from 400 to 300.

    What’s wrong with it??

    antonio replied 8 years, 1 month ago 2 Members · 3 Replies
  • 3 Replies
  • antonio

    Member
    December 12, 2016 at 14:49
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello yjvoo,

    Once the module is created, you can’t modify this value from the pandora_agent.conf file by modifying the module’s syntax, you have to do it from the console. This is because there are certain parameters that are only “accepted” on module’s creation, not being possible to modify them from the agent afterwards.

    Kind regards,
    Antonio.

  • yjvoo

    Member
    December 16, 2016 at 06:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Antonio.

    How can I change the pandora_agent.conf? If I want to add up some custom module to monitor
    my own application?

    Thank you,

    yjvoo

  • antonio

    Member
    December 20, 2016 at 18:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello yjvoo,

    To add new local modules, you can edit the pandora_agent.conf file on your windows system. The standard location is: “C:Program Filespandora_agentpandora_agent.conf”

    Here you can take a look at the extended documentation about software agents: http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Operations

    Kind regards,
    Antonio.