Cluster Server 8.0 Bundled Agents Reference Guide - Windows
- Introducing VCS bundled agents
- Storage agents
- Network agents
- FileShare agents
- Services and applications agents
- VCS infrastructure and support agents
- VCS hardware replication agent for NetApp
- Troubleshooting bundled agents
Attribute definitions
Table: ServiceMonitor agent required attributes
Required Attribute | Description |
---|---|
ServiceOrScriptName | The name of the service to be monitored or script to be spawned for monitoring the service. You must specify the complete path of the script, including any command-line arguments. This attribute can take localized values. Note: The exit code of the script must conform to VCS conventions: 110 for ONLINE and 100 for OFFLINE. For exit values outside the range 100-110, the status is considered UNKNOWN. Refer to the Cluster Server Agent Developer's Guide for more information. Type and Dimension: string-scalar |
Table: ServiceMonitor agent optional attributes
Optional Attributes | Description |
---|---|
Domain | The domain to which the user belongs, as specified by the attribute UserAccount. If the domain name is not specified, the agent assumes the user to belong to the local machine. This attribute is ignored if the UserAccount attribute is not specified or if the domain name is specified in the UserAccount attribute itself. Note: This attribute can take localized values. Type and Dimension: string-scalar |
MonitorProgTimeout | The maximum wait time, in seconds, for the agent to receive a return value from the monitor script. This attribute is ignored if the MonitorService attribute is set to 1. Default is 30 seconds. Type and Dimension: integer-scalar |
MonitorService | Defines whether the agent monitors a service or starts a script. If set to 1, the agent monitors a service specified by the attribute ServiceOrScriptName. If set to 0 the agent starts a script specified by the attribute ServiceOrScriptName. Default is 1. Type and Dimension: boolean-scalar |
Password | The password for the user account, encrypted using the VCS Encrypt utility. This attribute is valid only if the MonitorService is set to 0 and UserAccount is not empty. For more information about the VCS Encrypt utility, see the Cluster Server Administrator's Guide. Type and Dimension: string-scalar |
UserAccount | A valid user account in whose context the service will be monitored. Username can be of the form username@domain.com or domain.com\username. If you do not specify a value for this attribute, then the user account of the service in the SCM is ignored. To monitor service under built-in accounts, you must provide explicit values. For example: User Account="LocalSystem", "Local Service", or "Network Service". Domain="NT Authority". The 'NT Authority' domain is not applicable for the 'LocalSystem' account. Note: This attribute can take localized values. Type and Dimension: string-scalar |