Server Monitoring API.
Retrieve the current policy for monitoring of named server.
See also
Parameters: | name (String) – Name of the service. Service names are 1-64 characters A-Z, a-z, 0-9, -, . and _. Ensure this value has at most 64 characters. |
---|---|
Returns: | A dictionary of flags corresponding to those set by server.monitoring.set_policy(). |
Create a monitoring rule for name.
Parameters: |
|
---|---|
Returns: | a dictionary with the new rule information in as described in server.monitoring.rule_info() |
Raises : | ApiErrorBadParameters if the correct combination of parameters have not been provided. |
Raises : | ApiErrorPreconditionFailed when attempting to set up alerts not within the server’s Monitoring support level, or rule quota reached. |
Delete the monitoring rule with rule_id for name
Raises : | ApiErrorBadParameters if the rule_id is not valid. |
---|---|
Raises : | ApiErrorDoesNotExist if the rule_id does not exist for this account. |
Parameters: |
|
Info about a monitoring rule
Parameters: |
|
---|---|
Returns: | a dictionary with the following keys
|
Raises : | ApiErrorDoesNotExist if the rule_id does not exist for this account. |
Provides information on Server Monitoring rules for name
Parameters: | name (String) – Name of the service. Service names are 1-64 characters A-Z, a-z, 0-9, -, . and _. Ensure this value has at most 64 characters. |
---|---|
Returns: | list of dictionaries as described in server.monitoring.rule_info(). |
Update the monitoring rule with rule_id for name
Parameters: |
|
---|---|
Returns: | a dictionary with the rule information in as described in server.monitoring.rule_info() |
Raises : | ApiErrorBadParameters if the rule_id is invalid or the updated rule is invalid. |
Set the monitoring policy for the named server.
See also
Parameters: |
|
---|---|
Returns: | A dictionary as described in job.status(). |
Raises : | Will raise ApiErrorBadParameters for incompatible combinations of flags. |
Raises : | Will raise ApiErrorAlreadyInProgress if a policy change is already in progress. |