Advanced search
Moderators: Developers, Moderators
Advanced search
Hi,
It would be great if we could do an advanced search when searching for devices or graphs. That is, now we can only search one string: "switch 1", or "win server", or "router"; it would be useful if we could search:
"procurve" OR "catalyst" => result= all procurve and catalyst switches
"site A" AND "switch" ==> result= switches installed in site A
"site A" AND NOT "catalyst" ==> result= switchs in site A, but not catalyst
I hope I have explained properly
Regards,
Cesar
It would be great if we could do an advanced search when searching for devices or graphs. That is, now we can only search one string: "switch 1", or "win server", or "router"; it would be useful if we could search:
"procurve" OR "catalyst" => result= all procurve and catalyst switches
"site A" AND "switch" ==> result= switches installed in site A
"site A" AND NOT "catalyst" ==> result= switchs in site A, but not catalyst
I hope I have explained properly
Regards,
Cesar
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Because of string quoting, I don't think other operators will work.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
AND, OR are not supported. Cacti performs a LIKE operation, not a REGEXP operation. So wildcards only are supported (see http://dev.mysql.com/doc/refman/5.0/en/ ... rator_like)
% matches several characters
_ matches a single character
You may combine multiple wildcarding sequences, e.g.
host%- traf% bandwid%
Reinhard
% matches several characters
_ matches a single character
You may combine multiple wildcarding sequences, e.g.
host%- traf% bandwid%
Reinhard
-
- Posts: 6
- Joined: Mon Jul 02, 2007 8:19 pm
- Contact:
filtering base on sub-tree
I just noticed that the filter by host is so limited. Could it be editted to filter by sub-tree in the preview mode?
NMS Devices
|____ nms1
|____ nms2
Wan Routers
|____ router1
|____ router2
If i check it in the preview mode, it only has filtering by host. I'm really not good in php.I want to see all the graphs under the Wan Router Tree. Pls. someone check it out if its possible to filter by sub-tree.
NMS Devices
|____ nms1
|____ nms2
Wan Routers
|____ router1
|____ router2
If i check it in the preview mode, it only has filtering by host. I'm really not good in php.I want to see all the graphs under the Wan Router Tree. Pls. someone check it out if its possible to filter by sub-tree.
Re: Advanced search
In version 1.1.5 it does not work.
% and _ does not return anything.
For example:
% and _ does not return anything.
For example:
- Traffic%lagg
%cpu%
CPU_Temp
- ...Traffic - lagg0...
...- CPU Temp...
Re: Advanced search
1.1.5 supports regular expressions. So, you can do the following on the graphs page:
And both all matching items will show.(catalyst|cattlecar)
Before history, there was a paradise, now dust.
-
- Posts: 18
- Joined: Thu Sep 22, 2016 4:25 am
Re: Advanced search
Is it possible to perform, in the Cacti 0.8.8b version, a search similar to:
(catalyst|cattlecar)
Who is online
Users browsing this forum: No registered users and 0 guests