Jira Special Agent

Discussions and feedback on the new Jira special agent that is part of the Feature Pack 1

when using the jira agent with wrong credentials a traceback is printed and the cmk host is broken

Traceback (most recent call last):
  File "/omd/sites/cmk/local/share/check_mk/agents/special/agent_jira", line 312, in <module>
    sys.exit(main())
  File "/omd/sites/cmk/local/share/check_mk/agents/special/agent_jira", line 48, in main
    jira = _handle_jira_connection(args)
  File "/omd/sites/cmk/local/share/check_mk/agents/special/agent_jira", line 73, in _handle_jira_connection
    max_retries=0,
  File "/omd/sites/cmk/lib/python/jira/client.py", line 472, in __init__
    si = self.server_info()
  File "/omd/sites/cmk/lib/python/jira/client.py", line 2133, in server_info
    j = self._get_json('serverInfo')
  File "/omd/sites/cmk/lib/python/jira/client.py", line 2549, in _get_json
    r = self._session.get(url, params=params)
  File "/omd/sites/cmk/lib/python/jira/resilientsession.py", line 151, in get
    return self.__verb('GET', url, **kwargs)
  File "/omd/sites/cmk/lib/python/jira/resilientsession.py", line 147, in __verb
    raise_on_error(response, verb=verb, **kwargs)
  File "/omd/sites/cmk/lib/python/jira/resilientsession.py", line 57, in raise_on_error
    r.status_code, error, r.url, request=request, response=r, **kwargs)
jira.exceptions.JIRAError: JiraError HTTP 401 url: https://jira.sixt.com/rest/api/2/serverInfo

Hi Matthias,

thanks for the feedback!
We adjusted the error handling and the mkp was replaced with version 1.1 on the exchange page.