Solved

Resources Status page: search for a string with a space character

  • 28 November 2022
  • 4 replies
  • 206 views

Hi,

The new Resource Status page use regexp, while this is a good enhancement, it doesn’t permit to search for a string with a space in it. I tried quoting the string (both simple and double), I also tried to use `\s`, none of this works.

How can I achieve that?

This is something the Monitoring/Services and Monitoring/Hosts pages permit. It’s useful when searching in the plugin output (or even sometimes in the service name).

I’m OK to do my best to start using this new Resource Status page (and, to incite my users to do so) but I’d like to have the same functionalities I had with the old ones.

icon

Best answer by Adrien Morais-Mestre 28 November 2022, 15:35

View original

4 replies

Userlevel 2
Badge +5

Hi Stéphane,

Could you please share your filter ?

I’ve tried on https://demo.centreon.com/ to search directly for “No broadcast storm” output for example and it worked

Regards,

Adrien

I don’t know the credential to access the Centreon demo.

If I use “process timeout” I also see only the results with “(Process Timeout)” in the Information column, but it would also show me results which have one of the two strings in the service name or host name, if I had some.

If I search for “information:process timeout” I got all the results with “process” in the Information column, plus those with “timeout” anyware.

But… I tried again using \s and now it seems to work 😯. I had probably encountered another bug in my previous try (could be a PEBKAC but I double checked so I’d be surprised).

I let you know if I have another buggy case, with the exact search string.

I’m interested in the credentials for the demo (didn’t find them with a quick search on Google). If I have a bug I’ll then try to reproduce it there so you could reproduce it too.

Userlevel 2
Badge +5

Credentials for the demo demo/centreon

I’ve searched for “Nombre de connection” with the following filter and it worked.

information:Nombre\sde\sconnexion

 

Je confirme, OK pour moi.

Reply