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

Want a way to monitor Swarm client via TCP or UDP

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • swarm-plugin
    • None

    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

          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 ?

           

          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 ?  
          vikas027 Vikas Kumar added a comment -

          mgreco2k 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.

          vikas027 Vikas Kumar added a comment - mgreco2k 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.
          oleg_nenashev Oleg Nenashev added a comment -

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

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

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

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

          Micrometer Prometheus metrics support was just released in 3.24. Micrometer is a vendor-neutral application metrics façade that contains built-in support for AppOptics, Azure Monitor, Netflix Atlas, CloudWatch, Datadog, Dynatrace, Elastic, Ganglia, Graphite, Humio, Influx/Telegraf, JMX, KairosDB, New Relic, Prometheus, SignalFx, Google Stackdriver, StatsD, and Wavefront. Pull requests are welcome to add additional Micrometer registries to the Swarm client.

          basil Basil Crow added a comment - Micrometer Prometheus metrics support was just released in 3.24 . Micrometer is a vendor-neutral application metrics façade that contains built-in support for AppOptics , Azure Monitor , Netflix Atlas , CloudWatch , Datadog , Dynatrace , Elastic , Ganglia , Graphite , Humio , Influx/Telegraf , JMX , KairosDB , New Relic , Prometheus , SignalFx , Google Stackdriver , StatsD , and Wavefront . Pull requests are welcome to add additional Micrometer registries to the Swarm client.

          People

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

            Dates

              Created:
              Updated: