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. Check telnet is listening on host

Check telnet is listening on host

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 25.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.
  • C
    C
    corkies
    wrote on last edited by
    #1

    How does one monitor for telnet port on a remote host.  I do not see it listed as a service and tried custom but not sure im doing it right.

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      There are no telnet check at the moment, but you can use "User defined" service check for this:

      *) Right click on node -> Create -> Service
      *) Type any name; set "Service Type" to "User defined" and change "TCP/UDP Port" to "23"
      *) Press Ok to save changes

      1 Reply Last reply
      0
      • C
        C
        corkies
        wrote on last edited by
        #3

        what about from a monitored host to check if it has telnet to another host?

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

          Yes, it's possible. You should have NetXMS agent on monitored host, and have portCheck subagent loaded. Then in properties of network service you wish to check set poller node to monitored host with portCheck subagent.

          1 Reply Last reply
          0
          • C
            C
            corkies
            wrote on last edited by
            #5

            Okay im really missing something here.

            I have an agent on 10.x.x.x  that needs to test telnet port on host 123.1.x.x

            I goto 10.x.x.x create new service where do i give the hostname 123.1.x.x

            Ive also looked at the netxms tests but once gain the netxms->agent-Custom test not sure of what format to give it the 123.1.x.x 23.

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

              @corkies said in Check telnet is listening on host:

              I have an agent on 10.x.x.x  that needs to test telnet port on host 123.1.x.x

              You should go like this:

              1. Ensure that portCheck.nsm (or libnsm_portCheck on UNIX) is loaded at 10.x.x.x
              2. Create node object for 123.1.x.x
              3. Create network service object under node 123.1.x.x, set it's port to 23
              4. For that service object, set poller node to 10.x.x.x

              This will cause server to monitor telnet port on node 123.1.x.x from node 10.x.x.x. If something goes wrong, service object will change it's status to CRITICAL.

              Alternative way, if you wish to use DCIs:

              1. Ensure that portCheck.nsm (or libnsm_portCheck on UNIX) is loaded at 10.x.x.x
              2. Create new DCI on 10.x.x.x for agent's parameter ServiceCheck.Custom(123.1.x.x,23)

              This will create DCI which will check port 23 on host 123.1.x.x when polled. Values can be following:

              0 = service ok
              1 = bad arguments
              2 = connect failed
              3 = protocol handshake failed

              Best regards,
              Victor

              1 Reply Last reply
              0
              • C
                C
                corkies
                wrote on last edited by
                #7

                This seems to be working great now.  Thanks for the help.

                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