Top talkers missing after PHP update
Top talkers missing after PHP update
Our InfoSec team recently required us to upgrade PHP on our Nagios Log Server from 5.4 to 7.3. We were able to update it and configured the proper extension. Nagios NA appears to be working well with the exception of showing top talkers. Even after waiting overnight it shows nothing. Any help or direction for troubleshooting is greatly appreciated.
Re: Top talkers missing after PHP update
Please post the output of this command:
If you upgraded PHP you will need to do this:
Code: Select all
rpm -qa | grep php
Code: Select all
cd /tmp
rm -rf nagioslogserver
wget https://assets.nagios.com/downloads/nagios-log-server/2/nagioslogserver-2.1.6.tar.gz
tar zxf nagioslogserver-2.1.6.tar.gz
cd nagioslogserver
rm -f /etc/php.d/sourceguardian.ini
rm -f /usr/lib64/php/modules/ixed.5.4.lin
source libinstall.sh
install_sourceguardian
service httpd restart
Re: Top talkers missing after PHP update
I went through the steps you listed and the top talkers data is still blank. I attached the output of the command you requested.
You do not have the required permissions to view the files attached to this post.
Re: Top talkers missing after PHP update
I think I may have found the issue. While the timezone was set correctly on the OS it was not set correctly in the Nagios NA app. Once I set that correctly the top talkers portion populated. I think your commands fixed the issue and it was still blank because I had just switched sources back to it and the timezone was off meaning the range it was looking at (last 2 hours) was blank. I will keep an eye on it throughout the day but I think we are good to go, thank you for your help.
Re: Top talkers missing after PHP update
Awesome, glad you got that sorted! Let us know if you see any issues.