Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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.
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:
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