Perfdata: Nagios not painting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Perfdata: Nagios not painting

Post by FCC_Nagios_Support »

Hello,

Perfdata of Nagios is not painting
Coudl you help us?

KR
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Perfdata: Nagios not painting

Post by FCC_Nagios_Support »

I got:
tail -f /usr/local/nagios/var/npcd.log
[07-28-2020 10:41:16] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1595925671.perfdata.service'
[07-28-2020 10:41:36] NPCD: ERROR: Executed command exits with return code '7'


tail -f /usr/local/nagios/var/perfdata.log
2020-07-28 10:41:36 [16710] [0] *** TIMEOUT: Timeout after 5 secs. ***
2020-07-28 10:41:36 [16710] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2020-07-28 10:41:36 [16710] [0] *** TIMEOUT: Please check your npcd.cfg
2020-07-28 10:41:36 [16710] [0] *** TIMEOUT: Could not delete /usr/local/nagios/var/spool/perfdata//1595925686.perfdata.service-PID-16710:No such file or directory
2020-07-28 10:41:36 [16710] [0] *** Timeout while processing Host: "A2SMART002T.fcc.intfcc.local" Service: "OS_Windows_1_7_Ping_Template"
2020-07-28 10:41:36 [16710] [0] *** process_perfdata.pl terminated on signal ALRM


THKS
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Perfdata: Nagios not painting

Post by FCC_Nagios_Support »

We had this message:

[root@a2nagio001p ~]# tail -f /usr/local/nagios/var/npcd.log
[07-28-2020 10:40:36] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1595925626.perfdata.service'
[07-28-2020 10:40:56] NPCD: ERROR: Executed command exits with return code '7'
[07-28-2020 10:40:56] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1595925641.perfdata.service'
[07-28-2020 10:41:16] NPCD: ERROR: Executed command exits with return code '7'
[07-28-2020 10:41:16] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1595925671.perfdata.service'
[07-28-2020 10:41:36] NPCD: ERROR: Executed command exits with return code '7'
[07-28-2020 10:41:36] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1595925686.perfdata.service'
[07-28-2020 13:25:24] NPCD: WARN: MAX load reached: load 10.730000/10.000000 at i=0
[07-28-2020 13:26:24] NPCD: WARN: MAX load reached: load 11.010000/10.000000 at i=0
[07-28-2020 14:15:39] NPCD: WARN: MAX load reached: load 10.100000/10.000000 at i=0
^C
[root@a2nagio001p ~]#

[07-28-2020 13:25:24] NPCD: WARN: MAX load reached: load 10.730000/10.000000 at i=0
[07-28-2020 13:26:24] NPCD: WARN: MAX load reached: load 11.010000/10.000000 at i=0
[07-28-2020 14:15:39] NPCD: WARN: MAX load reached: load 10.100000/10.000000 at i=0
^C
[root@a2nagio001p ~]#
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Perfdata: Nagios not painting

Post by benjaminsmith »

HI,

Appreciate you posting those logs, the system is hitting some of the defaults performance data settings. This is usually corrected by increasing the allowable timeout and load thresholds to give the scripts more time and resources to process the data and avoid any spooling of files.

Also, do you have ramdisk setup on this instance?

The following guide has steps for increase the load_threshold and timeout for performance data. I would recommend setting the load_threshold to about 50. Avoid going too big on this value since it will consume all the memory you give it.

Nagios XI - Performance Graph Problems

Let me know if that resolves the issue for you.

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!
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Perfdata: Nagios not painting

Post by FCC_Nagios_Support »

Icorrected the parms but some fellow of you advice RAMdisk
https://support.nagios.com/forum/viewto ... 16&t=59515
And everything is running aganain.

Very Very much Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Perfdata: Nagios not painting

Post by benjaminsmith »

Very Very much Thanks
Great. I'll go ahead and close this out, feel free to open another if you have any new questions.
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!
Locked