Regular Expression In Search Field

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
winnie
Posts: 26
Joined: Tue Feb 20, 2007 9:33 am

Regular Expression In Search Field

Post by winnie »

Hi,

Can anyone advise me how to do search using 'or' expression in the search field of the 'graph management' display? Example I want to search graphs with tittle contains infra or peering.

Thank you.

:oops:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There is no such feature, sorry. You may use SQL wildcards; that's it
Reinhard
drewshin99
Posts: 24
Joined: Thu Jan 22, 2009 5:06 pm

Post by drewshin99 »

yea it'd be nice if there were more options.

as gandalf stated, you can use:

% - any number of characters wildcard

so perhaps %infra% or %peering% or %pe%ing%


also i think you can use the _ which is a single char wildcard
winnie
Posts: 26
Joined: Tue Feb 20, 2007 9:33 am

Post by winnie »

Hi all,

Thank you so much for the prompt response.

I need the search key with regular expression 'or' to create aggregate graphs in Cacti. Hence, going to mysql database cannot solve my problem.

Is there any plan to add regular expression in the search field of graph management?

Thank you.
drewshin99
Posts: 24
Joined: Thu Jan 22, 2009 5:06 pm

Post by drewshin99 »

if you are looking to aggregate multiple graphs into one graph, look for gandalf's aggregate plugin.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests