Ad Widget

Collapse

MantisBT TicketReport

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David97
    Junior Member
    • Mar 2020
    • 2

    #1

    MantisBT TicketReport


    Good Morning. I am working on Zabbix Verison 3.4.15 LinuxMint for some time. We mainly do hardware monitoring of our Inspection systems. Our goal is also to react to problems and generate automaticly tickets at MantisBT. Does anyone have any experience? Possibly also via the Zabbix API. Thanks in advance
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    what you need is an external script ( or some java script thing in media ) that contacts mantis api and creates ticket iin it

    Mantis Bug Tracker (MantisHub) REST APIs. REST API calls have to be authenticated by creating an API token for the user doing the calls, and then passing the API token in the 'Authorization' header. However, for anonymous access, the API key and header are not needed. Postman Environment Variables: - token - The API token to be used for authentication. - url - The base URL for Mantis instance (e.g. '[https://mantisbt'](https://mantisbt') or '[https://instance-name.mantishub.io'](https://instance-name.mantishub.io')). There has been significant improvements and feature additions for REST API in each of the recent releases. Hence, it is highly recommended to use latest release when leveraging the REST APIs. REST API is enabled by default since MantisBT 2.8.0 release.

    Comment

    • bilbolodz
      Junior Member
      • Jan 2019
      • 14

      #3
      I'm looking to a good way to "record" matisbt ticket number back into zabbix event. I can try just add message with URL to new (automatically) created ticket but it's not an elegant way. I'm going to implement also automatic closing tickets in mantis when event in zabbix has closed and parsing messages added to event could be problematic. Any ideas? The best way would be add tags to event but it seems be not possible.

      Comment

      Working...