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:12After 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
-
::
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
-
::
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.
-
-
::
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.confYou 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_endAfter 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