Page 1 of 1
Eval Nagios XI and graph problem.
Posted: Mon Feb 06, 2012 8:19 am
by hra.leinonen
Hi all,
I just installed Nagios XI 2011R1.9 eval (tar.gz) and i cannot see any graphs. I can see
that /var/lib/mrtg is updating, but Service Status Detail->Performance graphs says
"No performance graphs were found for this service.". Also when i delete host i still see
all the configuration in /etc/mrtg/mrtg.cfg file. Directory /usr/local/nagios/share/perfdata
includes only "localhost" and not hosts what i have been added.
I have also done everything what i have seen in FAQ.
Br,
Ville Leinonen
Re: Eval Nagios XI and graph problem.
Posted: Mon Feb 06, 2012 10:20 am
by lmiltchev
How did you add your hosts/services? What wizard did you use, etc.?
When you go to: "Home->Details->Service Detail-><your_service>->Advanced tab" do you see anything under "Advanced Status Details->Performance Data:"?
Re: Eval Nagios XI and graph problem.
Posted: Mon Feb 06, 2012 12:04 pm
by hra.leinonen
Hi,
I used "Network Switch / Router" Wizard. When i go to look one of the interface is see this:
Performance Data: in=.254531Mb/s;20;50 out=.241285Mb/s;20;50 so there is data.
Br,
Ville
Re: Eval Nagios XI and graph problem.
Posted: Mon Feb 06, 2012 2:29 pm
by nscott
In the /usr/local/nagios/var/npcd.log and /usr/local/nagios/var/perfdata.log do you see anything about timeouts or stopping due to load? Also how much time have you given it, it takes about 10 minutes before you'll start getting real graph data to graph.
Re: Eval Nagios XI and graph problem.
Posted: Mon Feb 06, 2012 3:38 pm
by hra.leinonen
Well there is no file called /usr/local/nagios/var/perfdata.log. It seems that NPCD gets term signal, but i dont understand why:
-------- snip ---------
[02-06-2012 12:33:46] NPCD: Processing file service-perfdata.1328524408 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524408
[02-06-2012 12:33:46] NPCD: Processing file 'service-perfdata.1328524408'
[02-06-2012 12:33:46] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:34:01] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[02-06-2012 12:34:01] NPCD: DEBUG: load 0.220000/10.000000
[02-06-2012 12:34:01] NPCD: ThreadCounter 0/5 File is .
[02-06-2012 12:34:01] NPCD: DEBUG: load 0.220000/10.000000
[02-06-2012 12:34:01] NPCD: ThreadCounter 0/5 File is ..
[02-06-2012 12:34:01] NPCD: DEBUG: load 0.220000/10.000000
[02-06-2012 12:34:01] NPCD: ThreadCounter 0/5 File is host-perfdata.1328524423
[02-06-2012 12:34:01] NPCD: Regular File: host-perfdata.1328524423
[02-06-2012 12:34:01] NPCD: A thread was started on thread_counter = 0
[02-06-2012 12:34:01] NPCD: DEBUG: load 0.220000/10.000000
[02-06-2012 12:34:01] NPCD: ThreadCounter 1/5 File is service-perfdata.1328524423
[02-06-2012 12:34:01] NPCD: Regular File: service-perfdata.1328524423
[02-06-2012 12:34:01] NPCD: A thread was started on thread_counter = 1
[02-06-2012 12:34:01] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-06-2012 12:34:01] NPCD: Processing file host-perfdata.1328524423 with ID 139820811589376 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1328524423
[02-06-2012 12:34:01] NPCD: Processing file 'host-perfdata.1328524423'
[02-06-2012 12:34:01] NPCD: Processing file service-perfdata.1328524423 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524423
[02-06-2012 12:34:01] NPCD: Processing file 'service-perfdata.1328524423'
[02-06-2012 12:34:01] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:34:16] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[02-06-2012 12:34:16] NPCD: DEBUG: load 0.170000/10.000000
[02-06-2012 12:34:16] NPCD: ThreadCounter 0/5 File is .
[02-06-2012 12:34:16] NPCD: DEBUG: load 0.170000/10.000000
[02-06-2012 12:34:16] NPCD: ThreadCounter 0/5 File is ..
[02-06-2012 12:34:16] NPCD: DEBUG: load 0.170000/10.000000
[02-06-2012 12:34:16] NPCD: ThreadCounter 0/5 File is host-perfdata.1328524438
[02-06-2012 12:34:16] NPCD: Regular File: host-perfdata.1328524438
[02-06-2012 12:34:16] NPCD: A thread was started on thread_counter = 0
[02-06-2012 12:34:16] NPCD: DEBUG: load 0.170000/10.000000
[02-06-2012 12:34:16] NPCD: Processing file host-perfdata.1328524438 with ID 139820811589376 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1328524438
[02-06-2012 12:34:16] NPCD: ThreadCounter 1/5 File is service-perfdata.1328524438
[02-06-2012 12:34:16] NPCD: Processing file 'host-perfdata.1328524438'
[02-06-2012 12:34:16] NPCD: Regular File: service-perfdata.1328524438
[02-06-2012 12:34:16] NPCD: A thread was started on thread_counter = 1
[02-06-2012 12:34:16] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-06-2012 12:34:16] NPCD: Processing file service-perfdata.1328524438 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524438
[02-06-2012 12:34:16] NPCD: Processing file 'service-perfdata.1328524438'
[02-06-2012 12:34:16] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:34:31] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[02-06-2012 12:34:31] NPCD: DEBUG: load 0.130000/10.000000
[02-06-2012 12:34:31] NPCD: ThreadCounter 0/5 File is .
[02-06-2012 12:34:31] NPCD: DEBUG: load 0.130000/10.000000
[02-06-2012 12:34:31] NPCD: ThreadCounter 0/5 File is ..
[02-06-2012 12:34:31] NPCD: DEBUG: load 0.130000/10.000000
[02-06-2012 12:34:31] NPCD: ThreadCounter 0/5 File is host-perfdata.1328524453
[02-06-2012 12:34:31] NPCD: Regular File: host-perfdata.1328524453
[02-06-2012 12:34:31] NPCD: A thread was started on thread_counter = 0
[02-06-2012 12:34:31] NPCD: DEBUG: load 0.130000/10.000000
[02-06-2012 12:34:31] NPCD: Processing file host-perfdata.1328524453 with ID 139820811589376 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1328524453
[02-06-2012 12:34:31] NPCD: ThreadCounter 1/5 File is service-perfdata.1328524453
[02-06-2012 12:34:31] NPCD: Processing file 'host-perfdata.1328524453'
[02-06-2012 12:34:31] NPCD: Regular File: service-perfdata.1328524453
[02-06-2012 12:34:31] NPCD: A thread was started on thread_counter = 1
[02-06-2012 12:34:31] NPCD: Processing file service-perfdata.1328524453 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524453
[02-06-2012 12:34:31] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-06-2012 12:34:31] NPCD: Processing file 'service-perfdata.1328524453'
[02-06-2012 12:34:31] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:34:46] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[02-06-2012 12:34:46] NPCD: DEBUG: load 0.100000/10.000000
[02-06-2012 12:34:46] NPCD: ThreadCounter 0/5 File is .
[02-06-2012 12:34:46] NPCD: DEBUG: load 0.100000/10.000000
[02-06-2012 12:34:46] NPCD: ThreadCounter 0/5 File is ..
[02-06-2012 12:34:46] NPCD: DEBUG: load 0.100000/10.000000
[02-06-2012 12:34:46] NPCD: ThreadCounter 0/5 File is host-perfdata.1328524468
[02-06-2012 12:34:46] NPCD: Regular File: host-perfdata.1328524468
[02-06-2012 12:34:46] NPCD: A thread was started on thread_counter = 0
[02-06-2012 12:34:46] NPCD: DEBUG: load 0.100000/10.000000
[02-06-2012 12:34:46] NPCD: Processing file host-perfdata.1328524468 with ID 139820811589376 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1328524468
[02-06-2012 12:34:46] NPCD: ThreadCounter 1/5 File is service-perfdata.1328524468
[02-06-2012 12:34:46] NPCD: Processing file 'host-perfdata.1328524468'
[02-06-2012 12:34:46] NPCD: Regular File: service-perfdata.1328524468
[02-06-2012 12:34:46] NPCD: A thread was started on thread_counter = 1
[02-06-2012 12:34:46] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-06-2012 12:34:46] NPCD: Processing file service-perfdata.1328524468 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524468
[02-06-2012 12:34:46] NPCD: Processing file 'service-perfdata.1328524468'
[02-06-2012 12:34:46] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:35:01] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[02-06-2012 12:35:01] NPCD: DEBUG: load 0.080000/10.000000
[02-06-2012 12:35:01] NPCD: ThreadCounter 0/5 File is .
[02-06-2012 12:35:01] NPCD: DEBUG: load 0.080000/10.000000
[02-06-2012 12:35:01] NPCD: ThreadCounter 0/5 File is ..
[02-06-2012 12:35:01] NPCD: DEBUG: load 0.080000/10.000000
[02-06-2012 12:35:01] NPCD: ThreadCounter 0/5 File is host-perfdata.1328524483
[02-06-2012 12:35:01] NPCD: Regular File: host-perfdata.1328524483
[02-06-2012 12:35:01] NPCD: A thread was started on thread_counter = 0
[02-06-2012 12:35:01] NPCD: DEBUG: load 0.080000/10.000000
[02-06-2012 12:35:01] NPCD: ThreadCounter 1/5 File is service-perfdata.1328524483
[02-06-2012 12:35:01] NPCD: Regular File: service-perfdata.1328524483
[02-06-2012 12:35:01] NPCD: A thread was started on thread_counter = 1
[02-06-2012 12:35:01] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-06-2012 12:35:01] NPCD: Processing file service-perfdata.1328524483 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524483
[02-06-2012 12:35:01] NPCD: Processing file 'service-perfdata.1328524483'
[02-06-2012 12:35:01] NPCD: Processing file host-perfdata.1328524483 with ID 139820811589376 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1328524483
[02-06-2012 12:35:01] NPCD: Processing file 'host-perfdata.1328524483'
[02-06-2012 12:35:02] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:35:17] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[02-06-2012 12:35:17] NPCD: DEBUG: load 0.060000/10.000000
[02-06-2012 12:35:17] NPCD: ThreadCounter 0/5 File is .
[02-06-2012 12:35:17] NPCD: DEBUG: load 0.060000/10.000000
[02-06-2012 12:35:17] NPCD: ThreadCounter 0/5 File is ..
[02-06-2012 12:35:17] NPCD: DEBUG: load 0.060000/10.000000
[02-06-2012 12:35:17] NPCD: ThreadCounter 0/5 File is host-perfdata.1328524498
[02-06-2012 12:35:17] NPCD: Regular File: host-perfdata.1328524498
[02-06-2012 12:35:17] NPCD: A thread was started on thread_counter = 0
[02-06-2012 12:35:17] NPCD: Processing file host-perfdata.1328524498 with ID 139820811589376 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1328524498
[02-06-2012 12:35:17] NPCD: DEBUG: load 0.060000/10.000000
[02-06-2012 12:35:17] NPCD: Processing file 'host-perfdata.1328524498'
[02-06-2012 12:35:17] NPCD: ThreadCounter 1/5 File is service-perfdata.1328524498
[02-06-2012 12:35:17] NPCD: Regular File: service-perfdata.1328524498
[02-06-2012 12:35:17] NPCD: A thread was started on thread_counter = 1
[02-06-2012 12:35:17] NPCD: Processing file service-perfdata.1328524498 with ID 139820801099520 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1328524498
[02-06-2012 12:35:17] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[02-06-2012 12:35:17] NPCD: Processing file 'service-perfdata.1328524498'
[02-06-2012 12:35:17] NPCD: No more files to process... waiting for 15 seconds
[02-06-2012 12:35:28] NPCD: Caught Termination Signal - Hasta la vista... baby
Br,
Ville
Re: Eval Nagios XI and graph problem.
Posted: Mon Feb 06, 2012 11:53 pm
by hra.leinonen
Hi again,
Intresting I restarted NPCD and it's start to work, it also stated to draw graphs. Now after 6 hours
it's not drawing anymore, but NPCD is still doing something.
Br,
Ville
Re: Eval Nagios XI and graph problem.
Posted: Tue Feb 07, 2012 11:48 am
by scottwilkerson
What type of load does this system have on it?
Any other info in npcd.log?