17.08.2015 Views

Veritas Cluster Server Bundled Agents Reference Guide

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

Veritas™ Cluster Server Bundled Agents Reference Guide - Symantec

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Services and applications agents<br />

ServiceMonitor agent<br />

117<br />

Resource type definition<br />

type ServiceMonitor (<br />

static i18nstr ArgList[] = {MonitorService, ServiceOrScriptName,<br />

MonitorProgTimeout, UserAccount, Password, Domain }<br />

boolean MonitorService = 1<br />

i18nstr ServiceOrScriptName<br />

int MonitorProgTimeout = 30<br />

i18nstr UserAccount<br />

str Password<br />

i18nstr Domain<br />

)<br />

Attribute definitions<br />

Table 6-5<br />

ServiceMonitor agent required attributes<br />

Required Attribute<br />

ServiceOrScriptName<br />

Description<br />

The name of the service to be monitored or script to be spawned<br />

for monitoring the service. You must specify the complete path<br />

of the script, including any command-line arguments.<br />

This attribute can take localized values.<br />

Note: The exit code of the script must conform to VCS<br />

conventions: 110 for ONLINE and 100 for OFFLINE. For exit<br />

values outside the range 100-110, the status is considered<br />

UNKNOWN. Refer to the <strong>Veritas</strong> <strong>Cluster</strong> <strong>Server</strong> Agent Developer's<br />

<strong>Guide</strong> for more information.<br />

Type and Dimension: string-scalar<br />

Table 6-6<br />

ServiceMonitor agent optional attributes<br />

Optional Attributes<br />

Domain<br />

Description<br />

The domain to which the user belongs, as specified by the<br />

attribute UserAccount. If the domain name is not specified, the<br />

agent assumes the user to belong to the local machine.<br />

This attribute is ignored if the UserAccount attribute is not<br />

specified or if the domain name is specified in the UserAccount<br />

attribute itself.<br />

Note: This attribute can take localized values.<br />

Type and Dimension: string-scalar

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!