Network Analyzer Compile on RHEL 7

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
john.kerr
Posts: 3
Joined: Fri Dec 02, 2016 12:35 pm

Network Analyzer Compile on RHEL 7

Post by john.kerr »

Attempting to compile Network Analyzer from source on a relatively clean Redhat 7 system and getting the following error during the make. I was able to get XI to compile and run successfully on the same system. Assistance is appreciated.

rrd_graph.c: In function 'rrd_graph_init':
rrd_graph.c:4169:5: warning: 'pango_cairo_font_map_create_context' is deprecated (declared at /usr/include/pango-1.0/pango/pangocairo.h:93): Use 'pango_font_map_create_context' instead [-Wdeprecated-declarations]
context = pango_cairo_font_map_create_context((PangoCairoFontMap*)fontmap);
^
CC librrd_th_la-rrd_graph_helper.lo
CC librrd_th_la-rrd_xport.lo
CC librrd_th_la-rrd_gfx.lo
CC librrd_th_la-pngsize.lo
CC librrd_th_la-rrd_thread_safe.lo
CCLD librrd_th.la
CC rrd_tool.o
CCLD rrdtool
CC rrdupdate.o
CCLD rrdupdate
CC rrdcached-rrd_daemon.o
CCLD rrdcached
/bin/ld: rrdcached-rrd_daemon.o: undefined reference to symbol 'eval_client'
/usr/lib64/libwrap.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [rrdcached] Error 1
make[2]: Leaving directory `/home/soandso/nagiosna/rrdtool-1.4.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soandso/nagiosna/rrdtool-1.4.9'
make: *** [all] Error 2

===================
INSTALLATION ERROR!
===================
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Network Analyzer Compile on RHEL 7

Post by tgriep »

Installing the Nagios Network Analyzer on to an XI system is not supported as some of the requirements between the products could conflict with themselves so a clean OS install is always recommended.
The error could come from a missing package so can you run the following command as root on the server and post the /tmp/yum.txt file?

Code: Select all

yum list installed >/tmp/yum.txt
Be sure to check out our Knowledgebase for helpful articles and solutions!
john.kerr
Posts: 3
Joined: Fri Dec 02, 2016 12:35 pm

Re: Network Analyzer Compile on RHEL 7

Post by john.kerr »

Thanx for the response. Yum list attached.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Network Analyzer Compile on RHEL 7

Post by tgriep »

You can try and remove these packages to see if it compiles but since Nagios XI is installed on the same system, it may not work and having both on the server is NOT supported.

Code: Select all

yum remove tcp_wrappers-devel
yum remove rrdtool
yum remove rrdtool-perl
yum remove rrdtool-python
If this doesn't work, setup a new clean OS install and try it again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
john.kerr
Posts: 3
Joined: Fri Dec 02, 2016 12:35 pm

Re: Network Analyzer Compile on RHEL 7

Post by john.kerr »

Even though this is for evaluation purposes, since combining both products into a single system is not supported I will go ahead and spin up a new instance and try the compile and install there.
Thank you again for your help.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Network Analyzer Compile on RHEL 7

Post by bwallace »

You're welcome - for your reference, here is the manual install doc for Nagios Network Analyzer.
https://support.nagios.com/kb/article.php?id=99

We'll leave this thread open in the meantime in case you run into any problems with the install on a stand-alone system.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked