Pandora FMS community forums
Windows agent auto revert the configuration file - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Advanced troubleshooting and problems (http://pandorafms.org/forum/forum-11.html)
+--- Thread: Windows agent auto revert the configuration file (/thread-8148.html)



Windows agent auto revert the configuration file - yjvoo - 12-09-2016

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??



Re: Windows agent auto revert the configuration file - antonio - 12-12-2016

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.


Re: Windows agent auto revert the configuration file - yjvoo - 12-16-2016

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


Re: Windows agent auto revert the configuration file - antonio - 12-20-2016

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 Files\pandora_agent\pandora_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.