Since upgrade to 5.8.7, in CCM/Services the Search function only seem to check against Config Names (ignores Service Description), which makes searches alot less effectives.
Search function does work properly in CCM/Hosts, Host Groups, Service Groups, etc.
Can anyone confirm this?
5.8.7 has been out for a couple months already so I'm surprised it doesn't seem to have been reported yet.
Services Search ignores Description case sensitive in 5.8.7
Re: Services Search ignores Description in 5.8.7
Hello @mlabbepg
Thanks for reaching out, jumped on over to my test VM updated the name on a service description so that it is unique (to search), and did get the correct search result. We have not heard any other experiencing issues, but if there is please pipe in here and let us know.
Perry
Thanks for reaching out, jumped on over to my test VM updated the name on a service description so that it is unique (to search), and did get the correct search result. We have not heard any other experiencing issues, but if there is please pipe in here and let us know.
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 php -v
Code: Select all
find /var/log/httpd/ -type f -exec grep -Eri "youruniqueservicediscriptionhere" -A 2 -B 2 {} \;
[code]find /usr/local/nagiosxi/var/ -type f -exec grep -Eri "youruniqueservicediscriptionhere" -A 2 -B 2 {} \;[/code][/*]
Code: Select all
/usr/local/nagiosxi/html/config.inc.php- Under each of these lines that define the db connections:
"db" => 'nagiosxi',
...
"db" => 'nagios',
...
"db" => 'nagiosql',
Add this:
"charset" => 'utf8',
So they look like this:
"db" => 'nagiosxi',
"charset" => 'utf8',
...
"db" => 'nagios',
"charset" => 'utf8',
...
"db" => 'nagiosql',
"charset" => 'utf8',
Perry
You do not have the required permissions to view the files attached to this post.
Re: Services Search ignores Description in 5.8.7
Hi,
Thanks for your reply.
I just realized the search bar does work, but it is now case sensitive in 5.8.7 (feel free to edit thread name to reflect the actual issue).
I didn't notice in Hosts screen because our hostnames are all lower caps.
I just retested: it's definitely case-insensitive in 5.8.6, and case-sensitive after upgrading to 5.8.7.
The case-sensitive search issue had been reported here for 5.7.2 and had been fixed since so it's pretty odd to see it coming back.
Before the thread gets flooded with diagnostic infos, can you confirm if you reproduce the case-sensitive part in 5.8.7 (note: we're running on Ubuntu 20.04.3 LTS)?
Thanks for your reply.
I just realized the search bar does work, but it is now case sensitive in 5.8.7 (feel free to edit thread name to reflect the actual issue).
I didn't notice in Hosts screen because our hostnames are all lower caps.
I just retested: it's definitely case-insensitive in 5.8.6, and case-sensitive after upgrading to 5.8.7.
The case-sensitive search issue had been reported here for 5.7.2 and had been fixed since so it's pretty odd to see it coming back.
Before the thread gets flooded with diagnostic infos, can you confirm if you reproduce the case-sensitive part in 5.8.7 (note: we're running on Ubuntu 20.04.3 LTS)?
Re: Services Search ignores Description in 5.8.7
Hello @mlabbepg
Thanks for following up with the details, I see that you are correct that the search function is case sensitive in the CCM > Services but works in the other sections. I will ping this issue over and file an issue.
The following are examples filed: Thanks,
Perry
Thanks for following up with the details, I see that you are correct that the search function is case sensitive in the CCM > Services but works in the other sections. I will ping this issue over and file an issue.
The following are examples filed: Thanks,
Perry
You do not have the required permissions to view the files attached to this post.
Re: Services Search ignores Description in 5.8.7
Thanks for the confirmation.
Please note it is case-sensitive in both CCM > Hosts and CCM > Services sections.
It seems to be working fine in other sections.
I suggest you rename this thread to match the actual issue for future references.
Please note it is case-sensitive in both CCM > Hosts and CCM > Services sections.
It seems to be working fine in other sections.
I suggest you rename this thread to match the actual issue for future references.
Re: Services Search ignores Description case sensitive in 5.
Hello @mlabbepg
Done deal, I am not able to duplicate the issue on the CCM -> Hosts.
We will leave the report as is and wait for an update on the change log.
Thanks,
Perry
Done deal, I am not able to duplicate the issue on the CCM -> Hosts.
We will leave the report as is and wait for an update on the change log.
Thanks,
Perry