Performace graphs not displayed after upgrade
Performace graphs not displayed after upgrade
Hello,
Following upgrade to the latest release, the performance graphs are no more displayed. We've unsuccessfully tried the steps in this link : http://support.nagios.com/wiki/index.ph ... _Displayed
How can we sort it out?
Thanks
Patrick
Following upgrade to the latest release, the performance graphs are no more displayed. We've unsuccessfully tried the steps in this link : http://support.nagios.com/wiki/index.ph ... _Displayed
How can we sort it out?
Thanks
Patrick
Re: Performace graphs not displayed after upgrade
Few questions:
1. Do the "graph explorer" graphs work?
2. Is npcd running?
3. What is the output of (post in code wraps):
4. Do a running tail on the httpd error log and while it is tailing try to view a graph:
(kill it afterwards and post the output in code wraps)
1. Do the "graph explorer" graphs work?
2. Is npcd running?
Code: Select all
service npcd statusCode: Select all
tail -25 /usr/local/nagios/var/perfdata.log
tail -25 /usr/local/nagios/var/npcd.logCode: Select all
tail -f /var/log/httpd/error_logFormer 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.
"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.
Re: Performace graphs not displayed after upgrade
Yes, Graph Explorer works and npcd is also running.
[root@hqldvnagios1 ~]# service npcd status
NPCD running (pid 20990).
[root@hqldvnagios1 ~]#
[root@hqldvnagios1 ~]# tail -25 /usr/local/nagios/var/npcd.log
[05-31-2013 18:07:44] NPCD: Regular File: 1370016453.perfdata.host
[05-31-2013 18:07:44] NPCD: A thread was started on thread_counter = 0
[05-31-2013 18:07:44] NPCD: DEBUG: load 0.110000/10.000000
[05-31-2013 18:07:44] NPCD: ThreadCounter 1/5 File is host-perfdata.1330987694-PID-2109
[05-31-2013 18:07:44] NPCD: File 'host-perfdata.1330987694-PID-2109' is an already in process PNP file. Leaving it untouched.
[05-31-2013 18:07:44] NPCD: Have to wait: Filecounter = 2 - thread_counter = 1
[05-31-2013 18:07:44] NPCD: Processing file 1370016453.perfdata.host with ID -1215902864 - going to exec /usr/local/nagios/libexec/process_perfd ata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370016453.perfdata.host
[05-31-2013 18:07:44] NPCD: Processing file '1370016453.perfdata.host'
[05-31-2013 18:07:44] NPCD: No more files to process... waiting for 15 seconds
[05-31-2013 18:07:59] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 0/5 File is .
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 0/5 File is ..
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 0/5 File is 1370016468.perfdata.host
[05-31-2013 18:07:59] NPCD: Regular File: 1370016468.perfdata.host
[05-31-2013 18:07:59] NPCD: A thread was started on thread_counter = 0
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 1/5 File is host-perfdata.1330987694-PID-2109
[05-31-2013 18:07:59] NPCD: File 'host-perfdata.1330987694-PID-2109' is an already in process PNP file. Leaving it untouched.
[05-31-2013 18:07:59] NPCD: Have to wait: Filecounter = 2 - thread_counter = 1
[05-31-2013 18:07:59] NPCD: Processing file 1370016468.perfdata.host with ID -1215902864 - going to exec /usr/local/nagios/libexec/process_perfd ata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370016468.perfdata.host
[05-31-2013 18:07:59] NPCD: Processing file '1370016468.perfdata.host'
[05-31-2013 18:07:59] NPCD: No more files to process... waiting for 15 seconds
[root@hqldvnagios1 ~]#
[root@hqldvnagios1 ~]# tail -25 /tmp/perfdata.log
1370015337||HQLTEST1||check_swap||SWAP OK - 89% free (225 MB out of 255 MB)||swap=225MB; 0;0;0;255
[root@hqldvnagios1 ~]#
[root@hqldvnagios1 ~]# tail -f /var/log/httpd/error_log
[Sun May 26 03:21:04 2013] [notice] Digest: generating secret for digest authentication ...
[Sun May 26 03:21:04 2013] [notice] Digest: done
[Sun May 26 03:21:05 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Fri May 31 11:54:11 2013] [notice] caught SIGTERM, shutting down
[Fri May 31 11:54:21 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 11:54:21 2013] [notice] Digest: generating secret for digest authentication ...
[Fri May 31 11:54:21 2013] [notice] Digest: done
[Fri May 31 11:54:21 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
^C
[root@hqldvnagios1 ~]# service npcd status
NPCD running (pid 20990).
[root@hqldvnagios1 ~]#
[root@hqldvnagios1 ~]# tail -25 /usr/local/nagios/var/npcd.log
[05-31-2013 18:07:44] NPCD: Regular File: 1370016453.perfdata.host
[05-31-2013 18:07:44] NPCD: A thread was started on thread_counter = 0
[05-31-2013 18:07:44] NPCD: DEBUG: load 0.110000/10.000000
[05-31-2013 18:07:44] NPCD: ThreadCounter 1/5 File is host-perfdata.1330987694-PID-2109
[05-31-2013 18:07:44] NPCD: File 'host-perfdata.1330987694-PID-2109' is an already in process PNP file. Leaving it untouched.
[05-31-2013 18:07:44] NPCD: Have to wait: Filecounter = 2 - thread_counter = 1
[05-31-2013 18:07:44] NPCD: Processing file 1370016453.perfdata.host with ID -1215902864 - going to exec /usr/local/nagios/libexec/process_perfd ata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370016453.perfdata.host
[05-31-2013 18:07:44] NPCD: Processing file '1370016453.perfdata.host'
[05-31-2013 18:07:44] NPCD: No more files to process... waiting for 15 seconds
[05-31-2013 18:07:59] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 0/5 File is .
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 0/5 File is ..
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 0/5 File is 1370016468.perfdata.host
[05-31-2013 18:07:59] NPCD: Regular File: 1370016468.perfdata.host
[05-31-2013 18:07:59] NPCD: A thread was started on thread_counter = 0
[05-31-2013 18:07:59] NPCD: DEBUG: load 0.140000/10.000000
[05-31-2013 18:07:59] NPCD: ThreadCounter 1/5 File is host-perfdata.1330987694-PID-2109
[05-31-2013 18:07:59] NPCD: File 'host-perfdata.1330987694-PID-2109' is an already in process PNP file. Leaving it untouched.
[05-31-2013 18:07:59] NPCD: Have to wait: Filecounter = 2 - thread_counter = 1
[05-31-2013 18:07:59] NPCD: Processing file 1370016468.perfdata.host with ID -1215902864 - going to exec /usr/local/nagios/libexec/process_perfd ata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370016468.perfdata.host
[05-31-2013 18:07:59] NPCD: Processing file '1370016468.perfdata.host'
[05-31-2013 18:07:59] NPCD: No more files to process... waiting for 15 seconds
[root@hqldvnagios1 ~]#
[root@hqldvnagios1 ~]# tail -25 /tmp/perfdata.log
1370015337||HQLTEST1||check_swap||SWAP OK - 89% free (225 MB out of 255 MB)||swap=225MB; 0;0;0;255
[root@hqldvnagios1 ~]#
[root@hqldvnagios1 ~]# tail -f /var/log/httpd/error_log
[Sun May 26 03:21:04 2013] [notice] Digest: generating secret for digest authentication ...
[Sun May 26 03:21:04 2013] [notice] Digest: done
[Sun May 26 03:21:05 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Fri May 31 11:54:11 2013] [notice] caught SIGTERM, shutting down
[Fri May 31 11:54:21 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 11:54:21 2013] [notice] Digest: generating secret for digest authentication ...
[Fri May 31 11:54:21 2013] [notice] Digest: done
[Fri May 31 11:54:21 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
^C
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Performace graphs not displayed after upgrade
So we are talking about the classic PNP graphs located at Home > Services > "Service Name" > Performance Graphs
Do you see any errors on this page? Can you run the following command, and then try to load one of your service's graphs through this page?
let us know what the output is when loading the page.
Do you see any errors on this page? Can you run the following command, and then try to load one of your service's graphs through this page?
Code: Select all
tail -f /var/log/httpd/error_log
Re: Performace graphs not displayed after upgrade
There is no error in /var/log/httpd/error_log while trying to access performance graphs.
Only this is reported on the GUI : "No performance graphs were found for this service".
Only this is reported on the GUI : "No performance graphs were found for this service".
Re: Performace graphs not displayed after upgrade
Are all pnp graphs missing? Did you by chance upgrade pnp4nagios (this is not suggested)?
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.
"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.
Re: Performace graphs not displayed after upgrade
Yep! all pnp graphs are missing.
No, I haven't upgraded pnp4nagios.
No, I haven't upgraded pnp4nagios.
Re: Performace graphs not displayed after upgrade
Just to make sure that pnp4nagios is configured correctly, lets do an in-place reinstall of the component:
Code: Select all
cd /tmp/nagiosxi/subcomponents/pnp
./installFormer 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.
"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.
Re: Performace graphs not displayed after upgrade
pnp reinstalled, performance graphs still not displayed.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Performace graphs not displayed after upgrade
Are you able to see the graph explorer graphs?:
Home > Graph Explorer
Can you post the output of the following:
And then run those two commands again about 5 minutes later and compare the output, please show all 4:
Home > Graph Explorer
Can you post the output of the following:
Code: Select all
ll /usr/local/nagios/var/spool/xidpe/|wc -l
ll /usr/local/nagios/var/spool/perfdata/|wc -l