Auto exclude servers from Fixlet

Hi guys,

Saw some very old topics about it so hoping there are some new fetures.

I have a fixlet that I don’t want to be relevant to a specific list of servers.

I created a Computer group name “My_New_Servers”.

Can I, when creating the new Fixlet, add in the relevance that it will not show in the applicable list the servers that in my Computer group?

Yes, you can exclude computers that are members of a specific Computer Group by adding the following relevance to the Fixlet:

not member of group 12345 of site "actionsite"

Replace 12345 with the ID of your My_New_Servers Computer Group.

Computers that are members of that group will evaluate this relevance as False, so the Fixlet will not be relevant/applicable to them.

2 Likes

As @vk.khurava has advised, yes you can do this though how will depend on whether you are using a manual group, an automatic group or a server group.

For an automatic group, the group ID and site name are use in the relevance, eg

member of group 2794 of site "CustomSite_BF-2dGroups"

For a manual group, your relevance would need to reference the client setting that is created by the console when the group is created, which would be something like __Group_0_{group name}.

exists setting "__Group_0_Test Group - Manual" whose (value of it is "True") of client

For a server group, you'd again need to reference the assigned group name, similar to the manual group but it would be along the lines of __Group_1_{group name}

exists setting "__Group_1_Test Group - Server" whose (value of it is "True") of client

If unsure, a trick I use is to create an empty fixlet then use the "Computers which match {any|all} the of the conditions below" then add the group membership filter(s). This creates the fixlet with the relevance needed for the group detection that you can then copy into the fixlet you need this in.

4 Likes

That’s pretty standard process.

Depending on our needs, our most common exclusions are:

  1. Member or Not a member of a Group (automatic group obviously HIGHLY preferred)
  2. Existence of, lack of existence of, and/or value of a Client Setting

Note: Client setting also can drive a group membership, so lots of power of using these together as well

1 Like

Hi SLB,

Thanks for the replay. This solved my issue.

Made it relevant to all servers not in the list. Now I have an easy life just adding servers to the group iand it automatically will nor run this fixlet on them.

Thanks,

Roy.

1 Like