Page 1 of 1

tactical summery/host problems not updating in fusion

Posted: Mon Apr 23, 2018 3:29 am
by prakasha
Hi,
in Nagios fusion home page, tactical summery/ overview is not updating. also in dashboard no update in host and services.
nagiosfusion.jpg
please guide

Re: tactical summery/host problems not updating in fusion

Posted: Mon Apr 23, 2018 10:10 am
by lmiltchev
What is the version of Nagios Fusion that you are currently using? What type of servers have you tried fusing - Nagios XI or Nagios Core?

Are you using the correct credentials (and the correct fuse key in these are XI boxes)? Do you see a green system status icon in the upper right corner?

Run the following commands from the command line on the Nagios Fusion server, and show the output in code wraps:

Code: Select all

ps -ef | grep fusion
tail -50 /usr/local/nagiosfusion/var/log/poll_subsys.log
tail -50 /usr/local/nagiosfusion/var/log/auth_subsys.log
sestatus

Re: tactical summery/host problems not updating in fusion

Posted: Tue Apr 24, 2018 12:34 am
by prakasha
Nagios Fusion 4, trying to fuse nagios XI which are spread across 3 different country's. I can see a green system status icon in the upper right corner. Outpu of the commonds as below.
[root@EINPNAGFUSION ~]# ps -ef | grep fusion
nagios 4639 4629 0 10:42 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1
nagios 4641 4639 0 10:42 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60
nagios 4741 4737 0 10:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll >>/usr/local/nagiosfusion/var/log/poll_subsys.log 2>&1
nagios 4742 4739 0 10:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/cmd_subsys.log 2>&1
nagios 4743 4736 0 10:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1
nagios 4744 4740 0 10:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1
nagios 4745 4743 0 10:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60
nagios 4746 4741 1 10:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll
nagios 4747 4742 0 10:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60
nagios 4748 4744 1 10:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60
nagios 4749 4738 0 10:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1
nagios 4750 4749 0 10:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60
root 4793 4670 0 10:43 pts/0 00:00:00 grep fusion

[root@EINPNAGFUSION ~]# tail -50 /usr/local/nagiosfusion/var/log/poll_subsys.log
no output

[root@EINPNAGFUSION ~]# tail -50 /usr/local/nagiosfusion/var/log/auth_subsys.log
2018-04-04 12:40:29[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:32[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:35[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:38[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:41[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:44[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:47[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:51[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:54[s: 2, u: 0] Failed authentication check
2018-04-04 12:40:57[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:00[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:03[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:03[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:06[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:09[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:12[s: 2, u: 0] Failed authentication check
2018-04-04 12:41:15[s: 2, u: 0] Failed authentication check
2018-04-05 11:31:31[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:33[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:34[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:36[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:38[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:39[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:41[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:43[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:44[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:46[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:48[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:49[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:51[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:53[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:54[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:57[s: 3, u: 0] Failed authentication check
2018-04-05 11:31:58[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:00[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:02[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:02[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:04[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:06[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:07[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:09[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:11[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:12[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:14[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:16[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:17[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:19[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:20[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:22[s: 3, u: 0] Failed authentication check
2018-04-05 11:32:24[s: 3, u: 0] Failed authentication check


[root@EINPNAGFUSION ~]# sestatus
SELinux status: disabled

Re: tactical summery/host problems not updating in fusion

Posted: Tue Apr 24, 2018 12:38 pm
by tgriep
Lets reset the data that is polled from the Fused servers and see if they start to update again after 10 to 15 minutes.
To do that, run the following as root on the Fusion server.

Code: Select all

cd /usr/local/nagiosfusion/scripts
./truncate_polled.php

If after 15 minutes, if you do not see any status updates, run the following commands as root and post the post the output.

Code: Select all

df -h
df -i
chage -l nagios
Then, Can you run the following as root on the Fusion server and post the /tmp/varlog.tgz file?

Code: Select all

tar cvfz /tmp/varlog.tgz /usr/local/nagiosfusion/var/log/*.log
Thanks