Just want to let you know that it is always best to have screenshots or outputs show in the ticket.
That would make my job easier!!
I noticed lot of below NPCD errors, which will caused your performance graph not to displays.
Code: Select all
[03-26-2021 16:43:59] NPCD: WARN: MAX load reached: load 11.410000/10.000000 at i=1
[03-27-2021 04:30:29] NPCD: ERROR: Executed command exits with return code '7'
[03-27-2021 04:30:29] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1616819418.perfdata.service'
Code: Select all
2021-03-31 07:00:31 [55132] [0] *** TIMEOUT: Timeout after 5 secs. ***
2021-03-31 07:00:31 [55132] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2021-03-31 07:00:31 [55132] [0] *** TIMEOUT: Please check your npcd.cfg
https://support.nagios.com/kb/article.php?id=9
The "load_threshold = 10.0" is for single CPU.
You should double it with a dual core "load_threshold = 20", with quad core you should use "load_threshold = 40"
Since you have 4 CPU's, please change the "load_threshold" from "10" to "40" in the "/usr/local/nagios/etc/pnp/npcd.cfg" file:
To:
Code: Select all
load_threshold = 40.0
Code: Select all
timeout = 20
Code: Select all
systemctl restart npcd.service
Regards,
Vinh