Skip to main content

Hi,

Has someone already tried to use the Open-Tickets Plugin (Used to create tickets to a provider like ITSM, or JIRA).

I installed it and created a first rule.

But when I try to add the Widget (In Custom View) : I always get the error “Please create a rule first”.

The documentation I followed is this one : Configuration | Centreon Documentation

 

Thanks a lot 

 

 

Hallo @glepinay 

  • > ] install packages
  • i ] install module from ui
  • i ] install widget from ui
  • i ] confirm that you have the macro for
    • generic-active-host-custom | TICKET_ID
    • generic-active-service-custom | TICKET_ID
  • ] in the widget are you selecting the rule?
    •  

🤞


Thank you !

Yes I did all this … but when I click on the Configuration icon … I only see Filters I don’t have any ‘Rule’ dropdown menu …. Thus I am not able to select the Rule: see the secreenshot

 

 

 


Can you share the following, please anonymize as needed:

 

/var/log/php-fpm/centreon-error.log

 

Finally the result of these queries

 

under your centreon DB

MariaDB Dcentreon]> show tables like '%open%';
MariaDB Dcentreon]> select * from modules_informations where name='centreon-open-tickets'\G

 

under your centreon_storage DB

MariaDB acentreon_storage]> show tables like '%open%';


Hi,

Seems my centreon-error.log file doesn’t report any event when I create an ‘Open-Tickets’ widget, or when I try to configure it.

 

ON centreon DB:

 show tables like '%open%';  :

 mod_open_tickets_form_clone |
| mod_open_tickets_form_value |
| mod_open_tickets_rule             |

 

select * from modules_informations where name='centreon-open-tickets'\G :

           id: 7

         name: centreon-open-tickets
        rname: Centreon Open Tickets
  mod_release: 21.10.0
is_removeable: 1
        infos: Centreon Open Tickets is a community module developed to create tickets to your favorite ITSM tools using API.

Once done provider configuration, the module allows for an operator to create tickets for hosts and services in a non-ok state using a dedicated widget. Indeed, a button associated with each host or service allows you to connect to the API and create the ticket while offering the possibility to acknowledge at the same time the object.

Regarding the widget configuration, it is possible to see the created tickets by presenting tickets ID and date of creation of these.

       author: Centreon
    svc_tools: NULL
   host_tools: NULL
 

ON centreon_storage DB:

 

show tables like '%open%' :

| mod_open_tickets                    |
| mod_open_tickets_data           |
| mod_open_tickets_link            |
 

 


This being a new install for OT, can you remove both the module and widget from “Administration > Extensions > Manager” and install them again. Make sure you install the “Module” first, once done the “Widget”.

 

Let us know 🙂


Hi,

Thank you it is working well !

I can now see the droplist to choose the rule.

Now I an facing an issue to make it work with JIRA : when I open a Ticket, It Get

Jira project 403 code error
Jira priority 403 code error
Jira assignee 403 code error
Jira issue type 403 code error

 

Error code may vary : 401 or 404

 

But this is another point ,,,,

Thanks again

 

 


Reply