Page 1 of 1
Host/Service search is now case-sensitive
Posted: Tue Nov 09, 2021 9:46 am
by NagioMon2021
Just updated to 5.8.7 and found that the search is now case sensitive and this has really wrecked the workflow for service updates/rescans/adds/changes
Example:
Searching for CiscoAsa returns nothing, but CiscoASA returns all 7 firewalls
How can we get this bit fixed?
Re: Host/Service search is now case-sensitive
Posted: Wed Nov 10, 2021 10:38 am
by pbroste
Hello
@NagioMon2021
Thanks reaching out, want to find out what os/distro your Nagios server is using?
Code: Select all
cat /usr/local/nagiosxi/var/xiversion | grep full
sudo cat /etc/os-release
sudo uname -a
sudo hostnamectl
sudo lsb_release -a
cat /etc/os-release
php -v
php -r 'phpinfo();'
Also, want to know if this behavior is for all searches or specific searches done on a particular page?
Code: Select all
tar -czvf /tmp/apachelogs.tar.gz /var/log/httpd/* /var/log/apache2/*
Please send along the '/tmp/apachelogs.tar.gz' and System Profile when you get a chance.
To send us your system profile.
- Login to the Nagios XI GUI using a web browser.
- Click the "Admin" > "System Profile" Menu
- Click the "Download Profile" button
- Save the profile.zip file and send via Private Message
Thanks,
Perry
Re: Host/Service search is now case-sensitive
Posted: Mon Nov 15, 2021 9:53 am
by Skyward_IT
We've also noticed this behavior after the version 5.8.7 update. The main search is not affected, just some searches in Core Config. It appears to be affecting the host and service searches, while other searches like contacts, contact groups, time periods and seem fine in the Core Config.
CentOS Linux 7 (Core)
Re: Host/Service search is now case-sensitive
Posted: Mon Nov 15, 2021 12:20 pm
by pbroste
Hello
@Skyward_IT
After some further research with colleagues we see that this issue was resolved in 'ccm 3.1.5' and appears that there is an update in the 'page_router.inc.php' that is required.
'/usr/local/nagiosxi/html/includes/components/ccm/includes/page_router.inc.php'
Please backup the current and replace it with the attached.
Code: Select all
mv /usr/local/nagiosxi/html/includes/components/ccm/includes/page_router.inc.php /usr/local/nagiosxi/html/includes/components/ccm/includes/page_router.inc.php.bak
Thanks,
Perry