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

Want a way to monitor Swarm client via TCP or UDP

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • swarm-plugin
    • None

      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

          [JENKINS-43119] Want a way to monitor Swarm client via TCP or UDP

          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 ?

           

          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 ?  

          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.

          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 added a comment -

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

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

          Basil Crow added a comment -

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

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

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

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

              Created:
              Updated: