<?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: Start XMC scripts or workflows via  NAC Notifications&amp;quot; or NetSight &amp;quot;Alarms Manager&amp;quot; in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39352#M4802</link>
    <description>&lt;BR /&gt;
Hi Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
just adding NSI's to some VLAN's using CLI commands on an EXOS (x450-g2, running 22.6.x).&lt;BR /&gt;
The worklof/script works if you run it, using notifitcation it doesn't.&lt;BR /&gt;
&lt;BR /&gt;
What kind of debug logging do I need to enable to view the actual error? Because in the 'events' I only see this "error": no compatible devices found.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards,&lt;BR /&gt;
&lt;BR /&gt;
Jasper</description>
    <pubDate>Tue, 18 Jun 2019 19:56:00 GMT</pubDate>
    <dc:creator>Jasper_R</dc:creator>
    <dc:date>2019-06-18T19:56:00Z</dc:date>
    <item>
      <title>Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39346#M4796</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
is there a way to start scripts (Python!) or workflows created via XMC triggered by NAC "Notifications" or Netsight "Alarms manager"?&lt;BR /&gt;
&lt;BR /&gt;
I know I can start every script/executable in the file system and the python scripts are stored in the file system. But if I start these files directly I have to handle myself the "Device Selection" for the correct device the script should run against.&lt;BR /&gt;
I hope there is a smoother way to do that because that's a normal scenario:&lt;BR /&gt;
&lt;BR /&gt;
&lt;UL&gt; 
&lt;LI&gt;Something happens on a device (like port goes down) 
&lt;/LI&gt;&lt;LI&gt;Alarms manager detects this issue 
&lt;/LI&gt;&lt;LI&gt;Alarms manager starts a script to fix it&lt;/LI&gt;&lt;/UL&gt;
In Workflows there is a "Signal" element in the Events category. But It's not clear for me whether the signal is something from outside or a event within the workflow.&lt;BR /&gt;
For me the event is from outside (example port down on an arbitrary switch in XMC).&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2018 13:31:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39346#M4796</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-10-30T13:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39347#M4797</link>
      <description>Hmmmmm,&lt;BR /&gt;
&lt;BR /&gt;
there is an "Action" in the Notification manager pointing in the right direction.&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5fe8e9610c244df19e7529a98dc98487_RackMultipart20181030-58806-1j9c4mk-image_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/5924iC7922FF62D113A8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="5fe8e9610c244df19e7529a98dc98487_RackMultipart20181030-58806-1j9c4mk-image_inline.png" alt="5fe8e9610c244df19e7529a98dc98487_RackMultipart20181030-58806-1j9c4mk-image_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
But I can't select select anything in the dropdown even I created an Workflow as "Saved Task" in XMC. Maybe this windows is further on than the code behind it, because I still use the 8.1.4.40.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:02:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39347#M4797</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-10-30T19:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39348#M4798</link>
      <description>Three steps:&lt;BR /&gt;
1. configure your workflow to be executable from menu "Access Control Events"&lt;BR /&gt;
2. configure Notification to use your workflow&lt;BR /&gt;
3. you need XMC 8.2.1.&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;A href="https://d1uyvls174j03l.cloudfront.net/extremenetworks-us/attachment/RackMultipart20181031-101129-1f5pxg1-Screen_Shot_10-31-18_at_12.12_PM_001_inline.png" rel="image" class="fancybox"&gt;&lt;IMG src="https://d1uyvls174j03l.cloudfront.net/extremenetworks-us/attachment/RackMultipart20181031-101129-1f5pxg1-Screen_Shot_10-31-18_at_12.12_PM_001_inline.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2018 17:15:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39348#M4798</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2018-10-31T17:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39349#M4799</link>
      <description>Hello Pala,&lt;BR /&gt;
&lt;BR /&gt;
works great (with 8.2.x), thanks for the good pictures.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2018 03:45:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39349#M4799</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-11-09T03:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39350#M4800</link>
      <description>&lt;BR /&gt;
Hi Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
I tried this and it doesn't work.&lt;BR /&gt;
&lt;BR /&gt;
If I run the workflow by selecting my device (from the Tasks &amp;gt; Workflow menu itself) the workflow "works" (so no wrong cli command or so).&lt;BR /&gt;
&lt;BR /&gt;
If I setup my notification, I get the following error: "no compatible devices found.".&lt;BR /&gt;
&lt;BR /&gt;
Any Idea on how to solve this? It seems that XMC/control doesn't recognize the switch as an EXOS or something like that?&lt;BR /&gt;
&lt;BR /&gt;
kind regards,&lt;BR /&gt;
&lt;BR /&gt;
Jasper</description>
      <pubDate>Mon, 17 Jun 2019 20:55:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39350#M4800</guid>
      <dc:creator>Jasper_R</dc:creator>
      <dc:date>2019-06-17T20:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39351#M4801</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
the workflow can be executed for non-exos switch the same way as on exos switch. what is the workflow you are trying to execute/start by notification?&lt;BR /&gt;
&lt;BR /&gt;
have you tried to check why the workflow does fail?&lt;BR /&gt;
&lt;BR /&gt;
Z.</description>
      <pubDate>Mon, 17 Jun 2019 23:14:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39351#M4801</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-06-17T23:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39352#M4802</link>
      <description>&lt;BR /&gt;
Hi Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
just adding NSI's to some VLAN's using CLI commands on an EXOS (x450-g2, running 22.6.x).&lt;BR /&gt;
The worklof/script works if you run it, using notifitcation it doesn't.&lt;BR /&gt;
&lt;BR /&gt;
What kind of debug logging do I need to enable to view the actual error? Because in the 'events' I only see this "error": no compatible devices found.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards,&lt;BR /&gt;
&lt;BR /&gt;
Jasper</description>
      <pubDate>Tue, 18 Jun 2019 19:56:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39352#M4802</guid>
      <dc:creator>Jasper_R</dc:creator>
      <dc:date>2019-06-18T19:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39353#M4803</link>
      <description>If you run the workflow by executing it against the switch then the workflow does have access to emc_variable deviceIP. &lt;BR /&gt;
If you run it from notification engine then the workflow does have emc_variable switchIP.&lt;BR /&gt;
&lt;BR /&gt;
Check the list of variables &lt;A href="https://emc.extremenetworks.com/content/nachelp/docs/nac_at_edit_action_overrides.html#KeywordDefinitions" target="_blank" rel="nofollow noreferrer noopener"&gt;here&lt;/A&gt;. if the workflow was executed you can see variables available for the workflow in the &lt;A href="https://emc.extremenetworks.com/content/oneview/docs/tasks/docs/c_workflows_dash.html#ActivityDeviceResults" target="_blank" rel="nofollow noreferrer noopener"&gt;results window&lt;/A&gt;...</description>
      <pubDate>Tue, 18 Jun 2019 23:25:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39353#M4803</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-06-18T23:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39354#M4804</link>
      <description>Hi Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
could you elaborate on that answer?&lt;BR /&gt;
Our specific situation is that we try to get a workflow going after plugging in an AP which generates a notification. &lt;BR /&gt;
This works when we run it in XMC but fails when we test it by plugging in an AP. The workflow runs but fails. &lt;BR /&gt;
&lt;BR /&gt;
The big difference between the 2 variable results (XCM test vs real) is the fact that our devices variable stays empty whereas the devices variable in the test shows the switchIP.&lt;BR /&gt;
&lt;BR /&gt;
I tried forcing the switchIP into the devices variable, but no difference, this looks like it's enforced (because it is system-defined?).&lt;BR /&gt;
&lt;BR /&gt;
Any idea why this would be happening? Or do you have a way to get some debug level logging?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Lennert</description>
      <pubDate>Fri, 19 Jul 2019 02:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39354#M4804</guid>
      <dc:creator>Lennert_VL</dc:creator>
      <dc:date>2019-07-19T02:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39355#M4805</link>
      <description>When I execute the workflow by notification engine I can use variables in the workflow.&lt;BR /&gt;
&lt;BR /&gt;
Example of Notification:&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="d540311325a84844a7d6efcd1cd18e9e_5e078f93-44b7-47e8-9d2b-19398103e94e.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2093iF2450159F4828D2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="d540311325a84844a7d6efcd1cd18e9e_5e078f93-44b7-47e8-9d2b-19398103e94e.png" alt="d540311325a84844a7d6efcd1cd18e9e_5e078f93-44b7-47e8-9d2b-19398103e94e.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
Example of variables:&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="d540311325a84844a7d6efcd1cd18e9e_7bcb3581-bd74-41b5-a943-890f0d113606.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/4408i393D7CE268D9A52E/image-size/large?v=v2&amp;amp;px=999" role="button" title="d540311325a84844a7d6efcd1cd18e9e_7bcb3581-bd74-41b5-a943-890f0d113606.png" alt="d540311325a84844a7d6efcd1cd18e9e_7bcb3581-bd74-41b5-a943-890f0d113606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Example of python code to check those variables:&lt;BR /&gt;
&lt;BR /&gt;
if emc_vars["oldstate"] != emc_vars["state"]:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope it helps.&lt;BR /&gt;
&lt;BR /&gt;
Z.</description>
      <pubDate>Fri, 19 Jul 2019 13:41:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39355#M4805</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-07-19T13:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39356#M4806</link>
      <description>Thanks for your answer. I think I get that.&lt;BR /&gt;
&lt;BR /&gt;
Our notification looks just like yours and works.&lt;BR /&gt;
But the problem lies with the fact that our workflow doesn't find the compatible devices.&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7fcb9562acbc4e7ba54ca62bbead671a_59e859d8-48ba-4aae-9acb-74b6192c5c86.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/1510iCD71980F8715EDD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="7fcb9562acbc4e7ba54ca62bbead671a_59e859d8-48ba-4aae-9acb-74b6192c5c86.png" alt="7fcb9562acbc4e7ba54ca62bbead671a_59e859d8-48ba-4aae-9acb-74b6192c5c86.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
In this instance our devices variable is empty. &lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7fcb9562acbc4e7ba54ca62bbead671a_3ea289e4-98c4-404e-849a-644d3fc17f92.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/5653i3C741E783CB2E1D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="7fcb9562acbc4e7ba54ca62bbead671a_3ea289e4-98c4-404e-849a-644d3fc17f92.png" alt="7fcb9562acbc4e7ba54ca62bbead671a_3ea289e4-98c4-404e-849a-644d3fc17f92.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
This comes from a workflow with only a CLI activity in it.&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7fcb9562acbc4e7ba54ca62bbead671a_46d948b1-0860-4182-9b21-b152243de5d5.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/4892iDB32FA2EA2404B57/image-size/large?v=v2&amp;amp;px=999" role="button" title="7fcb9562acbc4e7ba54ca62bbead671a_46d948b1-0860-4182-9b21-b152243de5d5.png" alt="7fcb9562acbc4e7ba54ca62bbead671a_46d948b1-0860-4182-9b21-b152243de5d5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Do you have an idea why our "devices" variable doesn't automatically get our Summit switch, or how we could enforce that?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Lennert</description>
      <pubDate>Fri, 19 Jul 2019 14:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39356#M4806</guid>
      <dc:creator>Lennert_VL</dc:creator>
      <dc:date>2019-07-19T14:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39357#M4807</link>
      <description>I see now the issue... the device is not automatically populated from notification engine = it is function as designed = imagine you just want to do API call somewhere, you do not want to establish the session to the switch, may be you want establish the session to the engine...&lt;BR /&gt;
&lt;BR /&gt;
What you can do = change the activity from CLI to Python.&lt;BR /&gt;
&lt;BR /&gt;
here is python code example:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;#############CLI - FUNCTION DEFINITIONS&lt;BR /&gt;def sendConfigCmds(cmds): &lt;BR /&gt;    for cmd in cmds:&lt;BR /&gt;        cli_results = emc_cli.send( cmd )&lt;BR /&gt;        if cli_results.isSuccess() is False:&lt;BR /&gt;            print 'CLI-ERROR: ' + cli_results.getError()&lt;BR /&gt;            exit&lt;BR /&gt;    cli_lines = cli_results.getOutput()&lt;BR /&gt;    return cli_lines&lt;BR /&gt;&lt;BR /&gt;#############Establish the session and send commands&lt;BR /&gt;emc_cli.setIpAddress(emc_vars["switchIP"])&lt;BR /&gt;varCMDS = []&lt;BR /&gt;varCMDS.append('config terminal')&lt;BR /&gt;varCMDS.append('hosname I-Was-Here')&lt;BR /&gt;varCli_result = sendConfigCmds(varCMDS)&lt;BR /&gt;emc_cli.close()&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jul 2019 15:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39357#M4807</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-07-19T15:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39358#M4808</link>
      <description>Thanks for your quick responses. This helps a lot.&lt;BR /&gt;
&lt;BR /&gt;
There's still the issue that no compatible devices are found, even though we change the emc_cli ip address to switchIP. &lt;BR /&gt;
If i run your script through XMC, I get the error: no viable alternative for "switchIP"&lt;BR /&gt;
&lt;BR /&gt;
So I put in variable switchIP manually and referenced it to global variable switchIP. But now I get error: device not found and switchIP stays empty so this would indicate that there's nothing in global variable switchIP which I can confirm in the variable results window.&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="e3b92b1cd4d64ca8bd3e33ff8a21d502_7b93575f-388b-497e-9493-653437a82392.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/3592i54723EE50D9BE4BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="e3b92b1cd4d64ca8bd3e33ff8a21d502_7b93575f-388b-497e-9493-653437a82392.png" alt="e3b92b1cd4d64ca8bd3e33ff8a21d502_7b93575f-388b-497e-9493-653437a82392.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="e3b92b1cd4d64ca8bd3e33ff8a21d502_226e661d-5d01-4d47-a19c-4921e098012e.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/5511i28A82E3B63266329/image-size/large?v=v2&amp;amp;px=999" role="button" title="e3b92b1cd4d64ca8bd3e33ff8a21d502_226e661d-5d01-4d47-a19c-4921e098012e.png" alt="e3b92b1cd4d64ca8bd3e33ff8a21d502_226e661d-5d01-4d47-a19c-4921e098012e.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
So why would this occur? Any alternatives?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Lennert</description>
      <pubDate>Fri, 19 Jul 2019 16:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39358#M4808</guid>
      <dc:creator>Lennert_VL</dc:creator>
      <dc:date>2019-07-19T16:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39359#M4809</link>
      <description>Does it work if you replace &lt;U&gt;emc_vars["switchIP"]&lt;/U&gt; with the IP of your switch? and let it be executed by Notification engine?&lt;BR /&gt;
&lt;BR /&gt;
What XMC version are you using?</description>
      <pubDate>Fri, 19 Jul 2019 16:49:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39359#M4809</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-07-19T16:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start XMC scripts or workflows via  NAC Notifications" or NetSight "Alarms Manager"</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39360#M4810</link>
      <description>Yes, the test works when I replace it with the IP of my switch. But not when I let it be executed by the Notification engine, it still says it has 0 devices to work with.&lt;BR /&gt;
&lt;BR /&gt;
XMC version 8.2.6.5</description>
      <pubDate>Fri, 19 Jul 2019 16:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/start-xmc-scripts-or-workflows-via-nac-notifications-quot-or/m-p/39360#M4810</guid>
      <dc:creator>Lennert_VL</dc:creator>
      <dc:date>2019-07-19T16:58:00Z</dc:date>
    </item>
  </channel>
</rss>

