Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to check from linux command line if specific jira add-on is enabled? (For monitoring)

Andris Grinbergs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2015

Hello,

For monitoring purposes, please suggest, how to check from linux command line if specific JIRA add-on is enabled?

I hope there is better option than digging through JIRA logs to get last status.

BR,

Andris

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2015

The logs are about the only way to do it.  And they're not reliable because it is possible to turn off add-ons without lines going into the logs.

You could read the database for the "add-on enabled" flag.  That's more reliable than the logs, but not really "command line"

1 vote
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 17, 2015

Hi Andris, 

 

As Nic said, this won't be so reliable due the possibility of turn off add-ons. Also, sometimes add-ons have submodules which means, you can have the plugin enable, but a sub-module disable which can cause a false/positive return. 

But if you don't want to go deep, and just check the status by logs, looking for the add-on name. You could create a script using a tail -f (to check in real time) and to use some |grep to check if that add on was started or you are getting some error into the logs. 

 

Regards, 

Renato 

 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events