Qlik Community

Ask a Question

Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Sept. 16, Qlik Product Portfolio Strategy and Roadmap for Data Integration 11 AM ET REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Luminary Alumni
Luminary Alumni

Open source solution for sending mail, Teams or Slack alerts when reloads fail

After a few months of real-world testing I now feel confident sharing this with the wider community.

"Butler" (butler.ptarmiganlabs.com) is an open source toolbox aiming at making life easier for both Sense admins and developers. It offers a range of features including reload failure alerts, a cron based (and thus very flexible!) task scheduler, generic key-value store (can be used to create task chaining with parameter passing), MQTT pubsub support, sending Slack messages and more.

Butler as such is 4-5 years old by now, but the reload failure alert feature was added a few months ago and has now proven to be stable and very useful.

The idea is simple:

Admins and/or developers should be notified right away when a reload fails in Qlik Sense Enterprise on Windows.
The notification should go out as a nice looking email, via Teams or Slack. Or all of them.

And most importantly: The notification should include enough information so that the admin or developer can right away get an idea of what caused the failure.

No more going to the QMC, download the script log of the failed task (if it's even available there any more!), find the end of that log and then see that someone had forgotten a single semicolon....

Butler does all of the above.
It also has a template engine that allows you to define what your own alert emails should look like, here's an example  (from the Butler doc site )


A few things to note:

  • The email isn't just a basic text email. It has formatting that makes it easy to read and digest.
  • The email contains info about the task that failed, including what server it executed on, task name, associated app name, reload history etc.
  • You get the last few lines of the script log right in the email. The number of lines that are included is easily configured in Butler's config file.  You can also get the first few lines from the script log included in the email.


On mobile an alert email can look like below. Android home screen on the left and actual alert email on the right.




Slack and Teams alerts:




As mentioned, Butler is open source and free to use and modify.
Further information, getting-started instructions, examples etc are available at butler.ptarmiganlabs.com.


Transparency/disclosure: I am the lead developer of this open source project.

Please mark the post as a solution if it provided you with a solution to the topic at hand. Thanks!
Labels (1)
2 Replies
Digital Support
Digital Support

Hello! This is fantastic! 🙂

Do you think you'd be interested in bringing this to our Feature Content Friday

Don't forget to Like posts and use the "Accept as Solution" button on content that answered your question! Thanks 🙂
Luminary Alumni
Luminary Alumni

Glad you like it!

Sure - it's actually been on my todo list oh-too-many-months now to submit it to Feature Friday. Just haven't gotten around to it.

And - what's described in this post is just a sampler of what the soon-to-be-relased Butler 5.0 does.
Better everything, basically.

Guess I should get started going through those PPT templates for FCF, or?

Please mark the post as a solution if it provided you with a solution to the topic at hand. Thanks!