DTC SIP Monitor
Use the nios_dtc_monitor_sip
module to create, update, or remove instances of the DTC SIP monitor object from a NIOS Grid. The DTC SIP monitor object is used to determine the health of a server by monitoring the response to an SIP request. For more information on the health monitor, refer to the Using DNS Traffic Control Health Monitors section in the Infoblox NIOS Documentation.
The following table describes the parameters you can define in the nios_dtc_monitor_sip
module:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the display name of the DTC monitor. |
| Optional | Specifies the port number for SIP requests. |
| Optional | Specifies an optional cipher list for the secure TLS/SIPS connection. |
| Optional | Specifies an optional client certificate, supplied in a secure TLS or SIPS mode if present. |
| Optional | Specifies the type of the SIP request to send. |
| Optional | Specifies the type of the expected result. |
| Optional | Specifies the expected return code. |
| Optional | Specifies the transport layer protocol to use for the SIP health check. |
| Optional | Indicates whether the validation of the remote server's certificate is enabled. |
| Optional | Specifies the interval for the HTTP health check. |
| Optional | Specifies the number of times the server should appear as down, for it to be treated as dead after it was alive. |
| Optional | Specifies the number of times the server should appear as up, for it to be treated as alive after it was dead. |
| Optional | Specifies the timeout in seconds for the SIP health check. It is the duration that a monitor waits to receive a response after sending a request. If a response is not received, it considers the check as failed. |
| Optional | Specifies extensible attributes for the DTC SIP monitor object. |
| Optional | Specifies the state of the DTC SIP monitor instance in NIOS. Set one of the following values:
|
| Optional | Describes the DTC SIP monitor object. |
| Required | A dictionary object that contains the connection details.
For information on additional fields you can define, see the list of subparameters in the NIOS Modules for Ansible Collections topic. |
| Required | The |
Examples
name: Configure a DTC SIP monitor
infoblox.nios_modules.nios_dtc_monitor_sip:
name: sip_monitor
state: present
provider:
host: <nios_hostname_or_hostip>
username: admin
password: admin
connection: local
name: Add a comment to an existing DTC SIP monitor
infoblox.nios_modules.nios_dtc_monitor_sip:
name: sip_monitor
comment: this is a test comment
state: present
provider:
host: <nios_hostname_or_hostip>
username: admin
password: admin
connection: local
name: Remove a DTC SIP monitor from the system
infoblox.nios_modules.nios_dtc_monitor_sip:
name: sip_monitor
state: absent
provider:
host: <nios_hostname_or_hostip>
username: admin
password: admin
connection: local