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. Automated Interface Name poll Script

Automated Interface Name poll Script

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 28.2k 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.
  • A
    A
    anw
    wrote on last edited by
    #1

    Hey guy,

    i want to setup a script which runs every x hours and re checks all the interface descriptions (aliases) - the default poll - poll interface names works - but i would like to do this automatically on a template with ~50 switches.
    Any help how to set this up would be appreciated

    Best

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

      Hi,

      there are two options. First, you can schedule script run in scheduled tasks. You'll have to enumerate all nodes in that script and check interfaces. Other option is to create a hook script for configuration poll - then it will be called for each node after configuration poll, so you'll have to write code only for checking interfaces.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • A
        A
        anw
        wrote on last edited by
        #3

        Could you give an example for this? i know how to create scheduled tasks - but how is the command to only check for interfaces ?
        about hook script - im not sure how to start there

        Thanks

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

          Just thought that if interface name poll works for you, so should configuration poll. How often you run configuration polls?

          Best regards,
          Victor

          1 Reply Last reply
          0
          • A
            A
            anw
            wrote on last edited by
            #5

            Configueration Poll is set to default  -> 3600

            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