Hello!
About nagios XI environment
1) Linux Distribution and version? Centos7
2) 32 or 64bit? 64bit
3) VMware Image or Manual Install of XI? Manual install
4) Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? SSL
5) NagiosXI version: 5.5.5
I am facing weird issue in BPI where top level group does not go to "Critical" state and stays "OK". This happens when the same group has one sub group added twice. I will provide example with pictures:
This way it works:
This is when it breaks:
Now i am not sure if this is a bug or its not even intended to be used like this. Could you please explain it ?
Nagios BPI groups
Nagios BPI groups
Last edited by atsb on Thu Nov 15, 2018 2:52 am, edited 1 time in total.
Re: Nagios BPI groups
I labbed this up and I was unable to replicate it.
Please PM me this file:
Thank you
Please PM me this file:
Code: Select all
/usr/local/nagiosxi/etc/components/bpi.confRe: Nagios BPI groups
I sent you BPI.conf via message. Interesting thing to keep in mind is that when "TEST-1" and "TEST-2" are both in critical status then top level group will also go in critical status but when there is only one of them critical then top level group stays OK.
Re: Nagios BPI groups
I am able to replicate this on mine, I've reached out to get clarification from the developers. My initial reaction is that it's a bug and it should be showing critical but I need to make sure so I don't give you wrong information.
Re: Nagios BPI groups
We need some more time to figure this out, we are unable to replicate it when we set it up the same manually but we can replicate it if we import your config. It looks like a bug or a misconfiguration issue but I'll need to get you an answer tomorrow after I can dig into it more.
Thank you
Thank you
Re: Nagios BPI groups
Once again, any ideas ? if its not intended to be used like this then i can find a workaround for this but it makes things little more confused.
Re: Nagios BPI groups
I do see that if you remove the RANDOM group it does work as expected as you noted. I wonder if it's excluding it because it's already counted under the other one. Looking at the code now.
Re: Nagios BPI groups
So, If I duplicate the RANDOM group and change it to RANDOM2 and then edit the top Backend group and use the RANDOM2 in there instead of RANDOM it works properly, as a workaround can you do this and let me know if that fixes it for you?
Re: Nagios BPI groups
Yes, creating new group with same members then it works.