Page 1 of 2

Nagios XI 5 - Double quotes in quick actions

Posted: Tue Oct 20, 2015 6:41 am
by WillemDH
Hello,

Just noticed some hosts with double quotes in the quick actions. I did not have time yet to investigate, probably some action causing this. Check the screenshots.

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Tue Oct 20, 2015 12:32 pm
by lmiltchev
I believe this is a bug. I've seen this behavior before on one of my test boxes but totally forgot about it. Now, once you reminded me :), I started digging into it and I was able to recreate it. It seems like that if you have a host added to more than one hostgroup, the double quotes show us under the "Quick Actions" menu (one pair per each "extra" hostgroup). I am going to file an internal bug report after doing some more testing. I am curious to see what you are going to find out. Can you confirm that multiple hostgroup assignments cause the issue in your environment?

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Wed Oct 21, 2015 1:18 am
by WillemDH
Ludmill,

You are correct. It has something to with the number of host / service groups the current detail item is in.

Grtz

Willem

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Wed Oct 21, 2015 11:33 am
by lmiltchev
If you are willing to give this "patched" component a try, save the old (original) component, download the zip file below. Don't unzip it. Install it as any other component:

Admin->Manage Components->Browse->actions.zip->Upload & Install
actions.zip
Note: I would try it first in a test environment as this hasn't been thoroughly tested. Let me know if this helped.

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Thu Oct 22, 2015 2:37 am
by WillemDH
Ludmill,

I can confirm this is working on my QA server.

Grtz

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Thu Oct 22, 2015 10:36 am
by lmiltchev
Thanks for the feedback, WillemDH! After doing some more testing, we will push it to the next release. Keep my fingers crossed. :)

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Fri Oct 23, 2015 1:39 pm
by BanditBBS
FYI - I have the quote issue and have no custom actions setup. I tried this component anyway and it made no difference.

I disabled actions and the garbage goes away, so it def is the component causing them.

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Fri Oct 23, 2015 2:23 pm
by ssax
Thanks for reporting that Bandit, looks like there's a fix above and will hopefully be in next version.

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Fri Oct 23, 2015 2:44 pm
by BanditBBS
ssax wrote:Thanks for reporting that Bandit, looks like there's a fix above and will hopefully be in next version.
ssax - Yes, I said I tried the fix and it didn't resolve it for me(I may have worded that poorly in my previous post).

Re: Nagios XI 5 - Double quotes in quick actions

Posted: Mon Oct 26, 2015 9:34 am
by lmiltchev
Bandit, initially I was able to recreate this bug by adding a host to more than one hostgroup. This was fixed by our devs. However, I never tried adding a service to multiple servicesgroups... Now that I did, the bug is back. :(
Do you have any services added to multiple servicegroups by chance? I wonder if this is what is causing your issue. Anyway, I will be reopening the bug report. Thanks!