Several graphs not working after manual build/install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Several graphs not working after manual build/install

Post by lynrob »

Recently I installed NagiosXI on a dedicated RHEL 6 server. The installation went smoothly and most things work well. I backed up a NagioXI configuration that I had running on an Centos VM and ported it to my new server. This too, appeared to restore fine but I have noticed that several functions are not working on the new server. Here is a list of what is not working:

1. Network Status Map is blank. ( Hypermap works fine.)
2. Nagvis, Business Process View, and Business Process Impact all say that the URL doesn't exist on my server.
3. host graphs - headers exist but no graphs
4. scalable performance graphs - blank. I can see the gray box where the graph should be and the graph title but the graph itself is missing.

Any ideas? Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Several graphs not working after manual build/install

Post by scottwilkerson »

What NagiosXI versions were the old and new?

Have you verified that you have the same components on both?

Also, you may want to look at this wiki
http://support.nagios.com/wiki/index.ph ... h_Problems
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Several graphs not working after manual build/install

Post by lynrob »

Thanks Scott!
Both servers are running Nagios XI Version 1.7. I am not sure what you mean by components. After reading the link you gave me, I discovered that I don't have a user named "nagiosadmin". Is there a script I can run to properly set up this user? I don't know if this would cause my symptoms but at least it is a place to start. Thanks again.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Several graphs not working after manual build/install

Post by scottwilkerson »

Ok, let's start there.

I am going to assume that you have an account that is an Admin that you are logging in as...

So, login as the Admin user.
Click Admin in the top menu
Go to "Manage Users" (left menu)
Click the pencil icon under actions next to your user.
Change username to nagiosadmin
Make sure "Authorization Level:" is Admin
Click Update User.

This will get our nagiosadmin user back.

Then, in the left menu, toward the bottom you can see "Manage Components", this is where different components are installed and managed. You will need to make sure that your new install has all of the components that the old one had.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Several graphs not working after manual build/install

Post by lynrob »

Sorry Scott!! I misunderstood! I was looking for a user on the Linux server named "nagiosadmin" and there isn't one. There is, however, a Nagois user by that name, so I think we are ok there. As far as the components, I am not sure. The old server has been shutdown and I don't have access currently. I am sure that I didn't add any components to that server so I suspect that the new server is the same. Is there a way for me to confirm that the components necessary for the missing functions are loaded? Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Several graphs not working after manual build/install

Post by scottwilkerson »

I guess without access to the old server I would suggest 2 things.

First, I think it would be a good idea to upgrade to the current version Nagios XI 2011R1.9

After that you will need to install the components that are giving you "URL doesn't exist on my server". Here are some to start:
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
http://assets.nagios.com/downloads/nagi ... _Addon.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Several graphs not working after manual build/install

Post by lynrob »

Thanks to your links, I have made some progress, I now have NagVis and the Business Process Tools working. Unfortunately, Still no improvement on the Network status map. I upgraded to v1.9 and I have loaded/reloaded all components that seemed to have anything to do with graphs, but it didn't help. When I go to this URL, http://<my nagios xi server>/nagiosxi/includes/components/xicore/status.php?show=map all I get is a blank page with tiny globe and tree logos in the upper left corner. If I call status.php with no arguments then I get the Service Status page and it looks fine. There has been no change on the host graphs or scalable performance graphs either. I did find the following error repeated many times for various hosts in the /usr/local/nagios/var/graphapi.log but I am not sure what to make of it:
RAPH ERROR: 2011-12-20T15:23:13-08:00
/usr/bin/rrdtool graph - --width=500 --height=100 --start=-24h --vertical-label "RTA" --title "Ping times for rtr501 / " DEF:var1=/usr/local/nagios/share/perfdata/rtr501/_HOST_.rrd:1:AVERAGE CDEF:sp1=var1,100,/,12,* CDEF:sp2=var1,100,/,30,* CDEF:sp3=var1,100,/,50,* CDEF:sp4=var1,100,/,70,* AREA:var1#FF5C00:"Round Trip Times " AREA:sp4#FF7C00: AREA:sp3#FF9C00: AREA:sp2#FFBC00: AREA:sp1#FFDC00: GPRINT:var1:LAST:"%6.2lf ms last " GPRINT:var1:MAX:"%6.2lf ms max " GPRINT:var1:AVERAGE:"%6.2lf ms avg \n" LINE1:var1#000000:"" HRULE:71.000000#000000:"Warning 71.000000%% " HRULE:106.500000#FF0000:"Critical 106.500000%% "

I checked and the rrdtool is installed:
sudo yum list "*rrd*"
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Installed Packages
rrdtool.x86_64 1.3.8-6.el6 @rhel-x86_64-server-6
rrdtool-perl.x86_64 1.3.8-6.el6 @rhel-x86_64-server-optional-6


Any thoughts on what to try next? BTW, many thanks for all of your help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Several graphs not working after manual build/install

Post by scottwilkerson »

Before we get too far can I have you make sure we don't have any permission problems by following this:
http://assets.nagios.com/downloads/nagi ... ssions.pdf

Thanks.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Several graphs not working after manual build/install

Post by lynrob »

That didn't work. How can I confirm if the rrdtool is working? I think that might be related to this problem. Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Several graphs not working after manual build/install

Post by scottwilkerson »

Can I have you check to see if you can access the map in nagios core directly

Code: Select all

http://<IP_ADDRESS>/nagios/
then go to Map on the left.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart