Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43119

Want a way to monitor Swarm client via TCP or UDP

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: swarm-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Hello Everyone,

      I am using a number of Jenkins Slaves to connect to the master as below

      nohup java -jar /opt/swarm-client-3.3.jar -master http://<Jenkins_URL>:8080 -username <username> -password <password> -fsroot /var/jenkins_home &
      

      This works fine but I am looking to monitor the slaves on some port (TCP or UDP) so that I can use AWS ELB with Autoscaling.

      Is there a way out to open some port on the slave which can be monitored?

      Regards,
      Vikas

        Attachments

          Activity

          Hide
          mgreco2k Michael Greco added a comment -

          Yeah exactly ... I launch AWS VMs which using this technology I then connect those VMs back to my jenkins instance. Is there a way in code (i.e. a Jenkinsfile) to see those connections ?

           

          Show
          mgreco2k Michael Greco added a comment - Yeah exactly ... I launch AWS VMs which using this technology I then connect those VMs back to my jenkins instance. Is there a way in code (i.e. a Jenkinsfile) to see those connections ?  
          Hide
          vikas027 Vikas Kumar added a comment -

          Michael Greco Maybe it is too late now. I ended up monitoring count of java processes using CloudWatch and then terminate the instance if the count is less than the desired value.

          Show
          vikas027 Vikas Kumar added a comment - Michael Greco Maybe it is too late now. I ended up monitoring count of java processes using CloudWatch and then terminate the instance if the count is less than the desired value.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          KK does not maintain this plugin anymore. Moving to unassigned to set the expectation

          Show
          oleg_nenashev Oleg Nenashev added a comment - KK does not maintain this plugin anymore. Moving to unassigned to set the expectation
          Hide
          basil Basil Crow added a comment -

          Hey Vikas Kumar, there isn't a way to do this as of today. Pull requests are welcome!

          Show
          basil Basil Crow added a comment - Hey Vikas Kumar , there isn't a way to do this as of today. Pull requests are welcome!

            People

            • Assignee:
              Unassigned
              Reporter:
              vikas027 Vikas Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: