Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2489

Bambo should send notification when a remote agent goes offline

    • 1
    • 3
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

        Form Name

          [BAM-2489] Bambo should send notification when a remote agent goes offline

          Released version 0.3 of plugin with REST endpoint for agent status fetching. It's possible to use external systems to check if Bamboo agent went offline.

          Alexey Chystoprudov added a comment - Released version 0.3 of plugin with REST endpoint for agent status fetching. It's possible to use external systems to check if Bamboo agent went offline.

          Paul Smith added a comment -

          @achystoprudov that plugin works great, and thanks for the quick fix for Version 0.2 to support Bamboo 5.14...!

          Paul Smith added a comment - @achystoprudov that plugin works great, and thanks for the quick fix for Version 0.2 to support Bamboo 5.14...!

          Great. It works when an agent goes offline.  Thanks too much for your support. 

          Orion IT Team added a comment - Great. It works when an agent goes offline.  Thanks too much for your support. 

          itfolk, tested plugin with Bamboo 5.10.0 and updated compatibility range at Marketplace, please give it a try

          Alexey Chystoprudov added a comment - itfolk , tested plugin with Bamboo 5.10.0 and updated compatibility range at Marketplace, please give it a try

          Unfortunately, we use bamboo 5.10.3 which seems can't find this add-on in the marketplace. Does any plugin work under 5.10? 

          Orion IT Team added a comment - Unfortunately, we use bamboo 5.10.3 which seems can't find this add-on in the marketplace. Does any plugin work under 5.10? 

          Alexey Chystoprudov added a comment - itfolk , does this plugin work for you? https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-agent-notification-plugin/server/overview

          This feature is extremely important for us.  We don't receive any notifications when agents go offline.  

           

          Orion IT Team added a comment - This feature is extremely important for us.  We don't receive any notifications when agents go offline.    

          Alexey Chystoprudov added a comment - Plugin is published on Marketplace -  https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-agent-notification-plugin/server/overview

          Yeah!

          Mark de Bont added a comment - Yeah!

          Please have a look at Bamboo plugin to address this feature request: https://bitbucket.org/atlassianlabs/bamboo-agent-notification-plugin/overview. I'm going to gather feedback, put it to Marketplace and maybe bundle it in future versions of Bamboo

          Alexey Chystoprudov added a comment - Please have a look at Bamboo plugin to address this feature request:  https://bitbucket.org/atlassianlabs/bamboo-agent-notification-plugin/overview . I'm going to gather feedback, put it to Marketplace and maybe bundle it in future versions of Bamboo

          Major priority and open for EIGHT years. This really could use an update

          Mark de Bont added a comment - Major priority and open for EIGHT years. This really could use an update

          This is an important function for us. No one is monitoring the build status. Users assumes all builds run correctly unless they receive emails. One project just discovered that their builds have not been run for weeks due to the agent went offline. That means the code changes during that time did not go through CI. I think one additional function you may consider is to provide a health report/notification if you detect potential issues of the system. Thanks.

          Yeou-Fang Wang added a comment - This is an important function for us. No one is monitoring the build status. Users assumes all builds run correctly unless they receive emails. One project just discovered that their builds have not been run for weeks due to the agent went offline. That means the code changes during that time did not go through CI. I think one additional function you may consider is to provide a health report/notification if you detect potential issues of the system. Thanks.

          +1

          Slava Lovkiy added a comment - +1

          RobertH added a comment -

          At this point, I'd just be happy if a notification would be sent when an agent goes offline. I don't care if it's sent to all administrators or just a single user. It's a real pain having to wait for internal users to contact me when a build agent is out. Further, I'm not keen on having to go check my agents daily.
          Any help?

          RobertH added a comment - At this point, I'd just be happy if a notification would be sent when an agent goes offline. I don't care if it's sent to all administrators or just a single user. It's a real pain having to wait for internal users to contact me when a build agent is out. Further, I'm not keen on having to go check my agents daily. Any help?

          It's been 7 years and still this basic feature is not available in Bamboo. Atlassian any ETA on this?

          Venkat Patchigolla added a comment - It's been 7 years and still this basic feature is not available in Bamboo. Atlassian any ETA on this?

          We'd also like to know when agents go offline, but perhaps unlike most that have commented on this issue so far, we actually don't want Bamboo sending the notification.

          We already have far too many point-sources of errors and events. What we really want is to tie this into our existing centralized notification and escalation mechanisms. To that end, what we would want is Bamboo to provide REST endpoints for agent status. With that, we could write Nagios checks that implements the specific checks and notifications that make sense for our organization. Likewise, others could do what they need to tie it into their existing monitoring infrastructure and policies.

          Deleted Account (Inactive) added a comment - We'd also like to know when agents go offline, but perhaps unlike most that have commented on this issue so far, we actually don't want Bamboo sending the notification. We already have far too many point-sources of errors and events. What we really want is to tie this into our existing centralized notification and escalation mechanisms. To that end, what we would want is Bamboo to provide REST endpoints for agent status. With that, we could write Nagios checks that implements the specific checks and notifications that make sense for our organization. Likewise, others could do what they need to tie it into their existing monitoring infrastructure and policies.

          Is there any temporary workaround available?

          Gupta Tulika added a comment - Is there any temporary workaround available?

          Hi James, this plug-in only supports up to v4.4.8, we have upgraded our Bamboo to 5.2 already. Are there alternatives?

          Eclipse Trading added a comment - Hi James, this plug-in only supports up to v4.4.8, we have upgraded our Bamboo to 5.2 already. Are there alternatives?

          support35 there is a plugin you can use in the meantime that does it https://marketplace.atlassian.com/plugins/com.pronetbeans.bamboo.agentutils-basic

          James Dumay added a comment - support35 there is a plugin you can use in the meantime that does it https://marketplace.atlassian.com/plugins/com.pronetbeans.bamboo.agentutils-basic

          No update for over a year now, is this implemented yet?

          Eclipse Trading added a comment - No update for over a year now, is this implemented yet?

          Thanks for the detailed feedback, Adam

          James Dumay added a comment - Thanks for the detailed feedback, Adam

          Adam Myatt added a comment -

          I think that is a nice option as well. The primary goal of an IT operations team responsible for running a Bamboo server (say with 100 agents) is to ensure up time and consistency. If Agents die for whatever reason the Ops team needs to know via email/alert. I'm sure a variety of different people would want to do so in different ways such as :

          • If any agent goes offline email me at address XXX
          • If any agent matching this RegEx pattern goes offline email me at XXX
          • If an Agent goes offline and doesn't come back online for X minutes then email me at address XXX.
          • If an Agent goes offline and I get emailed (maybe I'm out to lunch and can't do anything about it) but the agent comes back online after 20 or 30 minutes so nice option is to have it email you when a failed agent comes back online.
          • Having a designated person/email for each agent predefined that also gets notified if the agent they operate goes offline as it may be their responsibility to restart it, but an additional notification to the bamboo admin may be nice as an FYI.

          The different options you guys already have for Bamboo Build Notifications are mostly what is needed (ability to have multiple notifications of different types).

          Adam Myatt added a comment - I think that is a nice option as well. The primary goal of an IT operations team responsible for running a Bamboo server (say with 100 agents) is to ensure up time and consistency. If Agents die for whatever reason the Ops team needs to know via email/alert. I'm sure a variety of different people would want to do so in different ways such as : If any agent goes offline email me at address XXX If any agent matching this RegEx pattern goes offline email me at XXX If an Agent goes offline and doesn't come back online for X minutes then email me at address XXX. If an Agent goes offline and I get emailed (maybe I'm out to lunch and can't do anything about it) but the agent comes back online after 20 or 30 minutes so nice option is to have it email you when a failed agent comes back online. Having a designated person/email for each agent predefined that also gets notified if the agent they operate goes offline as it may be their responsibility to restart it, but an additional notification to the bamboo admin may be nice as an FYI. The different options you guys already have for Bamboo Build Notifications are mostly what is needed (ability to have multiple notifications of different types).

          bmccoy added a comment -

          Hi Adam,

          An alternative solution could be to use a regex matching the name of the agent? e.g. email me about all agents with name matching Y. Would this work in your case?

          Thanks,
          Brydie

          bmccoy added a comment - Hi Adam, An alternative solution could be to use a regex matching the name of the agent? e.g. email me about all agents with name matching Y. Would this work in your case? Thanks, Brydie

          Adam Myatt added a comment -

          In addition it would be cool if for each agent you could specify an email address to notify. For example as "owner" of the Bamboo server I want to be notified if agents go offline, but I have up to 100 agents some run by different software teams hosted on virtual machines I don't have access to so it would be great if when authorizing an agent to run in the admin panel i can set an email address specific to that agent of someone to get notified in addition to the bamboo admin person/team.

          Adam Myatt added a comment - In addition it would be cool if for each agent you could specify an email address to notify. For example as "owner" of the Bamboo server I want to be notified if agents go offline, but I have up to 100 agents some run by different software teams hosted on virtual machines I don't have access to so it would be great if when authorizing an agent to run in the admin panel i can set an email address specific to that agent of someone to get notified in addition to the bamboo admin person/team.

          Would definitely like to see this as well. We run multiple servers and with our internal system we have to put in help desk tickets for the department who manage the server when it goes down (not often, but enough to be annoying). Would be nice if an email to the department could be sent. I am going to look into making a little plugin as per suggestion here by Mr. Dumay: https://answers.atlassian.com/questions/60563/agent-offline-alert

          Cameron Ferguson added a comment - Would definitely like to see this as well. We run multiple servers and with our internal system we have to put in help desk tickets for the department who manage the server when it goes down (not often, but enough to be annoying). Would be nice if an email to the department could be sent. I am going to look into making a little plugin as per suggestion here by Mr. Dumay: https://answers.atlassian.com/questions/60563/agent-offline-alert

          Hi Adam,

          There is no expected ETA on this feature request yet.

          Thanks,
          James

          James Dumay added a comment - Hi Adam, There is no expected ETA on this feature request yet. Thanks, James

          Adam Myatt added a comment -

          Any update (or best guess) on an implementation timeline for this feature?

          Adam Myatt added a comment - Any update (or best guess) on an implementation timeline for this feature?

          +1

          Adam Myatt added a comment -

          Agreed. Email notification of an agent server going offline would be nice.

          Adam Myatt added a comment - Agreed. Email notification of an agent server going offline would be nice.

          When I view an agent (/admin/agent/viewAgent.action?agentId=nnnn) I would like to see a notifications section to tell me when an agent has gone offline. Flapping agents increases pretty quickly with number of agents you have increases and I'd rather not have to hunt down while builds have stalled.

          Both email and RSS would be nice.

          adam goucher added a comment - When I view an agent (/admin/agent/viewAgent.action?agentId=nnnn) I would like to see a notifications section to tell me when an agent has gone offline. Flapping agents increases pretty quickly with number of agents you have increases and I'd rather not have to hunt down while builds have stalled. Both email and RSS would be nice.

            achystoprudov Alexey Chystoprudov
            asridhar AjayA
            Votes:
            66 Vote for this issue
            Watchers:
            41 Start watching this issue

              Created:
              Updated:
              Resolved: