Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - maliodpalube

#1
General Support / Re: NetXMS default templates
September 17, 2025, 10:50:34 AM
Ok I have some  questions what is the recommended way to manually import templates, which of these options do need to be turned on? Secondly can We have "duplicates" aka can we import new templates to a New folder to have them be separate from originals already on server.

What happens if I dont select any of these options, what happens to existing templated do they get owerwriten? Same question if i select any of the "Replace options"

#2
General Support / Re: NetXMS default templates
September 16, 2025, 05:25:14 PM
Is it possible to import them to separate template folder? What happens if i dont select "Replace templates" option?
#3
General Support / Re: NetXMS default templates
September 12, 2025, 12:45:54 PM
5.2.5
#4
General Support / Re: NetXMS default templates
September 12, 2025, 11:14:39 AM
Ok, thx, but when trying to import xml template nothing happens it just stands like this indefinitely, can't click on ok, only browse or cancel buttons work. What am I missing?
#5
Yeah the problem was that NetXMS shows both local config seting and config policy applied via template, after editing local config and restarting agent everything is ok. Thx for the effort anyway.
#6
Ok, changed the code, thx again for the info ;)
#7
General Support / NetXMS default templates
September 11, 2025, 04:17:04 PM
Hello,

I was wondering If there are bulit in templates with Automatic Apply Rules already setup. For example for Synology QNAP, Lenovo XCC.

Since we have existing/old NetXMS server installation and some built in templates no longer function is there a repository of new  default/builtin templates that come with new NetXMS server installation?
#8
We were able tu use shorter code snippet

return $node->isAgent && $node->platformName like "windows-*";
It returns the same output.

Thx for the help
#9
Yes,Ai was used to create snippet.

Also How can we test it/force it to show results? Or is the only option to wait?
#10
General Support / Automatic Apply rules based on OS type
September 11, 2025, 02:19:12 PM
Hello,

we are trying to apply templates based on OS type (linux/windows)

We have created and applied following filtering script on Automatic Apply Rules tab on Template Object properties, but no targets have been added. Is there anything we are doing wrong?

if (!$object || !$object.isNode())
   return false;

pn = LowerCase($object.platformName);
if ((pn != null) && StrStartsWith(pn, "windows"))
   return true;

sd = LowerCase($object.snmpSysDescription);
return (sd != null) && (StrFind(sd, "windows") != -1);

#11
Also running config shows double settings , Default is Yes and in template we changed EnableWatchDog to No
#12
Yes we can see the policy with xml extension in aforementioned folder. So does this mean the policy is applied?
#13
Thank you,

Windows Service for NetXMS Agent is manually restarted, but still no new config there...
 
Latest stable Windows Agent x64
server is latest stable netxms
 
Again,
if I edit agent config on a note, it is saved to file instantly on save button press, but never when using agent config policies.
#14
Hi,

When going right click in NetXMS UI, edit agent config, it works.
So, it is not write protected and it knows the path of it.
 
But when using policy, it does not work.

So, you say, I should not modify the main config file, instead add additional files and keep them in sync with agent policies?
Can I somehow enable debug option to show more details why it is not updated?
#15
Helo everybody.

We are having rpoblems with agent config policies. We have created new template and configured policy, and appled it to node. When doing Poll>Status it's visible in the log that the policy has been applied but no changes were made.
conf file on the server itself remains unchanged, no logs are visible in nxagentd.conf.d folder.


[2025-08-22 12:33:56]    Checking agent policy deployment
[2025-08-22 12:33:56]       Deploying policy Policy1 from template Template1

.
.
.

[2025-08-22 12:33:57] Node configuration was not changed after poll

Is there anything we are missing?