BigFix Actions allow a BigFix Console Operator to take virtually any action on BigFix Client computers. These actions can be embedded in custom content (Fixlets and Tasks) or can be used in custom actions. You can set the permissions of the BigFix Console users so they can be given custom content/action capabilities to send actions to BigFix Clients by using the BigFix Admin Tool.

Note: Custom content is not available in BigFix Standard Edition.

 

Using Custom Actions/Custom Content

To use custom actions:

  1. Open the BigFix Console and go to Tools > Take Custom Action (if the selection is grayed out then you do not have permission to use default actions).
  2. You will now be prompted with the Take Action dialog. The tabs are all the same as the normal Take Action dialog, except there are Action Script and Relevance Tabs.
  3. Fill in the Action Script with your custom action and use the other tabs to specify your action parameters (target computers, contraints, etc.).

To create custom content (for more information about authoring custom content, go to Custom Authoring):

  1. Open the BigFix Console and go to Tools > Create New Fixlet Message or Tools > Create New Task Message. Note that you can also right click on a Fixlet or Task and select "Create Custom Copy" to copy and then modify the fields from the Fixlet or Task. (If the selection is grayed out then you do not have permission to use default actions or you are using BigFix Standard Edition which does not include custom content capabilities).
  2. You will now be prompted with a Create Fixlet/Task Dialog.
  3. Fill in the requested tabs to create the custom content.
  4. Your Fixlet/Task will then appear in the Fixlet or Task tab. It will be stored in a Fixlet site with the same name as your user. If you do not see it appear in the relevant Fixlet/Task window within a few minutes, it probably means it is not relevant on any computers. You can uncheck View > Show Only Relevant Messages to make sure your Fixlet/Task was correctly created.

Embedding Relevance Expressions

The Windows action language has the ability to run embedded relevance expressions within the action. This adds significant power to the BigFix action language. Suppose you want to run an application that could be installed anywhere on a computer. If you had to hardwire a path, then it would be difficult to create an action that would work in all situations. However, if there was a registry value that contained the path to the application, you could use an embedded relevance expression to look up the value then run it. The resulting action might look like this:

Note: If your action contains curly braces you will need to escape them for your action to work properly. More info at:http://support.bigfix.com/cgi-bin/kbdirect.pl?id=1230

Comment Characters

Action language will ignore all lines that start with //. This makes it easy to add comments to an action for reference. For example:

// Action to stop the Messenger service so that users do not receive

// spam-like message pop-ups



dos net stop "Messenger"

Windows Action Reference

Following are a list of commonly used actions and some examples. For more details on all the possible actions, syntax, failure conditions, etc., please read the Windows Action Guide.

File Operations

Action language provides built-in file operation commands to allow quick simple operations.

Syntax

Examples

Notes

Registry Operations

Actions can also easily manipulate the registry by creating, changing, or deleting registry values.

Syntax

Examples

Notes

Execution Operations

Actions can easily run files to provide almost limitless power.

Syntax

Examples

Notes

Control Statements

Syntax

Examples

Note

Other

Syntax

Examples

Notes

Unix/Linux Action Reference

On Unix/Linux computers with the BigFix Client, you can choose to run shell scripts or use the BigFix Action Language.

Shell Script