Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Starting Script for Interface from Managementconsole

Starting Script for Interface from Managementconsole

Scheduled Pinned Locked Moved Support
6 Posts 4 Posters 41.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    G
    gkaudewitz
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • S
        S
        SKYnv
        wrote on last edited by
        #3

        @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,
        Victor

        Victor it possible with templates and autobind scripts for them.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • G
            G
            gkaudewitz
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • S
              S
              sperlm
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups