rrdcached no performance data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
wneville
Posts: 100
Joined: Wed Mar 31, 2021 3:35 pm

rrdcached no performance data

Post by wneville »

Hello,

I have an environment with 13k service checks. To reduce load, I installed rrdcached according to the documentation from Nagios.

Since the install, no performance data has been collected (or is at least not visible in the UI). I.E., when I click on the DNA-strand looking button next to a service and select Last 24 Hours, it says "no data to display." When I change to Last 7 Days, the perf data goes up until just around when the change was made.

One thing I noticed during install was the output of

Code: Select all

ps aux | grep rrd
did not ouput what the documentation said would be output.

I am on RHEL8.

Thank you in advance for your time!! Happy Holidays
wneville
Posts: 100
Joined: Wed Mar 31, 2021 3:35 pm

Re: rrdcached no performance data

Post by wneville »

I am seeing this message within /var/log/messages

Code: Select all

process_perfdata.pl terminated on signal ALRM
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: rrdcached no performance data

Post by ssax »

Please follow this guide to troubleshoot:

https://support.nagios.com/kb/article/n ... ems-9.html

What do these commands output:

Code: Select all

ls -l /usr/local/nagios/var/
ls -l /var/nagiosramdisk/
Please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.
wneville
Posts: 100
Joined: Wed Mar 31, 2021 3:35 pm

Re: rrdcached no performance data

Post by wneville »

output of ls -l /usr/local/nagios/var/

Code: Select all

drwxrwxr-x 2 nagios nagios     4096 Dec 15 00:03 archives
-rw-r--r-- 1 nagios nagios    38923 Dec 15 09:36 host-perfdata
-rw-r--r-- 1 nagios nagios  2344604 Dec 15 09:36 nagios.log
-rw-r--r-- 1 nagios nagios  1129230 Dec 15 09:36 npcd.log
-rw-r--r-- 1 nagios nagios 12447815 Dec 15 09:15 objects.cache
-rw-rw-r-- 1 nagios nagios   435168 Dec 15 09:30 perfdata.log
-rw------- 1 nagios nagios 19934504 Dec 15 09:15 retention.dat
drwxrwsr-x 2 nagios nagcmd       41 Dec 15 09:15 rw
-rw-r--r-- 1 nagios nagios  2516935 Dec 15 09:36 service-perfdata
drwxr-xr-x 5 nagios nagios       55 Nov 22 13:44 spool
drwxr-xr-x 2 nagios nagios       22 Dec 15 09:30 stats
-rw-rw-r-- 1 nagios nagios 19878408 Dec 15 09:29 status.dat
output of ls -l /var/nagiosramdisk/

Code: Select all

ls: cannot access '/var/nagiosramdisk/': No such file or directory
wneville
Posts: 100
Joined: Wed Mar 31, 2021 3:35 pm

Re: rrdcached no performance data

Post by wneville »

When I attempt to download System Profile I get this error:

PROFILE BUILD FAILED
Array
(
)
CODE: 1
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: rrdcached no performance data

Post by ssax »

Please follow this KB article to fix that profile build error:

https://support.nagios.com/kb/article.p ... ategory=44

If you're STILL unable to generate the the profile through the web interface after doing that, please try generating it from the command line by running these commands as root:

rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT

Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.​

If the profile script fails, please include the ENTIRE output.
wneville
Posts: 100
Joined: Wed Mar 31, 2021 3:35 pm

Re: rrdcached no performance data

Post by wneville »

Thank you ssax. I have sent you a PM with the output from the command line. From the UI I was receiving a Gateway Timeout after running the commands from the KB article
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: rrdcached no performance data

Post by ssax »

Since you're on EL8 and getting a gateway timeout, follow the instructions in the attachment to fix that:
php-fpm timeout issue.txt
Please PM me the profile.zip file, I don't see it attached in the PM you sent, only the output.

Code: Select all

/usr/local/nagiosxi/var/components/profile.zip
You do not have the required permissions to view the files attached to this post.
wneville
Posts: 100
Joined: Wed Mar 31, 2021 3:35 pm

Re: rrdcached no performance data

Post by wneville »

I've just sent the profile.zip as an attachment.

I followed the instructions in your txt file as well - I will be on the lookout for Gateway Timeout issues but so far so good in that regard. Thank you!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: rrdcached no performance data

Post by ssax »

The profile isn't attached in the PM, please make sure to click Add the File after selecting the profile.zip with the Browse button.
Locked