<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Task Monitoring with PRTG in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108902#M19054</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32672"&gt;@generalfinance&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;Create a Document&amp;nbsp;&lt;/STRONG&gt;button is the right one, yes! Then all you have to do is follow the instructions on screen. There are even templates you can follow, but you can use&amp;nbsp;&lt;STRONG&gt;Freeform&amp;nbsp;&lt;/STRONG&gt;(the first template in the list) and copy paste your current post into the editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 09:59:00 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2023-08-23T09:59:00Z</dc:date>
    <item>
      <title>Task Monitoring with PRTG</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2106752#M19015</link>
      <description>&lt;P&gt;Monitoring of Tasks that reload Apps in Qlik Sense.&lt;BR /&gt;One or more tasks are scheduled on the Qlik server that automatically load the Apps,&lt;BR /&gt;The goal is to be able to query the status of a task with the help of REST API technology and integrate it with the PRTG monitoring system.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1 -&amp;gt; Creation of a dedicated Virtual Proxy in Qlik QMC.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The documentation to be able to proceed is available from the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-How-to-set-up-JWT-authentication/ta-p/1716226" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-How-to-set-up-JWT-authentication/ta-p/1716226&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 2 -&amp;gt; API Query Mode and Test.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Once the JWT virtual proxy has been configured and the validity of the Token has been verified as per the official guide, it is possible to proceed with the desired query.&lt;/P&gt;
&lt;P&gt;NB. In this case we validated the token using a Service user who also runs all the dedicated services including the Proxy Service.&lt;/P&gt;
&lt;P&gt;In this case we will monitor the correct reload of the tasks on the QLIK server, the Tasks are scheduled on the server and allow the App data to be reloaded.&lt;BR /&gt;When one of these tasks fails via API call, it is possible to have a json result with the related details inside.&lt;BR /&gt;Below is an example of an API call:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="string API.jpg" style="width: 761px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114596iFB3335AA88BDD36B/image-dimensions/761x199?v=v2" width="761" height="199" role="button" title="string API.jpg" alt="string API.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is an example of a task we want to monitor:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Task.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114597i2A5A33B5260FC95A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Task.jpg" alt="Task.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A quick method to test if the call was successful is from the browser using the Mode Header extension for google chrome described in step 1.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://chrome.google.com/webstore/detail/modheader-modify-http-hea/idgpnmonknjnojddfkpgkljpfnnfcklj" target="_blank"&gt;https://chrome.google.com/webstore/detail/modheader-modify-http-hea/idgpnmonknjnojddfkpgkljpfnnfcklj&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So for the call to be successful you need to pass the following parameters:&lt;BR /&gt;Where Header name: Authorization and Header value: Bearer followed by the previously generated and tested Token and finally the Xrfkey key.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="mode.jpg" style="width: 947px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114598iB92558BF604810EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="mode.jpg" alt="mode.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will be the result in Json format returned by the browser if the call is successful:&lt;BR /&gt;Specifically in PRTG what we are going to monitor is:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The name of the Task in this case "test"&lt;BR /&gt;The status in this case"status":7 = Success&lt;/LI&gt;
&lt;LI&gt;Task name "name": "Reload task of TEST TASK FAIL"&lt;/LI&gt;
&lt;LI&gt;Start and end time date:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "startTime": "2022-05-04T07:46:34.100Z"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "stopTime": "2022-05-04T07:46:37.636Z"&lt;/P&gt;
&lt;P&gt;3. Other information that we may integrate and otherwise see in PRTG.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NB.&amp;nbsp;A table with Qlik Sense reload task status codes and descriptions is available from the following link&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/alerting/July2023/Content/QlikAlerting/system-alerts.htm" target="_blank"&gt;https://help.qlik.com/en-US/alerting/July2023/Content/QlikAlerting/system-alerts.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is an example of the string &lt;EM&gt;JSON&lt;/EM&gt; with ok API call.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="json.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114600iB8632EFEBD37FDAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="json.jpg" alt="json.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Step 3 -&amp;gt; Task monitoring from PRTG.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Type of sensor used in PRTG.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Sensor Type.jpg" style="width: 321px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114612i9B79996291538BF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sensor Type.jpg" alt="Sensor Type.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;How to create a sensor&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sensor1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114613i5459F31EC5D58505/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sensor1.jpg" alt="Sensor1.jpg" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Sensor2.jpg" style="width: 837px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114615iD66AB7872ED72758/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sensor2.jpg" alt="Sensor2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Sensor3.jpg" style="width: 962px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114616iFD15CB0CE01197A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sensor3.jpg" alt="Sensor3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The path on the PRTG server where the template is to be uploaded is as follows:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\rest&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="template.jpg" style="width: 826px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114619iC94F4A13B2415969/image-size/large?v=v2&amp;amp;px=999" role="button" title="template.jpg" alt="template.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the following path, however, it is necessary to define a Lookups in order to allow the sensor to interpret the various states of the Qlik Tasks listed in Step 2.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;C:\Program Files (x86)\PRTG Network Monitor\lookups\custom&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="lookups.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114630i690471C24D867C3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="lookups.jpg" alt="lookups.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result JSON query Task from Browser a part of this information will be used for the sensor in PRTG each task will correspond to a specific sensor.&lt;/P&gt;
&lt;P&gt;The REST Custom Sensor was used in PRTG.&lt;BR /&gt;The REST Custom sensor queries a Representational State Transfer (REST) application programming interface (API) endpoint and maps the JavaScript Object Notation (JSON) or Extensible Markup Language (XML) result to the sensor values the mapping rule must be available as a REST configuration file in JSON template format (*.template) according to the PRTG API definition for custom sensors.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Task PRTG.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114604iB28427EFA23CFDE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Task PRTG.jpg" alt="Task PRTG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;EM&gt;&amp;nbsp; Two files have been created on the PRTG server.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Task PRTG_2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114609i31DC44D7DB791B26/image-size/large?v=v2&amp;amp;px=999" role="button" title="Task PRTG_2.jpg" alt="Task PRTG_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Final integration flow monitoring Task PRTG -&amp;gt; QLIK.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Task PRTG_3.jpg" style="width: 573px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114610iEC7F9A5FFCA894E7/image-dimensions/573x372?v=v2" width="573" height="372" role="button" title="Task PRTG_3.jpg" alt="Task PRTG_3.jpg" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 12:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2106752#M19015</guid>
      <dc:creator>generalfinance</dc:creator>
      <dc:date>2023-08-17T12:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Task Monitoring with PRTG</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2107628#M19021</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;This is a fantastic post, thank you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you consider reposting it over in our&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Member-Articles/tkb-p/qlik-communityarticles" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Members Articles&amp;nbsp;&lt;/STRONG&gt;section&lt;/A&gt;? That section is specifically designed to house more "how to" sort of posts by our community.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 08:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2107628#M19021</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-08-21T08:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Task Monitoring with PRTG</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108848#M19050</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32672"&gt;@generalfinance&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;this is a great article that summarizes very well how to automatically monitor a QSEoW environment. Thanks for sharing your effort! Best regards.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 08:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108848#M19050</guid>
      <dc:creator>Federico_Rizzello</dc:creator>
      <dc:date>2023-08-23T08:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Task Monitoring with PRTG</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108899#M19053</link>
      <description>&lt;P&gt;Hi Sonya,&lt;BR /&gt;Thank you very much, I will certainly do it, I'm not very expert in posts, but I see that in the Member Articles section it is possible to do it with Create a Document, right? But maybe I need to subscribe to the correct channel first?&lt;BR /&gt;If you give me two indications I will proceed.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 09:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108899#M19053</guid>
      <dc:creator>generalfinance</dc:creator>
      <dc:date>2023-08-23T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Task Monitoring with PRTG</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108902#M19054</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32672"&gt;@generalfinance&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;Create a Document&amp;nbsp;&lt;/STRONG&gt;button is the right one, yes! Then all you have to do is follow the instructions on screen. There are even templates you can follow, but you can use&amp;nbsp;&lt;STRONG&gt;Freeform&amp;nbsp;&lt;/STRONG&gt;(the first template in the list) and copy paste your current post into the editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 09:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2108902#M19054</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-08-23T09:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Task Monitoring with PRTG</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2109040#M19055</link>
      <description>&lt;P&gt;Thanks Sonya, I proceeded to publish it where you indicated me.&lt;BR /&gt;I hope everything is clear.&lt;BR /&gt;Good work.&lt;/P&gt;
&lt;P&gt;Marco Team Generalfinance IT.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 13:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Monitoring-with-PRTG/m-p/2109040#M19055</guid>
      <dc:creator>generalfinance</dc:creator>
      <dc:date>2023-08-23T13:01:36Z</dc:date>
    </item>
  </channel>
</rss>

