Performance Graphs not Displaying

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Performance Graphs not Displaying

Post by bdouglass »

I'm having a hard time debugging the issue with performance graphs not displaying. I have the setting turned on for each relevant service, and check results are returning the connect info (as seen in the advanced tab). I've been through the FAQ and searched the forum, but have not fund anything that works. It's almost as if the rrd files are being created but nagiosxi can't find them.

I'm running 2012R1.3 on 32-bit RHEL 6, manual install.

The system profile info is listed below. Thanks in advance for any help you can provide.

Bill Douglass
Austin Independent School District


Nagios XI Installation Profile

System:
Nagios XI Version : 2012R1.3
nagiosxi.austinisd.org 2.6.32-358.0.1.el6.i686 i686
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Server Name: nagiosxi.austinisd.org
Server Address: 10.234.121.9
Server Port: 443
Date/Time
PHP Timezone: America/Chicago
PHP Time: Thu, 07 Mar 2013 13:43:58 -0600
System Time: Thu, 07 Mar 2013 13:43:58 -0600
Nagios XI Data
nagios (pid 5779) is running...
NPCD running (pid 19130).
ndo2db (pid 2263) is running...
CPU Load 15: 0.82
Total Hosts: 594
Total Services: 2472
Function 'get_base_uri' returns: https://nagiosxi.austinisd.org/nagiosxi/
Function 'get_base_url' returns: https://nagiosxi.austinisd.org/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://nagiosxi.austinisd.org/nagiosxi ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: https://localhost/nagiosxi/backend/
Ping Test localhost
Running:

/bin/ping -c 3 localhost 2>&1

PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.050 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.047 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.036/0.044/0.050/0.008 ms
Test wget To locahost
WGET From URL: http://localhost/nagiosql/index.php
Running:

/usr/bin/wget http://localhost/nagiosql/index.php

--2013-03-07 13:44:00-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'

0K ..... 100% 351M=0s

2013-03-07 13:44:00 (351 MB/s) - `/tmp/nagiosql_index.tmp' saved [5259/5259]
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Performance Graphs not Displaying

Post by scottwilkerson »

can you run the following

Code: Select all

ll /usr/local/nagios/var/spool/perfdata|wc -l
ll /usr/local/nagios/var/spool/xidpe|wc -l
service npcd status
tail /usr/local/nagios/var/npcd.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Re: Performance Graphs not Displaying

Post by bdouglass »

Here it is:

Code: Select all

ll /usr/local/nagios/var/spool/perfdata|wc -l
3

ll /usr/local/nagios/var/spool/xidpe|wc -l
777024

service npcd status
NPCD running (pid 19130).

tail /usr/local/nagios/var/npcd.log
[03-07-2013 13:57:44] NPCD: ThreadCounter 0/5 File is .
[03-07-2013 13:57:44] NPCD: DEBUG: load 1.330000/20.000000
[03-07-2013 13:57:44] NPCD: ThreadCounter 0/5 File is ..
[03-07-2013 13:57:44] NPCD: No more files to process... waiting for 15 seconds
[03-07-2013 13:57:59] NPCD: Found 2 files in /usr/local/nagios/var/spool/perfdata/
[03-07-2013 13:57:59] NPCD: DEBUG: load 1.180000/20.000000
[03-07-2013 13:57:59] NPCD: ThreadCounter 0/5 File is .
[03-07-2013 13:57:59] NPCD: DEBUG: load 1.180000/20.000000
[03-07-2013 13:57:59] NPCD: ThreadCounter 0/5 File is ..
[03-07-2013 13:57:59] NPCD: No more files to process... waiting for 15 seconds
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance Graphs not Displaying

Post by abrist »

You have a massive number of files built up (700,000+) in /usr/local/nagios/var/spool/xidpe.

If you do not mind loosing the built-up historical data, you can follow the FAQ on clearing out the xidpe folder to return the service to standard functionality:
http://support.nagios.com/wiki/index.ph ... ve_No_Data

If you wish to preserve the data, stay tuned. . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Re: Performance Graphs not Displaying

Post by bdouglass »

That fixed it! Thank you very much.

Bill D.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance Graphs not Displaying

Post by abrist »

You are most welcome.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked