Monitor Confluence plugin updates via UPM and Nagios

I would like to monitor Confluence plugin updates through Nagios. Whenever an update becomes available, Nagios should trigger a warning. 

I can do the Nagios part, including any scripting that would be needed there. The key question is really how can I query Confluence whether it has any plugin updates available, e.g. via REST.

I have discovered the UPM rest API at /rest/plugins/1.0/, but while it provides a list of installed plugins, this does not seem to include whether an update is available.

2 answers

Hello M.S. by any chance would be monitoring Marketplace plugin pages feasible, instead of attempting to retrieve the info from the application itself? For instance, this addon page gets updated with version whenever there are new iterations. Thoughts?

Although it may be feasible, it does not appear to be a good solution. The monitoring would need to query confluence to check what plugins are installed with which versions, parse the REST output and then also check the marketplace, somehow parse that HTML(? - uh) and then compare these. Quite some work, specifically since confluence itself already has that logic built-in - when I navigate to the plugins page it tells me which plugins need updates. My hope was for some REST interface rather than parsing HTML which breaks easily (with updates).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

247 views 11 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you