Dear Team,
We are observing no data in performance graphs for all services and hosts.
Also observing that no graph icon showing newly adding servers into monitoring.
Please refer below attached screenshot for more details.
Can you help to advise quickly as no performance stats available for services and hosts in monitoring?
All graphs are showing no performance data in Nagios XI
-
- Posts: 10
- Joined: Thu Jan 16, 2020 10:39 pm
All graphs are showing no performance data in Nagios XI
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: All graphs are showing no performance data in Nagios XI
Hi,
Welcome to the Customer Support Forum!
This could happen if the npcd service is not running, so let's check that first.
If that's running, then please step through the guide below to check the spool count on the files. It might be necessary to increase the default thresholds, explained in the guide as well and let me know if the issue is resolved.
Nagios XI - Performance graph Problems
Regards,
Benjamin
Welcome to the Customer Support Forum!
This could happen if the npcd service is not running, so let's check that first.
Code: Select all
systemctl status npcd
Nagios XI - Performance graph Problems
Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 10
- Joined: Thu Jan 16, 2020 10:39 pm
Re: All graphs are showing no performance data in Nagios XI
Hi Benjamin,
Here is the output for the command "systemctl status npcd"
$ systemctl status npcd
● npcd.service - LSB: Nagios NPCD Initscript
Loaded: loaded (/etc/rc.d/init.d/npcd; bad; vendor preset: disabled)
Active: active (running) since Fri 2020-09-11 01:02:01 +08; 1 weeks 0 days ago
Docs: man:systemd-sysv-generator(8)
Process: 22165 ExecStop=/etc/rc.d/init.d/npcd stop (code=exited, status=0/SUCCESS)
Process: 45110 ExecStart=/etc/rc.d/init.d/npcd start (code=exited, status=0/SUCCESS)
Main PID: 22184 (npcd)
CGroup: /system.slice/npcd.service
‣ 22184 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
$
Here is the output for the command "systemctl status npcd"
$ systemctl status npcd
● npcd.service - LSB: Nagios NPCD Initscript
Loaded: loaded (/etc/rc.d/init.d/npcd; bad; vendor preset: disabled)
Active: active (running) since Fri 2020-09-11 01:02:01 +08; 1 weeks 0 days ago
Docs: man:systemd-sysv-generator(8)
Process: 22165 ExecStop=/etc/rc.d/init.d/npcd stop (code=exited, status=0/SUCCESS)
Process: 45110 ExecStart=/etc/rc.d/init.d/npcd start (code=exited, status=0/SUCCESS)
Main PID: 22184 (npcd)
CGroup: /system.slice/npcd.service
‣ 22184 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
$
-
- Posts: 10
- Joined: Thu Jan 16, 2020 10:39 pm
Re: All graphs are showing no performance data in Nagios XI
npcd.cfg: Threshold value is changed from 10 to 28 as it was reaching threshold breach with 10.
load_threshold = 10.0 to load_threshold = 28.0
process_perfdata.cfg: TIMEOUT value is changed from 5 to 40.
TIMEOUT = 5 to TIMEOUT = 40
Observing following errors after changing these values:
[root@nagprdappls004 pnp]# grep "MAX load reached" /usr/local/nagios/var/npcd.log | head
[09-09-2020 02:22:51] NPCD: WARN: MAX load reached: load 24.490000/10.000000 at i=1
[09-09-2020 02:23:06] NPCD: WARN: MAX load reached: load 25.620000/10.000000 at i=1
[09-09-2020 02:23:21] NPCD: WARN: MAX load reached: load 24.360000/10.000000 at i=1
[09-09-2020 02:23:36] NPCD: WARN: MAX load reached: load 23.690000/10.000000 at i=1
[09-09-2020 02:23:51] NPCD: WARN: MAX load reached: load 22.210000/10.000000 at i=1
[09-09-2020 02:24:06] NPCD: WARN: MAX load reached: load 21.840000/10.000000 at i=1
[09-09-2020 02:24:21] NPCD: WARN: MAX load reached: load 23.180000/10.000000 at i=1
[09-09-2020 02:24:36] NPCD: WARN: MAX load reached: load 23.370000/10.000000 at i=1
[09-09-2020 02:24:51] NPCD: WARN: MAX load reached: load 28.460000/10.000000 at i=1
[09-09-2020 02:25:06] NPCD: WARN: MAX load reached: load 29.530000/10.000000 at i=1
[root@nagprdappls004 pnp]# grep "MAX load reached" /usr/local/nagios/var/npcd.log | tail
[09-18-2020 18:38:23] NPCD: WARN: MAX load reached: load 23.340000/10.000000 at i=1
[09-18-2020 18:38:38] NPCD: WARN: MAX load reached: load 23.790000/10.000000 at i=1
[09-18-2020 18:38:53] NPCD: WARN: MAX load reached: load 23.770000/10.000000 at i=1
[09-18-2020 18:39:08] NPCD: WARN: MAX load reached: load 23.340000/10.000000 at i=1
[09-18-2020 18:39:23] NPCD: WARN: MAX load reached: load 23.510000/10.000000 at i=1
[09-18-2020 18:39:38] NPCD: WARN: MAX load reached: load 24.070000/10.000000 at i=1
[09-18-2020 18:39:53] NPCD: WARN: MAX load reached: load 23.300000/10.000000 at i=1
[09-18-2020 18:40:08] NPCD: WARN: MAX load reached: load 23.980000/10.000000 at i=1
[09-18-2020 18:40:23] NPCD: WARN: MAX load reached: load 23.240000/10.000000 at i=1
[09-18-2020 18:48:47] NPCD: WARN: MAX load reached: load 28.330000/28.000000 at i=7
[root@nagprdappls004 pnp]#
[root@nagprdappls004 pnp]# tail -f /usr/local/nagios/var/npcd.log
[09-18-2020 18:53:34] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:53:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426256.perfdata.service'
[09-18-2020 18:53:34] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:53:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426241.perfdata.service'
[09-18-2020 18:54:14] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:54:14] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426271.perfdata.service'
[09-18-2020 18:54:54] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:54:54] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426331.perfdata.service'
[09-18-2020 18:57:28] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:57:28] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426451.perfdata.service'
[root@nagprdappls004 pnp]# tail -25 /usr/local/nagios/var/perfdata.log
2020-09-18 18:53:34 [127341] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426241.perfdata.service-PID-127343 deleted
2020-09-18 18:53:34 [127343] [0] *** Timeout while processing Host: "skye-nxge0" Service: "_oftpr_u02"
2020-09-18 18:53:34 [127343] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426271.perfdata.service-PID-776 deleted
2020-09-18 18:54:14 [776] [0] *** Timeout while processing Host: "cespetetlls002" Service: "Free_Swap_Space"
2020-09-18 18:54:14 [776] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426331.perfdata.service-PID-4961 deleted
2020-09-18 18:54:54 [4961] [0] *** Timeout while processing Host: "fmssitodba001" Service: "_u14"
2020-09-18 18:54:54 [4961] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426451.perfdata.service-PID-20265 deleted
2020-09-18 18:57:28 [20265] [0] *** Timeout while processing Host: "ssopptoamw004" Service: "Windows_Memory_Usage"
2020-09-18 18:57:28 [20265] [0] *** process_perfdata.pl terminated on signal ALRM
[root@nagprdappls004 pnp]#
Hope these details helpful to advise further.
Thank you.
load_threshold = 10.0 to load_threshold = 28.0
process_perfdata.cfg: TIMEOUT value is changed from 5 to 40.
TIMEOUT = 5 to TIMEOUT = 40
Observing following errors after changing these values:
[root@nagprdappls004 pnp]# grep "MAX load reached" /usr/local/nagios/var/npcd.log | head
[09-09-2020 02:22:51] NPCD: WARN: MAX load reached: load 24.490000/10.000000 at i=1
[09-09-2020 02:23:06] NPCD: WARN: MAX load reached: load 25.620000/10.000000 at i=1
[09-09-2020 02:23:21] NPCD: WARN: MAX load reached: load 24.360000/10.000000 at i=1
[09-09-2020 02:23:36] NPCD: WARN: MAX load reached: load 23.690000/10.000000 at i=1
[09-09-2020 02:23:51] NPCD: WARN: MAX load reached: load 22.210000/10.000000 at i=1
[09-09-2020 02:24:06] NPCD: WARN: MAX load reached: load 21.840000/10.000000 at i=1
[09-09-2020 02:24:21] NPCD: WARN: MAX load reached: load 23.180000/10.000000 at i=1
[09-09-2020 02:24:36] NPCD: WARN: MAX load reached: load 23.370000/10.000000 at i=1
[09-09-2020 02:24:51] NPCD: WARN: MAX load reached: load 28.460000/10.000000 at i=1
[09-09-2020 02:25:06] NPCD: WARN: MAX load reached: load 29.530000/10.000000 at i=1
[root@nagprdappls004 pnp]# grep "MAX load reached" /usr/local/nagios/var/npcd.log | tail
[09-18-2020 18:38:23] NPCD: WARN: MAX load reached: load 23.340000/10.000000 at i=1
[09-18-2020 18:38:38] NPCD: WARN: MAX load reached: load 23.790000/10.000000 at i=1
[09-18-2020 18:38:53] NPCD: WARN: MAX load reached: load 23.770000/10.000000 at i=1
[09-18-2020 18:39:08] NPCD: WARN: MAX load reached: load 23.340000/10.000000 at i=1
[09-18-2020 18:39:23] NPCD: WARN: MAX load reached: load 23.510000/10.000000 at i=1
[09-18-2020 18:39:38] NPCD: WARN: MAX load reached: load 24.070000/10.000000 at i=1
[09-18-2020 18:39:53] NPCD: WARN: MAX load reached: load 23.300000/10.000000 at i=1
[09-18-2020 18:40:08] NPCD: WARN: MAX load reached: load 23.980000/10.000000 at i=1
[09-18-2020 18:40:23] NPCD: WARN: MAX load reached: load 23.240000/10.000000 at i=1
[09-18-2020 18:48:47] NPCD: WARN: MAX load reached: load 28.330000/28.000000 at i=7
[root@nagprdappls004 pnp]#
[root@nagprdappls004 pnp]# tail -f /usr/local/nagios/var/npcd.log
[09-18-2020 18:53:34] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:53:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426256.perfdata.service'
[09-18-2020 18:53:34] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:53:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426241.perfdata.service'
[09-18-2020 18:54:14] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:54:14] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426271.perfdata.service'
[09-18-2020 18:54:54] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:54:54] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426331.perfdata.service'
[09-18-2020 18:57:28] NPCD: ERROR: Executed command exits with return code '7'
[09-18-2020 18:57:28] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1600426451.perfdata.service'
[root@nagprdappls004 pnp]# tail -25 /usr/local/nagios/var/perfdata.log
2020-09-18 18:53:34 [127341] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:53:34 [127343] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426241.perfdata.service-PID-127343 deleted
2020-09-18 18:53:34 [127343] [0] *** Timeout while processing Host: "skye-nxge0" Service: "_oftpr_u02"
2020-09-18 18:53:34 [127343] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:54:14 [776] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426271.perfdata.service-PID-776 deleted
2020-09-18 18:54:14 [776] [0] *** Timeout while processing Host: "cespetetlls002" Service: "Free_Swap_Space"
2020-09-18 18:54:14 [776] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:54:54 [4961] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426331.perfdata.service-PID-4961 deleted
2020-09-18 18:54:54 [4961] [0] *** Timeout while processing Host: "fmssitodba001" Service: "_u14"
2020-09-18 18:54:54 [4961] [0] *** process_perfdata.pl terminated on signal ALRM
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: Timeout after 40 secs. ***
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: Please check your npcd.cfg
2020-09-18 18:57:28 [20265] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1600426451.perfdata.service-PID-20265 deleted
2020-09-18 18:57:28 [20265] [0] *** Timeout while processing Host: "ssopptoamw004" Service: "Windows_Memory_Usage"
2020-09-18 18:57:28 [20265] [0] *** process_perfdata.pl terminated on signal ALRM
[root@nagprdappls004 pnp]#
Hope these details helpful to advise further.
Thank you.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: All graphs are showing no performance data in Nagios XI
Hi,
Those errors may be logged if the file was processed by another thread. Are the performance graphs working for any of the services?
If not, let's increase the log level on NPCD. You can enable debugging for npcd by setting:
in /usr/local/nagios/etc/pnp/process_perfdata.cfg and then restart the npcd process.
Then tail the log file and post any errors to the thread.
Also, how's the count of spooled files looking?
Regards,
Benjamin
Those errors may be logged if the file was processed by another thread. Are the performance graphs working for any of the services?
If not, let's increase the log level on NPCD. You can enable debugging for npcd by setting:
Code: Select all
LOG_LEVEL = 2
Code: Select all
systemctl restart npcd
Code: Select all
tail -f /usr/local/nagios/var/perfdata.log
Code: Select all
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 10
- Joined: Thu Jan 16, 2020 10:39 pm
Re: All graphs are showing no performance data in Nagios XI
Hi Benjimin,
All graphs are working fine after above mentioned settings put in place.
Thank you.
Best Regards,
Jagan
All graphs are working fine after above mentioned settings put in place.
Thank you.
Best Regards,
Jagan
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: All graphs are showing no performance data in Nagios XI
Great!Jagannadharao wrote:Hi Benjimin,
All graphs are working fine after above mentioned settings put in place.
Thank you.
Best Regards,
Jagan
Locking thread