Nagios Fusion no present data from Nagios XI

This support forum board is for questions relating to Nagios Fusion.
richelieu
Posts: 24
Joined: Mon Dec 07, 2015 6:04 am

Nagios Fusion no present data from Nagios XI

Post by richelieu »

Hello there,
we have installed Fusion and 3 Nagios XI servers. Two of them are located within the same data center but remaining one (in future more) is located in Africa with bad network connection. Nevertheless African Nagios is integrated and is reachable. If I woudl like to put any data from this Nagios into Fusion (e.g. host group, specific host, service, etc..) it works and data are updated (CPU usage, ...) but if I would like to have integrated view - Tactical overview or Tactical summary there are NO data from this African Nagios - just 0s and information that engines are off (which is not true because Nagios is working as expected).

So in brief mode:
- Fusion - 2014R1.1
- Nagios XI in the same data centre - Nagios XI 5.2.9
- Nagios XI in Africa - Nagios XI 2014
- Fusion is able to have all data inclulding Tactical * from Nagios XI 5.2.9
- Fusion is able to reach and update partial data (host groups, host, services) from African Nagios
- Fusion is not able to get data from African Nagios within Tactical * view neither get information related to monitoring engine status

Do you have any idea ?

Thanks.
marek
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Fusion no present data from Nagios XI

Post by ssax »

Please edit this file:

Code: Select all

/usr/local/nagiosfusion/cron/poller.php
Around line 41, change this code:

Code: Select all

$max_time=275;  //max time is 5 mn
To this:

Code: Select all

$max_time=600; //max time is 10 mn
Then wait 10 minutes and test it to see if the issue is resolved and let us know the results.


Thank you
richelieu
Posts: 24
Joined: Mon Dec 07, 2015 6:04 am

Re: Nagios Fusion no present data from Nagios XI

Post by richelieu »

Hello,
thank you for advise. I did the modification, wait one day, reboot machine, still nothing.

Attaching screenshot to have a close look.

Thank you again.
Regards,
marek
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Fusion no present data from Nagios XI

Post by tmcdonald »

What sort of delay is there between Fusion and the remote XI machine in Africa? It is possible there is a long enough timeout that the poller is exiting before it can get any of the data.
Former Nagios employee
richelieu
Posts: 24
Joined: Mon Dec 07, 2015 6:04 am

Re: Nagios Fusion no present data from Nagios XI

Post by richelieu »

Hello,

it is important to say that if I get specific hostgroup from African Nagios there is no problem to get valid and actual data imediately. Only within views I described above are no data.

Nevertheless communication flow and response time is in hundreds of miliseconds.

Thanks for any ideas.
Regards,
marek
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios Fusion no present data from Nagios XI

Post by avandemore »

In Fusion > Configure > Fused Server Credentials > [Africa XI Instance]

Please disregard Server Status -> OK, it almost always says OK even when it's not. This is a known issue.

Run the following command:

Code: Select all

# tail -F /usr/local/nagiosfusion/var/poller.log
Re-enter the auth credentials, click Update Settings, and wait for the 10 minutes. If it doesn't work then, please update this thread with the output of that command.
Previous Nagios employee
richelieu
Posts: 24
Joined: Mon Dec 07, 2015 6:04 am

Re: Nagios Fusion no present data from Nagios XI

Post by richelieu »

Hi there,
sorry for my long delay. I have been sick and some Christmas vacation...

Nevertheless we found something interesting. When we changed Configuration of Nagios from Nagios XI to Nagios core to gather results in Fusion it started to work imediatelly. And if we revert it back to Nagios XI - no chance.

I am not going to investigate why it happen because the most recent Fusion build (is old as my grandma) and not related to Nagios XI version (2014 vs XI 5). So we are using setting up as Core and OK right now.


What is actual trouble which has HUGE impact is bandwidth usage of Fusion to gather results from African Nagios instances. Do you have idea about optimizing / compressing?

Thanks a lot.
marek
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios Fusion no present data from Nagios XI

Post by avandemore »

Maybe a compressed VPN tunnel? Would gain at least something. In XI vs Core API situation, I would imagine XI API is at least a bit more efficient in terms of bandwidth, but we have no data on that.
Previous Nagios employee
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios Fusion no present data from Nagios XI

Post by avandemore »

After speaking with developers, the using the Core API currently may be the best solution for not so great internet connections.

Future versions of Fusion which are in development now will have a greater ability to be efficient and account for better data transport.
Previous Nagios employee
richelieu
Posts: 24
Joined: Mon Dec 07, 2015 6:04 am

Re: Nagios Fusion no present data from Nagios XI

Post by richelieu »

Perfect, thanks for confirmation. When we can expect new version release?

And - my second part - if someone can help me with data transfer optimizing over WAN lines between Fusion and Nagios.

I found there is loaded mod_deflate module in apache but not used. So I activate it in http.conf. Is it correct approach to start compressing data between Fusion and Nagios XI?

Thank you.
marek
Locked