-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ticket system support #43
Comments
Hi, thank you for the FR. How about calling an URL instead with a custom payload. There could be placeholders which will be substituted with the actual content once this action is called.
What do you think? |
Hi, No problem, Sounds like that is a way more robust way to do things. Currently we have a script do the following:
From here the plot thickens for fresh service, But the remaining items can be set in a JSON in the config:
Then use requests to send it and print out if the ticket was a succes. There is a high potential for feature creep here :) A configurable layout of the ticket would be awesome: In terms of a question
basically so you don't have to A other FR that comes to mind: |
Indeed 😄 Also trying to make it as generic as possible.
Another possibility would be to add another little flask service on the same machine between the bot and and your ticket backend. This would remove complexity within the bot and you could add whatever you like in the handler in between. different systems have different auth methods for example. what do you think? |
Yes I can imagine that there are tons and tons of ticketing systems out there.
That is why I thought of calling a script, and the user provides the script, But over all looking at jira / fresh service / trello they use the same method of API keys. So that would be the "generic" standard as most modern applications use that, Else it is user name / password but that is getting less and less used for these big companies. you could make the user supply the
I don't have an opinion about the extra flask server. Other than system recourses. That said it should not be a problem these days but it is nice to keep it as minimal as possible. |
Hi,
I was playing with this bot and wonderd if it was possible to add a 'ticket' command in the
ack
style. or as a extra question to theack
commanddo you want a ticket?
It would be great to call a python script with a name like
send_ticket.py
with arguments:host
service
state
the first argument would be the
subject
the second and third arguments would be the
description
like:f"Service: {var1} State: {var2}"
With that we can send it towards Fresh service. We don't want Icinga to do this as it would just be creating too many tickets.
Help would be appreciated. Or if it could become a feature out of the box would just be superb!
I can imagine adding every ticket sollotion in the world would be too much to ask but this way users could implement it really easy themselfs in the
send_ticket.py
and setting a ini value to enable this featureThe text was updated successfully, but these errors were encountered: