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 Advanced troubleshooting I tried to create a module, but data configuration item is not visible.

  • I tried to create a module, but data configuration item is not visible.

    Posted by YOON on diciembre 31, 2022 at 10:12

    After installing pandora fms today and distributing the windows agent, I confirmed that the agent was normally registered in the console.

    The video tutorial I referenced is https://www.youtube.com/watch?v=ioH6l8e9Uvk

    Windows Agent -> Edit -> Modules -> Type check (Create new data server module) -> Create

    I tried to find the Data Configuration item in edit mode, but it is not visible.

    module_begin

    module_name Schedule

    module_type generic_proc

    module_service Schedule

    module_description Service Task scheduler

    module_async yes

    module_watchdog yes

    module_end

    The installed version is Pandora FMS v7.0NG.767 Hope – OUM 767 – MR 59.

    Are these editing features only available in Enterprise Edition?

    Another question is, is there any way to custom edit windows service or process monitoring and restarting in community edition?

    Jose replied 1 year, 10 months ago 2 Members · 4 Replies
  • 4 Replies
  • Jose

    Member
    diciembre 31, 2022 at 12:25
    104 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    In that kind of modules, you need to specify the service name, not the display name:

    If you double-click on any service, you will see in the top section of the properties dialog, a label named “Service name:”. See attached file.

    You have to be careful of blank spaces in windows agent, if needed, use quotation marks.

    The “Remote configuration” or editing modules from the console is a feature available only in the enterprise version (you can try it too), but if you are using the community version, you will need to edit the agent’s configuration file and restart the agent manually.

    Greetings

  • YOON

    Member
    enero 1, 2023 at 05:55
    45 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    1
    Down
    Drop it
    ::

    Thank you for your answer.
    But I didn’t understand what you said. I’ll show you a screenshot of my steps once again.

    To monitor the Windows service, I tried to add a script by selecting the following menu.
    (#1 _Screenshot = 1_Module_Creating.png)

    Then you can see the final edit, but you can’t see the “data configuration”(#2 _Screenshot = 2_Not-View_DataConfig_in_Module.png)

    The item is not visible. So you can’t insert a script.

    But, in the original YouTube guide video, the ” data configuration” item was visible and editable.

    (#3 _Screenshot =3_ORG_View_DataConfig_in_Module.png)

    How can I show “data configuration” items such as videos?

    And where is the service name you mentioned
    Can you stand in the order of the first process to see how it is accessible?

    Thank you.

  • YOON

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

    I had to ask an additional question in the reply, but I posted it wrong. It couldn’t be deleted, so I modified it briefly.

  • Jose

    Member
    enero 5, 2023 at 04:16
    104 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Yoon,

    Do you have community version?

    If you have the community version, you cannot create the module from the console (as you detailed in your last messages), you will have to create the module manually in the agent’s configuration file:

    In the case of Windows, the file located in the program files folder, depending of the installed version of the agent (x86 or x64):

    For 32 bit version: %ProgramFiles(x86)%\pandora_agent\pandora_agent.conf
    For 64 bit version: %ProgramFiles%\pandora_agent\pandora_agent.conf

    You will have to open the file with a text editor with admin rights.

    At the end of the file, add these lines:

    module_begin
    module_name "Task Scheduler Service"
    module_type generic_proc
    module_service Schedule
    module_description "Service Task scheduler's Status"
    module_end

    After inserting the lines save, close the file and restart the service “Pandora FMS Agent”

    If everything is OK, the module will be added automatically to the agent and it will appear in the console view.

    Greetings