Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Using the Command Line Interface | Monitoring Commands | sagcc list monitoring alerts
 
sagcc list monitoring alerts
Lists the alerts for a specified run-time component.
Syntax
*Command Central syntax:
sagcc list monitoring alerts  [nodeAlias=alias
[runtimeComponentId=componentid] [includeChildren=true] [options]
   
 options:   
[{--debug | -d}]   
[{--error | -r} file]   
[{--format | -f} {tsv args | xml | csv args | json}]   
[{--log | -l} file]   
[{--output | -o} file]   
[{--password | -p} password]   
[{--quiet | -q}]   
[{--server | -s} url]]   
[{--username | -u} user_name]
*Not supported by Platform Manager.
Arguments and Options
Argument or Option
Description
[nodeAlias=alias]
Optional. Specifies the alias name of the installation for which you want to retrieve information.
You can view a list of installations and their aliases using sagcc list landscape nodes.
[runtimeComponentId=componentid]
Optional. The ID of the run-time component for which you want to retrieve information. You can determine the IDs for run-time components using sagcc list inventory components.
[includeChildren=true]
Optional. Indicates whether to retrieve the status and state for a run-time component and its dependent components.
When you include this argument, Command Central retrieves monitoring data for the run-time component and all of its dependent components.
When you do not include this argument, Command Central retrieves monitoring data only for the run-time component.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Examples When Executing on Command Central
To execute a command on the Command Central server with host name “rubicon” and port “8090” to list the alerts for the run-time component that has the ID “OSGI-SPM” and is installed in the installation with alias name “sag01”, and have the output returned to the console in XML format:
sagcc list monitoring alerts sag01 OSGI-SPM --format xml  
--server http://rubicon:8090/cce --password secret
Because the {--username | -u} option is not specified, the command uses the default user name. For more information, see username. The command specifies “secret” for the user’s password.