Valid on UNIX/Linux, Windows, z/OS
agentctrl sends Agent Technology control messages to an agent.
Windows
install-path\services\bin
UNIX/Linux, z/OS
install-path/services/bin
z/OS JCL
prefix.CAW0JCL(AGENTCTL)
This command has the following format:
agentctrl [-h hostname] [-s] [-c] mibName:agentName ctrlMessage [-a | -m]
Specifies the host name or IP address of the system on which the agent is running.
Default: local node
Extracts the information from the store, not the agent.
Prints in ConfigSet (ldconfig utility) format.
Specifies the top level OID in the agent MIB (as registered with the setup registration function AWF_RegName). This value is the name of the MIB you want to browse. This name is often (but not always) the same as the agent name.
Specifies the name of the agent to send the control message to (as registered with the setup registration function AWF_RegName, usually the agent executable name).
Specifies the control message text string.
Lists all objects (services and agents) registered with aws_orb.
Lists all MIBs loaded in the store.
The following list shows all the control messages that can be sent to the agent.
Exits the agent.
Pauses the agent.
Resumes the agent.
Exits the agent and automatically restarts it. A restart command must have been registered.
Pauses the specified task.
Resumes the specified task.
Removes the task from the scheduled task list.
Changes the interval of the specified task.
Stores all the agent's MIB values in Object Store.
Restores all the agent's MIB values from Object Store.
Removes all the agent's MIB values from Object Store.
Stores the values in a group or table as a configuration set in Object Store.
Restores the values in a configuration set into the agent's memory.
Removes the values in a configuration set from Object Store.
Stores all the attribute values for the specified group.
Restores all the attribute values for the specified group.
Removes all the attribute values for the specified group.
Stores all the attribute values for the specified table.
Restores all the attribute values for the specified table.
Removes all the attribute values for the specified table.
Stores the variable value for the specified variable.
Restores the variable value for the specified variable.
Removes the variable value for the specified variable.
Prints all attribute values for the specified table.
Prints all attribute values for the specified group.
Prints all registrations.
Prints all variables.
Prints all attribute values for the agent's entire MIB.
Prints from Object Store all the attribute values for the specified configuration set.
Starts logging into the specified file.
Stops logging.
Filters logging on the specified pattern.
Deletes the specified filter pattern.
Lists all patterns being filtered on.
Sets the logging level.
Sets the log file.
Returns the name of the log file.
Returns the current log level.
Gets the specified attribute value.
Sets the specified attribute.
Adds an instance of the specified attribute.
Gets the specified variable value.
Sets the specified variable.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |