Page 1 of 2

No graph data after upgrade Nagios XI to 3.3 from 3.2

Posted: Thu Aug 30, 2012 7:02 am
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

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

Posted: Thu Aug 30, 2012 9:44 am
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?

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

Posted: Fri Aug 31, 2012 2:05 am
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]#

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

Posted: Fri Aug 31, 2012 3:32 am
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

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

Posted: Fri Aug 31, 2012 11:04 am
by lmiltchev
Can you post the output of the following command?

Code: Select all

ll -t /usr/local/nagios/share/perfdata/

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

Posted: Thu Sep 06, 2012 8:52 am
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....

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

Posted: Thu Sep 06, 2012 9:00 am
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...

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

Posted: Thu Sep 06, 2012 10:22 am
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.

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

Posted: Thu Sep 06, 2012 11:20 am
by mguthrie
Can you guys post the output from:

Code: Select all

cd /usr/local/nagios/var/spool/xidpe
ls -f | wc -l

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

Posted: Thu Sep 06, 2012 12:14 pm
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!