Page 1 of 1

performance button gone

Posted: Thu Jul 03, 2014 4:29 am
by kbeuseli
We are running on version Nagios XI 2014R1.2, wen we run the a certain command, we still see performance data under the advanced tab.
But the performance data icon is gone and performance graph explorer is empty
But for the same command for another test, it's still available

Re: performance button gone

Posted: Thu Jul 03, 2014 12:32 pm
by lmiltchev
Can you show us an example (screenshots)? Also, do you get perdata in both cases (anything to the right of the pipe) when you run the command from the CLI?

Re: performance button gone

Posted: Mon Jul 07, 2014 2:48 am
by kbeuseli
Hello,

In attachment you can find some extra information about the test.

- test on the Nagios prompt
- result in the Nagios XI
- performance data in the advanced tab

regards
Koen

Re: performance button gone

Posted: Mon Jul 07, 2014 12:01 pm
by abrist
Do you use mod_gearman?
Turn on debug output (increase log level) for perfdata and npcd:
http://support.nagios.com/wiki/index.ph ... h_Problems
And then post a tail of the following logs:

Code: Select all

tail -25 /usr/local/nagios/var/perfdata.log
tail -25 /usr/local/nagios/var/npcd.log

Re: performance button gone

Posted: Tue Jul 08, 2014 2:30 am
by kbeuseli
We don't use mod_gearman.
Changed log levels , you can find the tails of the logfiles

[root@ap-dco29-mon ~]# tail -25 /usr/local/nagios/var/npcd.log
[07-08-2014 09:21:49] NPCD: A thread was started on thread_counter = 0
[07-08-2014 09:21:49] NPCD: Have to wait: Filecounter = 2 - thread_counter = 1
[07-08-2014 09:21:49] NPCD: Processing file 1404804098.perfdata.service with ID 140126195230464 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1404804098.perfdata.service
[07-08-2014 09:21:49] NPCD: Processing file '1404804098.perfdata.service'
[07-08-2014 09:21:49] NPCD: No more files to process... waiting for 15 seconds
[07-08-2014 09:22:00] NPCD: Caught Termination Signal - Hasta la vista... baby
[07-08-2014 09:22:00] NPCD: npcd Daemon (0.4.14) started with PID=29655
[07-08-2014 09:22:00] NPCD: Please have a look at 'npcd -V' to get license information
[07-08-2014 09:22:00] NPCD: HINT: load_threshold is enabled - ('10.000000')
[07-08-2014 09:22:00] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[07-08-2014 09:22:00] NPCD: DEBUG: load 0.560000/10.000000
[07-08-2014 09:22:00] NPCD: ThreadCounter 0/5 File is .
[07-08-2014 09:22:00] NPCD: DEBUG: load 0.560000/10.000000
[07-08-2014 09:22:00] NPCD: ThreadCounter 0/5 File is ..
[07-08-2014 09:22:00] NPCD: DEBUG: load 0.560000/10.000000
[07-08-2014 09:22:00] NPCD: ThreadCounter 0/5 File is 1344527269.perfdata.service-PID-12993
[07-08-2014 09:22:00] NPCD: File '1344527269.perfdata.service-PID-12993' is an already in process PNP file. Leaving it untouched.
[07-08-2014 09:22:00] NPCD: DEBUG: load 0.560000/10.000000
[07-08-2014 09:22:00] NPCD: ThreadCounter 0/5 File is 1404804104.perfdata.host
[07-08-2014 09:22:00] NPCD: Regular File: 1404804104.perfdata.host
[07-08-2014 09:22:00] NPCD: A thread was started on thread_counter = 0
[07-08-2014 09:22:00] NPCD: Have to wait: Filecounter = 2 - thread_counter = 1
[07-08-2014 09:22:00] NPCD: Processing file 1404804104.perfdata.host with ID 139647293744896 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1404804104.perfdata.host
[07-08-2014 09:22:00] NPCD: Processing file '1404804104.perfdata.host'
[07-08-2014 09:22:02] NPCD: No more files to process... waiting for 15 seconds


[root@ap-dco29-mon ~]# tail -25 /usr/local/nagios/var/perfdata.log
2014-07-08 09:23:09 [30700] [2] Template is pnp-runtime.php
2014-07-08 09:23:09 [30700] [2] data2rrd called
2014-07-08 09:23:09 [30701] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2014-07-08 09:23:09 [30701] [2] Template is check_xi_host_ping.php
2014-07-08 09:23:09 [30701] [2] data2rrd called
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_runtime.rrd 1404804171:0.249888
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_runtime.rrd updated
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_rows.rrd 1404804171:125
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_rows.rrd updated
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_errors.rrd 1404804171:4
2014-07-08 09:23:09 [30701] [2] RRDs::update /usr/local/nagios/share/perfdata/ap-hst01-mbx01/_HOST_.rrd 1404804175:1.111:0:1.875:0.718
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_errors.rrd updated
2014-07-08 09:23:09 [30701] [2] /usr/local/nagios/share/perfdata/ap-hst01-mbx01/_HOST_.rrd updated
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_invalid.rrd 1404804171:0
2014-07-08 09:23:09 [30701] [1] 5 lines processed
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_invalid.rrd updated
2014-07-08 09:23:09 [30701] [1] /usr/local/nagios/var/spool/perfdata//1404804179.perfdata.host-PID-30701 deleted
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_skipped.rrd 1404804171:24
2014-07-08 09:23:09 [30701] [1] PNP exiting (runtime 0.012931s) ...
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_skipped.rrd updated
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_update.rrd 1404804171:96
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_update.rrd updated
2014-07-08 09:23:09 [30700] [2] RRDs::update /usr/local/nagios/share/perfdata/.pnp-internal/runtime_create.rrd 1404804171:0
2014-07-08 09:23:09 [30700] [2] /usr/local/nagios/share/perfdata/.pnp-internal/runtime_create.rrd updated
2014-07-08 09:23:09 [30700] [1] PNP exiting (runtime 0.009139s) ...

Re: performance button gone

Posted: Tue Jul 08, 2014 7:22 am
by DennisPR
Hi some extra info on this issue that Koen posted.
We have 2 Nagios XI servers and it seems that this issue has occured on both of them since the last update from Nagios XI 2014R1.1 to Nagios XI 2014R1.2.
On 1 server I don't have any service performance data graphs any more but I still have host perfomance data.
Only the services for localhost still show host and service perfomance data/graphs.
When I go to grapgh explorer I can't choose any services on all hosts except the localhost to see graphs.

On the other server about 90% of the services don't have the service performance data icon anymore.

FYI : I had already posted another issue since this upgrade http://support.nagios.com/forum/viewtop ... 16&t=27921 and have applied that patch on both servers.

Re: performance button gone

Posted: Tue Jul 08, 2014 4:24 pm
by sreinhardt
I only see one patch in that particular issue, and it is referencing a CCM bug not the perfdata bug.

ccm.zip - Fixes escaping issues within CCM pages for object data.
pnp.zip - Should resolve the performance graphs not showing on host\service detail pages among others.

Please upload these to your XI systems via Admin->Manage Components. You will need to refresh the page, and possibly clear your browsers cache if they do not show. (ctrl+F5 for firefox)

Re: performance button gone

Posted: Wed Jul 09, 2014 2:56 am
by DennisPR
Thank you very much. That fixed our issues !