CPU instance discovery
-
-
Yes, it's possible.
Create script which query System.CPU.Count from the node and return indexes it as array (e.g. 4 cpu == [0, 1, 2, 3]), then use this script in instance discovery.
-
-
-
Hello,
I tried the script, but it does not work:
Configuration like this:
General:
Description = Average CPU {instance} utilization for last Minute
Data Parameter = System.CPU.Usage({instance}) from NetXMS Agent (Integer)Instance Discovery:
Instance Discovery method = Script
next line = System.CPU.Count
Instance discovery filter script = your scriptThank you
Rainer -
Create the script in the Script Library.
Open the DCI in the template and go to Instance Discovery.
Instance discovery method = Script
Next line = name of script in Script Library
Instance discovery filter script should be left blank. Your script will be called from the Script Library as long you entered the script name in the line above.Force an instance discovery poll to see if it works.
-
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