Page 1 of 2
rrdcached no performance data
Posted: Tue Dec 14, 2021 3:15 pm
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
did not ouput what the documentation said would be output.
I am on RHEL8.
Thank you in advance for your time!! Happy Holidays
Re: rrdcached no performance data
Posted: Tue Dec 14, 2021 3:42 pm
by wneville
I am seeing this message within /var/log/messages
Code: Select all
process_perfdata.pl terminated on signal ALRM
Re: rrdcached no performance data
Posted: Tue Dec 14, 2021 7:47 pm
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.
Re: rrdcached no performance data
Posted: Wed Dec 15, 2021 9:40 am
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
Re: rrdcached no performance data
Posted: Wed Dec 15, 2021 9:46 am
by wneville
When I attempt to download System Profile I get this error:
PROFILE BUILD FAILED
Array
(
)
CODE: 1
Re: rrdcached no performance data
Posted: Wed Dec 15, 2021 2:38 pm
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.
Re: rrdcached no performance data
Posted: Wed Dec 15, 2021 3:31 pm
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
Re: rrdcached no performance data
Posted: Thu Dec 16, 2021 10:10 am
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
Re: rrdcached no performance data
Posted: Thu Dec 16, 2021 4:55 pm
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!
Re: rrdcached no performance data
Posted: Fri Dec 17, 2021 2:34 pm
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.