Nagios XIR1.1 - Perf Graphs not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matarese
Posts: 6
Joined: Wed Mar 05, 2014 8:15 am

Nagios XIR1.1 - Perf Graphs not working

Post by matarese »

Hello!

We installed the new Nagios release yesterday. Nagios XI 2014R1.1
Latest Available Version:
Installed Version: 2014R1.1
Last Update Check: 2014-06-11 05:59:40
Today morning, I noticed, the performance graphs are not showing nothing all host, and all services.
I checked the npcd.log file:
[06-13-2014 10:37:06] NPCD: WARN: MAX load reached: load 34.310000/10.000000 at i=1
[06-13-2014 10:37:21] NPCD: WARN: MAX load reached: load 39.970000/10.000000 at i=1
[06-13-2014 10:37:36] NPCD: WARN: MAX load reached: load 36.650000/10.000000 at i=1

And I checked the perfdata.log file:
2014-06-13 07:24:15 [3430] [0] *** TIMEOUT: Please check your npcd.cfg
2014-06-13 07:24:15 [3430] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1402570742.perfdata.service-PID-3430 deleted
2014-06-13 07:24:15 [3430] [0] *** Timeout while processing Host: "HOST_NAME" Service: "SERVICE_NAME"
2014-06-13 07:24:15 [3430] [0] *** process_perfdata.pl terminated on signal ALRM

Any ideas?

Thx.

p.s.: sorry, but my English is very poor...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XIR1.1 - Perf Graphs not working

Post by abrist »

The FAQ as a few sections for resolviong those common issues:
Perfdata Timeout
NPCD Load Threshold
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.
matarese
Posts: 6
Joined: Wed Mar 05, 2014 8:15 am

Re: Nagios XIR1.1 - Perf Graphs not working

Post by matarese »

Thanks the answers, but I try every step of this two page and no solution...
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios XIR1.1 - Perf Graphs not working

Post by sreinhardt »

What changes did you attempt that did not appear to resolve the issue? We need to know exactly what you attempted before we can advise other changes.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
matarese
Posts: 6
Joined: Wed Mar 05, 2014 8:15 am

Re: Nagios XIR1.1 - Perf Graphs not working

Post by matarese »

Nothing.
Import hosts and service file-s (host: 1000-2500 service 4xxx-9xxx).
Too many file-s????
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XIR1.1 - Perf Graphs not working

Post by tmcdonald »

I am a bit confused by your answer. We need to know what commands you ran and whether or not they worked. Did you follow the guides that abrist posted?
Former Nagios employee
matarese
Posts: 6
Joined: Wed Mar 05, 2014 8:15 am

Re: Nagios XIR1.1 - Perf Graphs not working

Post by matarese »

Yes, I followed the steps, but my timeout and my threshold number is greater.
When I finished, I restart the npcd service:
service npcd start
DEBUG: Config File = /usr/local/nagios/etc/pnp/npcd.cfg
CONFIG_OPT_LOGTYPE = file
CONFIG_OPT_LOGFILE = /usr/local/nagios/var/npcd.log
CONFIG_OPT_LOGFILESIZE = 10485760
CONFIG_OPT_LOGLEVEL = -1
CONFIG_OPT_SCANDIR = /usr/local/nagios/var/spool/perfdata/
CONFIG_OPT_RUNCMD = /usr/local/nagios/libexec/process_perfdata.pl
CONFIG_OPT_RUNCMD_ARG = -b
CONFIG_OPT_MAXTHREADS = 5
CONFIG_OPT_LOAD = 250.0
CONFIG_OPT_USER = nagios
CONFIG_OPT_GROUP = nagios
CONFIG_OPT_PIDFILE = /usr/local/nagiosxi/var/subsys/npcd.pid
CONFIG_OPT_SLEEPTIME = 15
CONFIG_OPT_IDENTMYSELF = (null)
---------------------------
DEBUG: load_threshold is enabled - ('250.000000')
NPCD started.
matarese
Posts: 6
Joined: Wed Mar 05, 2014 8:15 am

Re: Nagios XIR1.1 - Perf Graphs not working

Post by matarese »

oooooh.
I noticed, /usr/local/nagios/var/spool/perfdate folder size is huge.
I tried to check the files in the folder, but the answer is very slow.
When I open the folder finally, I find thousands file *service, *host etc.
I tried to stop every service, then deleted every files in this library.
Started services, and few minutes later the performance graphs are showing all host, and all services (2500-9500)...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XIR1.1 - Perf Graphs not working

Post by slansing »

Yep, that is a common issue if problems occur in processing perf data. That directory, along with it's neighboring "XIDPE" directory can get clogged and your perfdata will cease being processed. In some cases, if there are just too many files there to be processed you will need to remove them to jump start perfdata processing, sounds like that is what happened here. Is everything coming through fine? Are we good to close the thread?
matarese
Posts: 6
Joined: Wed Mar 05, 2014 8:15 am

Re: Nagios XIR1.1 - Perf Graphs not working

Post by matarese »

Thank you, everything works fine.
Locked