Is there a way to Automatically configure custom parameter on nodes ?
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login