Actions component using Reactor not showing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Actions component using Reactor not showing

Post by WillemDH »

Hello,

Since I configured SSL for Reactor, the actions component seems to have problems showing the Reactor chain details. Luckily most of the chains are still showing in the host detail quick actions, but I noticed some of them aren't. It's also impossible to edit the chains or action configuration, as the details aren't loading. The Reactor integration has been updated with the https url. I'm using version 1.6.1 of the Actions component.

When I reconfigure the Reactor integration with the http url, the Reactor action details are showing up again. But then I'm having issues with insecure content in the popup windows when the quick action is activated.

Grtz

Willem
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Actions component using Reactor not showing

Post by ssax »

Try this updated component to see if it resolves your issues, use HTTPS for the Reactor API URL:
reactoreventhandler.zip
You do not have the required permissions to view the files attached to this post.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Actions component using Reactor not showing

Post by WillemDH »

Sean,

I tried your updated component, but it doesn't seem to result in any difference. The Reacto chains aren't loaded.
It is also version 1.0.0 while I was at 1.0.2 and it doesn't seem to have the new Reactor custom icon for Reactor tab in host / service details.

Grtz
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Actions component using Reactor not showing

Post by ssax »

Please edit this file:

Code: Select all

/usr/local/nagiosxi/html/includes/components/reactoreventhandler/reactoreventhandler-helpers.inc.php
Around line 556, change this code:

Code: Select all

    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
To this:

Code: Select all

    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($handle, CURLOPT_VERBOSE, true);
    $file = fopen('/tmp/curl.out', 'w+');
    curl_setopt($handle, CURLOPT_STDERR, $file);
Then reopen the page, select the Reactor instance, and then when it tries to load the chains it will output the /tmp/curl.out file, please PM that to me.

Thank you
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Actions component using Reactor not showing

Post by ssax »

Wait, are you sure you used the same one that I uploaded? The version when I re-download it from the post shows it as 1.0.2.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Actions component using Reactor not showing

Post by WillemDH »

Sean,

Seems like I somehow uploaded and installed an old version. i'm nto sure how this happened,, but I tried again and it works nog. See also this thread. I suggest we close this thread. I had a few extra questions in https://support.nagios.com/forum/viewto ... 16&t=36619

Grtz
Nagios XI 5.8.1
https://outsideit.net
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Actions component using Reactor not showing

Post by bwallace »

Thanks, we'll go ahead and lock this thread then.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked