Host/Service search is now case-sensitive

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
NagioMon2021
Posts: 6
Joined: Mon Jun 07, 2021 10:32 am

Host/Service search is now case-sensitive

Post 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?
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Host/Service search is now case-sensitive

Post 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
Skyward_IT
Posts: 2
Joined: Fri Jun 25, 2021 2:04 pm

Re: Host/Service search is now case-sensitive

Post 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)
You do not have the required permissions to view the files attached to this post.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Host/Service search is now case-sensitive

Post 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
You do not have the required permissions to view the files attached to this post.
Locked