No graph data after upgrade Nagios XI to 3.3 from 3.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tipsport
Posts: 3
Joined: Thu Aug 30, 2012 5:19 am

No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by tipsport »

Hi,
i have no new data in graphs. I check the files rights, but all is ok.
i see no errors in perfdataproc.log
no errors in /var/log/httpd/error_log

i have errors in /usr/local/nagios/var/perfdata.log
2012-08-30 12:41:18 [14918] [0] *** Timeout while processing Host: "nemoD" Service: "check_mem"
2012-08-30 12:41:18 [14918] [0] *** process_perfdata.pl terminated on signal ALRM
2012-08-30 13:01:43 [19262] [0] *** TIMEOUT: Timeout after 5 secs. ***
2012-08-30 13:01:43 [19262] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2012-08-30 13:01:43 [19262] [0] *** TIMEOUT: Please check your npcd.cfg
2012-08-30 13:01:43 [19262] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1345868437.perfdata.service-PID-19262 deleted
2012-08-30 13:01:43 [19262] [0] *** Timeout while processing Host: "nemoE" Service: "check_mem"
2012-08-30 13:01:43 [19262] [0] *** process_perfdata.pl terminated on signal ALRM

I am running Nagios on my own Centos 6 64bit - Manual Install
But graph in Graph Explorer is ok.
i make Reset Security Credentials but still nothing......

please help ;-)
Jan
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by mguthrie »

Can you post your file count of performance data?

Code: Select all

cd /usr/local/nagios/var/spool/perfdata
ls -f | wc -l
Also, lets make sure the npcd daemon is running.

Code: Select all

service npcd restart
Do you have any telling errors in /usr/local/nagios/var/npcd.log?
tipsport
Posts: 3
Joined: Thu Aug 30, 2012 5:19 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by tipsport »

Hi,
some files are exist.

root@nagios perfdata]# ls -f
. .. host-perfdata.1346396575 service-perfdata.1346396575
[root@nagios perfdata]# ls -f|wc -l
4

Service ncpd is running smoothly, but for your surety:

[root@nagios perfdata]# service npcd restart
NPCD Stopped.
NPCD started.
[root@nagios perfdata]#
tipsport
Posts: 3
Joined: Thu Aug 30, 2012 5:19 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by tipsport »

in /usr/local/nagios/var/npcd.log are no errors

[root@nagios ~]# tail -n 20 /usr/local/nagios/var/npcd.log
[08-31-2012 10:30:35] NPCD: No more files to process... waiting for 15 seconds
[08-31-2012 10:30:50] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[08-31-2012 10:30:50] NPCD: DEBUG: load 1.010000/10.000000
[08-31-2012 10:30:50] NPCD: ThreadCounter 0/5 File is .
[08-31-2012 10:30:50] NPCD: DEBUG: load 1.010000/10.000000
[08-31-2012 10:30:50] NPCD: ThreadCounter 0/5 File is ..
[08-31-2012 10:30:50] NPCD: DEBUG: load 1.010000/10.000000
[08-31-2012 10:30:50] NPCD: ThreadCounter 0/5 File is host-perfdata.1346401840
[08-31-2012 10:30:50] NPCD: Regular File: host-perfdata.1346401840
[08-31-2012 10:30:50] NPCD: A thread was started on thread_counter = 0
[08-31-2012 10:30:50] NPCD: DEBUG: load 1.010000/10.000000
[08-31-2012 10:30:50] NPCD: ThreadCounter 1/5 File is service-perfdata.1346401840
[08-31-2012 10:30:50] NPCD: Regular File: service-perfdata.1346401840
[08-31-2012 10:30:50] NPCD: A thread was started on thread_counter = 1
[08-31-2012 10:30:50] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[08-31-2012 10:30:50] NPCD: Processing file service-perfdata.1346401840 with ID 140202680121088 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1346401840
[08-31-2012 10:30:50] NPCD: Processing file 'service-perfdata.1346401840'
[08-31-2012 10:30:50] NPCD: Processing file host-perfdata.1346401840 with ID 140202690610944 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1346401840
[08-31-2012 10:30:50] NPCD: Processing file 'host-perfdata.1346401840'
[08-31-2012 10:30:50] NPCD: No more files to process... waiting for 15 seconds
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by lmiltchev »

Can you post the output of the following command?

Code: Select all

ll -t /usr/local/nagios/share/perfdata/
Be sure to check out our Knowledgebase for helpful articles and solutions!
jdagemark
Posts: 2
Joined: Thu Sep 06, 2012 8:49 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by jdagemark »

I just upgraded to 3.3 and have a similar problem. However some graphs works and some works not. the output of 'll -t /usr/local/nagios/share/perfdata/' is

[root@cmd1ge0049 ~]# ll -t /usr/local/nagios/share/perfdata/
total 408
drwxrwxr-x 2 nagios nagios 4096 Sep 6 15:51 host1
drwxrwxr-x 2 nagios nagios 4096 Sep 6 15:51 host2
drwxrwxr-x 2 nagios nagios 4096 Sep 6 15:51 host3
etc....
jdagemark
Posts: 2
Joined: Thu Sep 06, 2012 8:49 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by jdagemark »

I just upgraded a system to 3.3 and have the same problem.

The output of ll -t /usr/local/nagios/share/perfdata/ is

[root@cmd1ge0049 ~]# ll -t /usr/local/nagios/share/perfdata/
total 408
drwxrwxr-x 2 nagios nagios 4096 Sep 6 15:51 host1
drwxrwxr-x 2 nagios nagios 4096 Sep 6 15:51 host2
drwxrwxr-x 2 nagios nagios 4096 Sep 6 15:51 host3
etc...
bgmncwj
Posts: 14
Joined: Thu Sep 06, 2012 8:36 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by bgmncwj »

I seem to have the same issue. /usr/local/nagios/share/perfdata has a directory for each of my hosts with the timestamp of the last time the graph was successfully updated. /usr/local/nagios/var/spool/perfdata doesn't contain any files. No obvious errors in ncpd.log either though it is running. Any suggestions? We're about 20 days away from our trial expiring and are looking to purchase otherwise I'd post in the customers forum.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by mguthrie »

Can you guys post the output from:

Code: Select all

cd /usr/local/nagios/var/spool/xidpe
ls -f | wc -l
bgmncwj
Posts: 14
Joined: Thu Sep 06, 2012 8:36 am

Re: No graph data after upgrade Nagios XI to 3.3 from 3.2

Post by bgmncwj »

That was it, there were tons of files in that directory. Too many actually for the mv command that puts them into the summary file (too many arguments). I believe this was caused originally by some corrupt tables, so I ran /usr/local/nagiosxi/scripts/repairmysql.sh nagios than created a for loop to delete all the files in xidpe (rm * caused the too many argument error). Restarted the server and now everything is graphing again!

Thanks for the kick in the right direction!
Locked