Page 1 of 1
Never loads the data from Network Analyzer inside NagiosXI
Posted: Fri Sep 26, 2014 9:42 am
by PJCR
Never loads the data from Network Analyzer inside NagiosX
Attachment where I explain all
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 11:02 am
by sreinhardt
What version of nagios xi, network analyzer and NNA component do you have?
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 11:14 am
by PJCR
NagiosXI Last Updated: 2014-09-26 09:54:12 2014R1.4
Nagios Network Analyzer 2014-06-17• 2014R1.9
Nagios Network Analyzer Component
Allows you to view Nagios Network Analyzer reports in Nagios XI and allows Nagios Network Analyzer to dynamically add hosts and services.
Version: 1.2 Date: 04/21/2014 Author: Jacob Omann, Nagios Enterprises, LLC
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 11:22 am
by sreinhardt
Well that all looks correct. Have you changed the source name recently within NNA?
try the following and send back the output:
*All of this is on the XI server
tail -f /var/log/httpd/error_log > /tmp/http_error
visit a host\service's NNA tab and let the page attempt to load for at least 30 seconds
break the tail with ctrl+c and send us /tmp/http_error
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 11:46 am
by PJCR
root@sjonagiosxi tmp]# vi http_error
[Fri Sep 26 10:20:33 2014] [error] [client 172.30.253.162] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... d=gc7c6ffk
[Fri Sep 26 10:20:33 2014] [error] [client 172.30.253.162] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... d=gc7c6ffk
[Fri Sep 26 10:20:39 2014] [error] [client 172.30.12.163] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... ard.php?&=
[Fri Sep 26 10:20:39 2014] [error] [client 172.30.12.163] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... ard.php?&=
[Fri Sep 26 10:20:46 2014] [error] [client 172.30.12.163] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... ard.php?&=
[Fri Sep 26 10:20:47 2014] [error] [client 172.30.12.163] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... ard.php?&=
[Fri Sep 26 10:20:49 2014] [error] [client 172.30.253.162] PHP Notice: Use of undefined constant Hostgroup - assumed 'Hostgroup' in /usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php on line 214, referer:
http://172.30.14.44/nagiosxi/dashboards ... d=gc7c6ffk
@
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 2:14 pm
by lmiltchev
OK, let's step back.
When you configure the Nagios Network Analyzer Component in Nagios XI, you need to enter the API key (not the NRPD token!). To obtain the API key, log in the Nagios Network Analyzer, and click on the username in the upper-right corner. Copy the key and paste it in the "API Key" field under the "Nagios Network Analyzer Component" settings in XI, then click on "Apply Settings".
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 4:14 pm
by PJCR
Thaks....solved

Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 4:15 pm
by PJCR
lmiltchev wrote:OK, let's step back.
When you configure the Nagios Network Analyzer Component in Nagios XI, you need to enter the API key (not the NRPD token!). To obtain the API key, log in the Nagios Network Analyzer, and click on the username in the upper-right corner. Copy the key and paste it in the "API Key" field under the "Nagios Network Analyzer Component" settings in XI, then click on "Apply Settings".
Re: Never loads the data from Network Analyzer inside Nagios
Posted: Fri Sep 26, 2014 4:16 pm
by tmcdonald
Great! I'll be closing this thread now, but feel free to open another if you need anything in the future!