Never loads the data from Network Analyzer inside NagiosXI

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
PJCR
Posts: 16
Joined: Wed Jun 25, 2014 9:32 am

Never loads the data from Network Analyzer inside NagiosXI

Post by PJCR »

Never loads the data from Network Analyzer inside NagiosX
Attachment where I explain all
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Never loads the data from Network Analyzer inside Nagios

Post by sreinhardt »

What version of nagios xi, network analyzer and NNA component do you have?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
PJCR
Posts: 16
Joined: Wed Jun 25, 2014 9:32 am

Re: Never loads the data from Network Analyzer inside Nagios

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Never loads the data from Network Analyzer inside Nagios

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
PJCR
Posts: 16
Joined: Wed Jun 25, 2014 9:32 am

Re: Never loads the data from Network Analyzer inside Nagios

Post 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
@
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Never loads the data from Network Analyzer inside Nagios

Post 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".
Be sure to check out our Knowledgebase for helpful articles and solutions!
PJCR
Posts: 16
Joined: Wed Jun 25, 2014 9:32 am

Re: Never loads the data from Network Analyzer inside Nagios

Post by PJCR »

Thaks....solved :D :D
PJCR
Posts: 16
Joined: Wed Jun 25, 2014 9:32 am

Re: Never loads the data from Network Analyzer inside Nagios

Post 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".
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Never loads the data from Network Analyzer inside Nagios

Post by tmcdonald »

Great! I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked