Icinga / icingaweb2-module-jira

GNU General Public License v2.0
42 stars 16 forks source link

[Feature request] make 'IcingaKey' content customisable #126

Open log1-c opened 10 months ago

log1-c commented 10 months ago

Hi devs :)

I'd like to propose the possibility of making the 'IcingaKey' content customisable. One use-case could be that one could create separate tickets for warning and critical states by setting IcingaKey =hostname!servicename!servicestate

cheers and thanks for the great module!

moreamazingnick commented 2 months ago

what about a macro renderer for the service key (then you can use all kinds of custom vars)? with a fallback for (hostname, servicename and state) to the corresponding arguments for the icingacli command?

happy to provide a poc. best regards Nicolas

moreamazingnick commented 2 days ago

I thing it would also be a good idea to have this if you have multiple icinga instances opening tickets in one jira project. for example to different (not connected icinga single master nodes) are monitoring like example.com it would be nice to have different tickets for that. with an adaptable "Icinga Key" this can be easily achieved