[SOLVED] Missing perfdata for some hosts
Posted: Thu Mar 13, 2025 4:19 am
Hi all
Running 2024R1.4.1 on Ubuntu 22.04
I've got numerous Windows and Linux (RHEL/Ubuntu) hosts, most of these are showing performance graph data normally for CPU Usage, Memory Usage, etc. but some Ubuntu hosts are not.
The usage is shown live, but no historic data is visible. Ie. On the Performance Graphs tab the graphs show 'No data to display', but the gauges at the bottom show accurate values.
The hosts have been in place on the NagiosXI server since it was migrated from a CentOS box a year or two ago. I honestly don't know if it was once working and now stopped, or has never worked.
I've spotted 2 hosts with the issue thus far, nothing obvious that distinguishes them from the other hosts. Both are Ubuntu, but plenty of other Ubuntu hosts working fine.
I do have files being created in /usr/local/nagios/var/spool/perfdata and npcd is running, albeit with some warning messages showing in systemctl status
Appreciate any pointers on where to look! The suggestions I've seen on the forum mostly seem to concern situations where all hosts are failing to record performance data.
Running 2024R1.4.1 on Ubuntu 22.04
I've got numerous Windows and Linux (RHEL/Ubuntu) hosts, most of these are showing performance graph data normally for CPU Usage, Memory Usage, etc. but some Ubuntu hosts are not.
The usage is shown live, but no historic data is visible. Ie. On the Performance Graphs tab the graphs show 'No data to display', but the gauges at the bottom show accurate values.
The hosts have been in place on the NagiosXI server since it was migrated from a CentOS box a year or two ago. I honestly don't know if it was once working and now stopped, or has never worked.
I've spotted 2 hosts with the issue thus far, nothing obvious that distinguishes them from the other hosts. Both are Ubuntu, but plenty of other Ubuntu hosts working fine.
I do have files being created in /usr/local/nagios/var/spool/perfdata and npcd is running, albeit with some warning messages showing in systemctl status
Code: Select all
Mar 13 09:19:54 My-Host npcd[42379]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in substitution (s///) at /usr/local/nagios/libexec/process_perfdata.pl line 465, <PDFILE> line >
Mar 13 09:19:54 My-Host npcd[42379]: Use of uninitialized value $NAGIOS{"MULTI_PARENT"} in printf at /usr/local/nagios/libexec/process_perfdata.pl line 466, <PDFILE> line 31