Class ComputerMonitor
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
A Computer Monitor Trigger
[ComVisible(true)]
[Guid("1a536ea1-ce6c-490b-9aea-cfe25825a846")]
public sealed class ComputerMonitor : Trigger, ISupportJobVariables
- Inheritance
-
objectComputerMonitor
- Implements
Properties
ClassID
The Class ID for the object
[IgnoreDataMember]
public override ClassID ClassID { get; }
Property Value
ClassKeyName
The key name for the class.
public override string ClassKeyName { get; }
Property Value
- string
Remarks
This name the name used by adTempus to identify the class and is intended for programmatic use only. Use the ClassName for a user-friendly name.
Credentials
The credentials to use to connect to the server, if different from the job's credentials.
public CredentialProfile Credentials { get; set; }
Property Value
GracePeriod
The time after which the job is triggered
public TimeSpan GracePeriod { get; set; }
Property Value
- TimeSpan
Remarks
The interval is rounded up to the nearest minute. The job is triggered if the GracePeriod has elapsed since the last successful response.
IsDependent
Indicates whether the object is a dependent of (owned by) another object
[IgnoreDataMember]
public override bool IsDependent { get; }
Property Value
- bool
Remarks
An independent object (IsDependent is false) is an object that can exist on its own without being part of another object. For example, Jobs, Job Groups, etc.
A dependent object (IsDependent is true) is a part of another object. For example, a JobStep cannot exist independently of a Job, so the JobStep is dependent.
Dependent objects cannot be directly fetched from the server: they are only fetched as part of the object they belong to. They also cannot be saved or deleted independently: they are automatically saved or deleted when the owning object is saved or deleted.
MatchOptions
Matching options when checking a Web server response.
public CMResponseMatchOptions MatchOptions { get; set; }
Property Value
MatchText
The text to match.
public string MatchText { get; set; }
Property Value
- string
MonitorType
The type of monitor.
public ComputerMonitorType MonitorType { get; set; }
Property Value
SaveToLocation
The location to save the response to.
public string SaveToLocation { get; set; }
Property Value
- string
Target
The name or address of the target computer.
public string Target { get; set; }
Property Value
- string
TestInterval
The interval to test at.
public TimeSpan TestInterval { get; set; }
Property Value
- TimeSpan
Remarks
The interval is rounded up to the nearest minute.
TriggerOptions
Options for the trigger.
public ComputerMonitorOptions TriggerOptions { get; set; }
Property Value
WaitTimeout
The timeout for requests.
public TimeSpan WaitTimeout { get; set; }
Property Value
- TimeSpan
Methods
GetTriggerDescription()
protected override string GetTriggerDescription()
Returns
- string
WriteToConfigurationReport(IADTObjectConfigurationReportWriter)
Writes the object and any contained objects to a configuration report
public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)
Parameters
| Name | Type | Description |
|---|---|---|
reportBuilder |
IADTObjectConfigurationReportWriter | The report builder to write the object to. |
Inherited Members
- Trigger.Name
- Trigger.MinimumInterval
- Trigger.Enabled
- Trigger.UserInterfaceExtensionID
- Trigger.UserInterfaceExtensionData
- Trigger.DescriptionOverride
- Trigger.SelectionScript
- Trigger.JobVariables
- Trigger.GetInheritedVariables(bool)
- Trigger.IgnoreExclusionPeriods
- ADTObject.LastModified
- ADTObject.CreationTimestamp
- ADTObject.FromController
- ADTObject.CustomProperties
- ADTObject.Description
- ADTObject.DescriptionTextType
- ADTObject.OID
- ADTObject.BindingDescription
- ADTObject.ToString()
- ADTObject.ParentObject
- ADTObject.CanPerform(SecurityPermission)
- ADTObject.Duplicate()
- ADTObject.DataContext
- ADTObject.AccessMask
- ADTObject.Validate(MessageCollection)
- ADTObject.SupportedSecurityActions
- ADTObject.SupportedSecurityInheritanceOptions
- ADTObject.GetTopLevelOwner()
- ADTObject.GetConfigurationReport()
- ADTObject.GetConfigurationReport(bool)
- ADTObject.IsReadOnly
- ObjectBase.IsDirty
- ObjectBase.IsNew
- ObjectBase.IsStub
- ObjectBase.ClassName
- ObjectBase.GetDescriptionWithClassName()
- ObjectBase.GetDescription()
- ObjectBase.BeginEdit()
- ObjectBase.BeginEdit(UndoLevelAction)
- ObjectBase.CommitEdit(Guid)
- ObjectBase.CommitEdit()
- ObjectBase.UndoEdit()
- ObjectBase.UndoEdit(Guid)