Hello,
I have configured some actions in my NetXMS for sending email notifications for specific events.
In the title of the email (email subject) i have put some parameters including custom parameter for Company name. So far everything works great.
But since there are a lot of nodes in the environment i must put this parameter on every single node and this turned to be a pain in the ass.
Is there easier way to do this or somehow to do it automatically for every single node in the environment ?
Maybe a script that checks once a day if every node has such parameter and if not to configure it ?
Best Regards,
Adrian
You have GetCustomAttribute(), SetCustomAttribute() and DeleteCustomAttribute() NXSL functions available.
Create a script that iterates over all the nodes in your system, and manipulates the custom attributes as needed.
You can then schedule this script to run using the internal NetXMS scheduler.