Hello Guest

Author Topic: Windows agent auto revert the configuration file  (Read 171 times)

0 Members and 1 Guest are viewing this topic.

Offline yjvoo

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Windows agent auto revert the configuration file
« on: December 08, 2016, 06:51:53 PM »
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??

Offline antonio.s

  • Administrator
  • Smart member
  • *****
  • Posts: 288
  • Karma: 2
    • View Profile
Re: Windows agent auto revert the configuration file
« Reply #1 on: December 12, 2016, 02:49:49 AM »
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.

Offline yjvoo

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Windows agent auto revert the configuration file
« Reply #2 on: December 15, 2016, 06:23:13 PM »
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

Offline antonio.s

  • Administrator
  • Smart member
  • *****
  • Posts: 288
  • Karma: 2
    • View Profile
Re: Windows agent auto revert the configuration file
« Reply #3 on: December 20, 2016, 06:28:18 AM »
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.