Script to activate unsupported DCIs
-
My goal is the write a script that I can run from the server console that will walk through a group of nodes in a particular container and activate DCIs that are currently disabled and showing as unsupported.
My first question, is this possible?
Second, I'd like to write a script that can run even with CheckTrustedNodes set 1. My first problem is retrieving the root object. I know I am suppose to use:
$r = FindObject("1",$object);but $r is always null, and my thought is that I don't have permission to access the root object. My user is part of the admins group. Am I missing something here? Andrew
-
I think it will be easyer for you to use NXShell script for this purposes. Examles cn be found there: https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations
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