This reference describes Write Action composite modules in the UNIX/Linux Authoring Library example Management Pack.
ID
Unix.Authoring.ShellCommand.WriteAction
Description
A write action module type that runs a shell command through a WS-Management invocation.
Input
System.BaseData
Output
System.PropertyBagData
Configuration
Parameter
Type
TargetSystem
String
The target system for the monitor. Typically: $Target/#HostReferences#/Property[Type="#Unix Library Alias#!Microsoft.Unix.Computer"]/NetworkName$
ShellCommand
The “shell command” to execute on the remote host. See the Appendix section for discussion of quotes and special characters.
Timeout
Integer
Timeout (in seconds). If the command runs for longer than the timeout, its process is stopped without waiting for completion.
UserName
The Run As reference providing the UserName of the user that will run the command/script. $RunAs[Name="#MP Alias#!#Profile Name"]/UserName$
Password
The Run As reference providing the Password of the user that will run the command/script. $RunAs[Name="#MP Alias#!#Profile Name"]/Password$
Unix.Authoring.ShellScript.WriteAction
A write action module type that runs a shell script through a WS-Management invocation. The shell script is transferred to the UNIX/Linux host for each invocation
Microsoft.SystemCenter.WSManagement.WSManData
ShellScript
The contents of the shell script to execute on the remote host.
ScriptArguments
Command line arguments to be passed to the script.
Timeout (in seconds). If the script runs for longer than the timeout, its process is stopped without waiting for completion.