[racktables-users] Re: Feature request: Filter with NOT

  • From: "H.E. Weenink | Eliveld Networks B.V." <h.e.weenink@xxxxxxxxxxxxxxxxxx>
  • To: <racktables-users@xxxxxxxxxxxxx>
  • Date: Sat, 29 May 2010 21:17:09 +0200

Hello Denis, 

Thank you for your explanation. That really will help. 
Not as fancy as checkboxes, but good enough to do the job. 

Regards, Eef  

> -----Oorspronkelijk bericht-----
> Van: racktables-users-bounce@xxxxxxxxxxxxx 
> [mailto:racktables-users-bounce@xxxxxxxxxxxxx] Namens Denis Ovsienko
> Verzonden: zaterdag 29 mei 2010 21:16
> Aan: racktables-users@xxxxxxxxxxxxx
> Onderwerp: [racktables-users] Re: Feature request: Filter with NOT
> 
>  
>  
> 29.05.2010, 00:48, "H.E. Weenink | Eliveld Networks B.V." 
> <h.e.weenink@xxxxxxxxxxxxxxxxxx>:
> > Dear all,
> >
> >  I am a happy user of racktables since about 4 weeks. Took 
> some time to get everything on the right spot, but enjoying 
> more and more.
> > Very happy with: Objectlog and with filtering with Tags.
> >
> > About this tags I have a feature request. It would be nice 
> and very usefull if it were possible to use inverted filter.
> > Filter with all records where a specific tag is NOT set. In 
> combination with AND and OR, this makes almost a Swiss knife/filter.
> > In layout this could be extra checkbox .
> >
> > What to do with it? Example:
> > Now I have a tag for all servers I have to give a kernel update.
> > When doing the job I have second tag for: Update Kernel done.
> > When all servers are done, number of both tags is equal .
> > But how to find the servers I have to do?
> > For that I would want to set as a filter:
> > -    Chekbox for tag "KernelUPdate" AND NOT tag for "Update 
> Kernel done" .
> > and my list would get smaller and smaller untill al servers 
> are done.
> > (I use phpmyadmin to fastly unset all tags, to be used next time)
> >
> > I am no php/mysql programmer, so hope some of you could 
> need this too, and is willing to build this one.
> 
> This is already possible. First, enable "extra text" in the 
> filter (Config -> User interface, set "Suggest extra 
> expression in list filter" to "yes"). Then in the object view 
> you will see a textarea under tag checkboxes. There you can 
> input any text in RackCode format, in your case it would be:
> 
> {KernelUPdate} and not {Update Kernel done}
> 
> Having this filter applied, you will see matching records.
>  
> --
> Denis Ovsienko
>  
> 
> 
> 
> 

Other related posts: