Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Howl
Contributor II
Contributor II

Sending e-mail alerts in Qlik Sense Enterprise Task Failures

Hi ,

I want to send a e-mail when Qlik sense task failed.

I got some reference from https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Sending-e-mail-alerts-in-Qlik-Sense-Enterp...

And now I known we can put LocalLogConfig.xml to C:\ProgramData\Qlik\Sense\Scheduler to implement it.

But I can't restart scheduler service after deploy the xml file to the folder as upon.

 

We have a cluster including central node , schedule node , engine node and proxy node.

My question is which node I have to deploy the xml file to ? all the node?

Regards,

Wj

Labels (5)
3 Replies
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Howl 

Not sure regarding which node to deploy the XML to, but it would make sense to me that the config is the same across all nodes.

The best place to find out why the service is failing to start is the Windows Event log on the machine where the service is not starting. The messages don't tend to give you enough information to resolve things on their own, but they do provide text that you can Google with.

Regarding sending emails on failures, I tend to read the status from the REST connectors and then send an email using the SMTP connector of Qlik Web Connectors. This approach can be used to send tables of data from any data you load into Sense, and I have documented the approach here:

https://www.quickintelligence.co.uk/send-data-from-qlik-load-script/

Good luck getting everything started up again.

Steve

Howl
Contributor II
Contributor II
Author

Thanks Steve,

We will confirm it again after copy the file to all of nodes.(I can't understand why we need to do it as this and think it is not effective as we have about 10 node in cluster. )

 

Also we are interesting the function using REST connectors  but I'm not sure can we get status of reload task timely or not.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Howl 

It would go on a scheduled event in the QMC, so you would not want it in a constant cycle. No reason why it couldn't run every five or ten minutes or so though.

We use that process for alerting on a number of different measures, including CAL usage, age of QVD files etc., including failed and long running tasks in that same process therefore makes sense.

That same process writes an HTML file with all the stats on, which can be used on a wall board:

StatusMonitorScreenshot.png

I've blogged on this approach here:

https://www.quickintelligence.co.uk/qlik-sense-web-server/

Using the log4Net service for sending alerts does look pretty neat though.

Steve