Starting Script for Interface from Managementconsole
-
hello together,
is there a way to start a netxms script at the management console for a specific interface of a node where node and Interfacedata are passed to.
Somthing like Your builtin DCI-Creation for an interface a little bit more flexible and expandable e.g. generating a set set of DCIs for that interface or node controlled by a self written script.Best regards
Georg
B.T.W.: Is there just a possibility to create a DCI with it's parameters via script?
-
Hi!
Both is not possible - you cannot run script on node, and you cannot create DCI from script. Idea is good, I'll add feature request for that (#219, #220).
Best regards,
Victor -
@victor said in Starting Script for Interface from Managementconsole:
Hi!
Both is not possible - you cannot run script on node, and you cannot create DCI from script. Idea is good, I'll add feature request for that (#219, #220).
Best regards,
VictorVictor it possible with templates and autobind scripts for them.
-
It's not exactly the same - using templates you cannot create DCIs depending on node capabilities (for example, enumerate all interfaces and create DCI for each interface).
Best regards,
Victor -
Implementing this feature for interfaces DCI-Class should be expanded by several DCI-Properties you can access by GUI like defining delta calculation, transformscript, performance Tab Attributes, thresholds and custom sceduled polls.
Best regards
Georg -
Not sure if I understood the OP post well so I will just comment on what I achieved with automated creation of DCIs.
I have got a script that scans all possible ports for a node and then creates DCIs with predefined OIDs. Not a script I am proud of but it works somehow...
Basically I can mass-create DCIs if I manually state what sort of base OIDs to use and what types to include. Could expand this to automatically select base OIDs based on device OID.If I add this to automatic applied scripts it should be possible to create DCIs based on device type.
I mean - creating DCI from script with CreateDCI function is working... so I am just wondering what was the request in the OP and why the statement "you cannot create DCI from script" ?
With regards,
Milan Sperl
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