Page 1 of 1

NagVis integration - graphviz throwing up error(?)

Posted: Wed Sep 21, 2011 2:35 pm
by phillip.boyce
Hey guys,

After fixing my initial NagiosXI installation I can now hit it via browser, yay! So, now I wanted to integarte NagVis into NagiosXI. I followed the PDF about integrating NagVis with NagiosXI. I followed the instructions to the letter and when I ran the script it looked really good until the end here (see bold), that's what concerns me. Not being a big Linux guy I wasn't sure how to interpret those lines below. Is something wrong with GraphViz? Also, if this is a problem can I do a yum update graphviz--I wasn't sure if NagiosXI supported the latest version of Graphviz with is around 2.8x I believe.

Any feedback on the "error" below? What is that actually telling me?

=====================================================================================================
Package Arch Version Repository Size
=====================================================================================================
Installing:
graphviz i686 2.26.0-4.el6 base 971 k

Transaction Summary
=====================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 971 k
Installed size: 2.4 M
Downloading Packages:
graphviz-2.26.0-4.el6.i686.rpm | 971 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
graphviz-gd-2.26.0-4.el6.i686 has missing requires of /usr/bin/dot
graphviz-gd-2.26.0-4.el6.i686 has missing requires of /usr/bin/dot
graphviz-gd-2.26.0-4.el6.i686 has missing requires of graphviz = ('0', '2.26.0', '4.el6')
graphviz-gd-2.26.0-4.el6.i686 has missing requires of libcdt.so.4
graphviz-gd-2.26.0-4.el6.i686 has missing requires of libgraph.so.4
graphviz-gd-2.26.0-4.el6.i686 has missing requires of libgvc.so.5
graphviz-gd-2.26.0-4.el6.i686 has missing requires of libpathplan.so.4
graphviz-gd-2.26.0-4.el6.i686 has missing requires of libxdot.so.4

Installing : graphviz-2.26.0-4.el6.i686 1/1

Installed:
graphviz.i686 0:2.26.0-4.el6

Complete!

Re: NagVis integration - graphviz throwing up error(?)

Posted: Thu Sep 22, 2011 11:55 am
by nscott
It looks like its missing some dependent libraries, try calling this:

yum install gd gd-devel glib glibc-devel graphviz graphviz-gd

Are you running a 64 bit system?

Re: NagVis integration - graphviz throwing up error(?)

Posted: Thu Sep 22, 2011 2:08 pm
by phillip.boyce
I ran the command you gave me and all the packages were the latest version and installed except for glib.i686 1:1.2.10-33.e16.rf which was downloaded and installed fine. I then ran the NagiosXI-Nagvis.sh script again and am still getting the same 8 lines of graphviz... "has missing requires of" (see initial post).

Is this going to cause problems? If so, what else can I do to try and resolve this? Thanks!

Re: NagVis integration - graphviz throwing up error(?)

Posted: Fri Sep 23, 2011 11:59 am
by nscott
phillip,

Its says that the graphviz is only used for a specific feature and is optional, so if you want to go ahead and see if you get the functionality you're looking for thats an option.

I cannot reproduce your problem on my system.

Perhaps its zlib?

yum install zlib zlib-devel libpng libpng-devel