Tucows OpenSRS Integration with SPOG.AI

Overview

SPOG.AI integrates with Tucows OpenSRS to centralize domain inventory and lifecycle visibility. The implemented connector imports domains, expiration dates, lock status, nameservers, automatic-renewal status, and let-expire status into the SPOG.AI CMDB.

Key Features

CapabilityDescription
Domain InventoryImports OpenSRS domains returned for the connector expiry window.
Expiration TrackingCollects domain expiration dates for lifecycle visibility.
Renewal VisibilityTracks automatic-renewal and let-expire status.
Protection and DNS ContextCollects domain lock status and nameserver metadata.
CMDB EnrichmentNormalizes domain records and removes stale Tucows enrichment after a successful synchronization.

How the Integration Works

The SPOG Appliance sends signed OpenSRS XCP XML requests over HTTPS using the reseller username and API key. It retrieves domains by expiration date, pages through the results, requests status details for each domain, and enriches domain records with expiration, lock, nameserver, auto-renew, and let-expire attributes.

Prerequisites

  • Before configuring the integration, ensure the following prerequisites are met:
  • Tenant Admin authorization in SPOG.AI and permission to create integrations.
  • An active Tucows OpenSRS reseller account with API access enabled.
  • OpenSRS reseller username, API key, and API endpoint URL.
  • The SPOG Appliance public egress IP allowlisted in OpenSRS where required.
  • Outbound HTTPS access from the SPOG Appliance to the OpenSRS API endpoint.

Configuration

1. Prepare OpenSRS API Access

  • Configure API access in the Tucows Reseller Dashboard.
  • Open the API Settings or OpenSRS API Configuration page.
  • Record the reseller username and generate or retrieve the API key.
  • Allowlist the SPOG Appliance public egress IP when IP restrictions are enabled.

2. Record the API Endpoint

  • Identify the endpoint for the applicable OpenSRS environment.
  • Use the production endpoint assigned to the reseller account, such as https://rr-n1-tor.opensrs.net/.
  • Confirm the endpoint accepts signed XCP XML requests from the appliance network.

3. Configure and Link the Integration

  • Add the Tucows integration in SPOG.AI.
  • Enter the API endpoint, reseller username, and API key.
  • Run Test Connection, save the integration, and link it to the required appliance.

Configuration Fields

Use the fields below when creating the integration in SPOG.AI.

FieldRequirementDescription
hostMandatoryOpenSRS API endpoint URL, such as https://rr-n1-tor.opensrs.net/.
reseller_usernameMandatoryOpenSRS reseller username sent in the X-Username header.
api_keyMandatoryOpenSRS API key used to generate the X-Signature request header.

Security and Connectivity

  • Use a dedicated, least-privileged reseller credential for domain inventory.
  • Store the API key in a secrets vault, rotate it periodically, and revoke it immediately if compromised.
  • Restrict API access through OpenSRS IP allowlisting where supported.
  • Allow outbound HTTPS port 443 to the configured OpenSRS endpoint and require TLS 1.2 or later.
  • Note: the current connector disables certificate verification on the domain-list request and logs request headers and provider responses; remediate these issues before production deployment.

Validation and Data Coverage

Run Test Connection or start a synchronization, then confirm Tucows domains appear in SPOG.AI with expiration, lock, nameserver, auto-renew, and let-expire data. Authentication or permission failures indicate an invalid reseller username, API key, or IP allowlist; timeouts usually indicate DNS, proxy, firewall, or endpoint issues.

Data Coverage

CategoryData Collected
DomainsDomains returned by the OpenSRS get_domains_by_expiredate action for the connector window.
LifecycleExpiration date, automatic-renewal status, and let-expire status.
ProtectionDomain lock status returned by the OpenSRS status query.
NameserversNameserver metadata returned with domain status.
Not ImplementedDNS zone or record ingestion, registrar and ownership details, DNS health checks, drift detection, write operations, and automated incident creation are not performed by the current connector.

Uninstalling the Integration

  • Delete the Tucows integration in SPOG.AI and unlink it from the appliance.
  • Revoke or replace the OpenSRS API key when it is no longer required.
  • Remove obsolete IP allowlist, firewall, or proxy rules.
Frequently Asked Questions

GoDaddy Integration with SPOG.AI

SPOG.AI integrates with GoDaddy to centralize active-domain inventory and lifecycle visibility. The implemented connector imports domain registration, expiry, renewal, lock, privacy, WHOIS-exposure, and nameserver metadata into the SPOG.AI CMDB.

Key Features

CapabilityDescription
Domain InventoryImports active domains accessible to the configured GoDaddy customer account.
Lifecycle VisibilityCollects expiration dates and automatic-renewal status.
Protection StatusTracks domain lock, transfer protection, and privacy attributes.
Registration ContextIncludes WHOIS-exposure and nameserver metadata returned by GoDaddy.
CMDB EnrichmentNormalizes domain records and removes stale GoDaddy enrichment after a successful synchronization.

How the Integration Works

The SPOG Appliance calls the GoDaddy Domains API over HTTPS using an API key and secret in the sso-key authorization header. It supplies the configured customer ID, requests active domains with nameserver data, follows pagination markers, normalizes the returned lifecycle and protection attributes, and enriches domain records in SPOG.AI.

Prerequisites

Before configuring the integration, ensure the following prerequisites are met:

  • Tenant Admin authorization in SPOG.AI and permission to create integrations.
  • A GoDaddy account eligible to use the required production or OTE API environment.
  • A GoDaddy API key, API secret, and customer or shopper ID.
  • The domains to be inventoried must be accessible to the configured GoDaddy customer account.
  • Outbound HTTPS access from the SPOG Appliance to the selected GoDaddy API endpoint.

Configuration

1. Create GoDaddy API Credentials

Create a dedicated API key in the GoDaddy Developer Portal.

  • Open My Apps or API Keys and create a new key.
  • Select Production for live domains or OTE for test data.
  • Copy the API key and secret immediately, then store them securely.

2. Record the Customer ID

Identify the account context used by the Domains API.

  • Record the GoDaddy customer or shopper ID associated with the domains.
  • Confirm the API credential can read the required active domains.

3. Configure and Link the Integration

Add the GoDaddy integration in SPOG.AI.

  • Enter the API host, API key, API secret, and customer ID.
  • Run Test Connection, save the integration, and link it to the required appliance.

Configuration Fields

Use the fields below when creating the integration in SPOG.AI.

FieldRequirementDescription
hostMandatoryGoDaddy API base URL, such as https://api.godaddy.com or the approved OTE endpoint.
api_keyMandatoryAPI key created in the GoDaddy Developer Portal.
api_secretMandatorySecret paired with the API key; copy it when generated.
customer_idMandatoryGoDaddy customer or shopper identifier supplied to the Domains API.

Security and Connectivity

  • Use a dedicated, least-privileged credential for read-only domain inventory.
  • Store the key and secret in a secrets vault, rotate them periodically, and revoke them immediately if compromised.
  • Allow outbound HTTPS port 443 to the configured GoDaddy endpoint and require TLS 1.2 or later.
  • Plan for GoDaddy rate limits and account eligibility restrictions.
  • Note: the current connector disables certificate verification internally and logs credential values; remediate both issues before production deployment.

Validation and Data Coverage

Run Test Connection or start a synchronization, then confirm active GoDaddy domains appear in SPOG.AI with expiry, renewal, protection, privacy, WHOIS-exposure, and nameserver data. A 401 indicates invalid credentials, a 403 indicates insufficient access, ACCESS_DENIED can indicate account eligibility restrictions, and timeouts usually indicate DNS, proxy, or firewall issues.

DataCoverage
DomainsActive domains returned by the GoDaddy /v1/domains endpoint.
LifecycleExpiration timestamp and automatic-renewal status.
ProtectionLock, transfer-protection, privacy, and WHOIS-exposure attributes.
NameserversNameserver details included in the domain response.
Not ImplementedDNS record ingestion, SSL certificate collection, account-profile ingestion, write operations, and webhook processing are not performed by the current connector.

Uninstalling the Integration

  • Delete the GoDaddy integration in SPOG.AI and unlink it from the appliance.
  • Revoke or delete the GoDaddy API key and secret when they are no longer required.
  • Remove obsolete firewall, proxy, or allowlist rules.

Nagios Integration with SPOG.AI

Overview

Integrating Nagios with SPOG.AI enables centralized monitoring and streamlined incident management. This integration involves configuring Nagios to send alerts to SPOG.AI via webhooks.

Key Features

CapabilityDescription
Webhook Alert DeliveryNagios sends alerts to SPOG.AI through webhook POST requests.
Host & Service NotificationsNagios triggers notifications on host or service state changes, which are delivered to SPOG.AI.
JSON PayloadsNotification commands send JSON payloads with relevant alert fields (hostname, state, service, output, etc.).
Incident Mapping & CMDB EnrichmentSPOG.AI maps incoming webhooks to incidents or enriches them with CMDB context.
Unified Dashboards & CorrelationProvides unified dashboards, alert correlation, and incident workflows.
Recovery AlertsReceives recovery / resolved alerts, depending on Nagios notification settings.
Centralized MonitoringEnables centralized monitoring and streamlined incident management.

How the Integration Works

Nagios triggers notifications on host or service state changes. Notification commands (via curl or HTTP client) are defined to make a webhook POST to a SPOG.AI endpoint, sending JSON payloads with relevant alert fields (hostname, state, service, output, etc.).

SPOG.AI ingests these webhooks, maps them to incidents or enriches them with CMDB context, and provides unified dashboards, alert correlation, and incident workflows.

Data Collected

When integrated, you can expect SPOG.AI to receive:

CategoryData CollectedDescription
Host AlertsHost name, state (UP, DOWN, UNREACHABLE), output / messageAlerts raised for host state changes.
Service AlertsHost name, service description, state (OK, WARNING, CRITICAL), outputAlerts raised for service state changes.
Timestamps & Macro FieldsTimestamps, macro fields (e.g. $SHORTDATETIME$, $NOTIFICATIONTYPE$, etc.)Time and notification details supplied by Nagios macros.
Recovery AlertsRecovery / resolved alerts, depending on Nagios notification settingsAlerts indicating a host or service has recovered.
Correlation & FilteringCorrelation / filtering capabilities in SPOG to group related alertsGrouping of related alerts within SPOG.AI.

Prerequisites

Before configuring the integration, ensure the following prerequisites are met:

  • You must have Admin / Tenant Admin privileges in SPOG.AI to configure the integration.
  • You have access to modify your Nagios configuration (Nagios Core, Nagios XI, or equivalent), specifically commands, contacts, and host/service definitions.
  • Nagios notification logic (host/service notifications) must be enabled.
  • The SPOG webhook endpoint (URL) must be reachable from the Nagios server(s).
  • You understand Nagios’ notification and macro system (Nagios supports macros in commands).
  • Some familiarity with Nagios’ event handler and notification timing logic is useful (Nagios sends notifications on state changes / intervals).

Configuration

1. Generate Connection Details

Obtain SPOG Webhook URL

  • In SPOG.AI: go to Settings → Integrations → Add Integration.
  • Select Nagios / Monitoring Integration, click Configure.
  • SPOG will generate a Webhook Endpoint URL (e.g. https://spog.example.com/webhook/nagios)
  • Copy and securely store this URL (it’s the destination Nagios will call).

2. Configure Nagios in SPOG

Step 1: Create Webhook Notification Commands

  • In Nagios configuration (commands.cfg or via UI in Nagios XI), define commands that use curl or a similar HTTP client to POST JSON payloads to the SPOG webhook.

Example definitions:

define command {
command_name notify-host-by-webhook
command_line /usr/bin/curl -X POST -H ‘Content-Type: application/json’ \
-d ‘{“host”:”$HOSTNAME$”,”state”:”$HOSTSTATE$”,”output”:”$HOSTOUTPUT$”}’ \
https://webhook.spog.ai/your-endpoint
}

define command {
command_name notify-service-by-webhook
command_line /usr/bin/curl -X POST -H ‘Content-Type: application/json’ \
-d ‘{“host”:”$HOSTNAME$”,”service”:”$SERVICEDESC$”,”state”:”$SERVICESTATE$”,”output”:”$SERVICEOUTPUT$”}’ \
https://webhook.spog.ai/your-endpoint
}
  • Be sure to escape quoting and handle special characters if needed.

Step 2: Create a Contact for Webhook Notifications

In Nagios contacts definitions:

define contact {
contact_name webhook_contact
service_notification_period 24×7
host_notification_period 24×7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-service-by-webhook
host_notification_commands notify-host-by-webhook
}
  • In Nagios XI, you can do this via Core Config Manager → Contacts UI.

Step 3: Assign Contact to Contact Groups

  • Edit or create a contact group (e.g. webhook_group) and add webhook_contact as a member.
  • This ensures notifications to that group trigger webhook commands.

Step 4: Assign Contact / Contact Group to Hosts & Services

In the host and service definitions, include:

contacts webhook_contact
contact_groups webhook_group
  • Or assign the contact group you created above.

Step 5: (Optional) Use Notification / Event Handler Settings

  • Ensure the host/service has notification options enabled (for warning, critical, recoveries) and within notification periods.
  • Nagios will only send notifications when the notification filters are satisfied (e.g. not in downtime, not flapping).

Step 6: Restart / Reload Nagios

  • Save configuration changes, check configuration validity (/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg or equivalent).
  • Restart or reload Nagios:
sudo systemctl restart nagios
  • (or service nagios reload, etc.)

3. Security & Access Control

  • Protect the SPOG webhook endpoint — ensure it uses HTTPS and optionally expects an authorization header / token.
  • On Nagios side, run curl under a user with limited privileges (Nagios’ account).
  • Be cautious with shell quoting / injection vulnerabilities in command definitions.
  • Validate payloads on SPOG side (e.g. HMAC signature, IP allowlist).
  • Use firewall / ACL rules to allow only your Nagios server(s) to call the webhook.
  • Limit the contact / webhook configuration changes to authorized operators only.
  • Log webhook calls and responses (success / failure) on SPOG side for audit.

4. Network & Connectivity

  • The Nagios server must reach the SPOG webhook URL over HTTPS (port 443).
  • Ensure firewalls, proxies or NAT do not strip or tamper with HTTP headers (especially JSON body).
  • If the webhook is behind NAT / load balancer, ensure DNS / SSL resolution is correct from Nagios host.
  • Set appropriate HTTP timeouts in curl (e.g. –max-time 10) to avoid hanging Nagios notifications.

5. Validation & Testing

  • Use Nagios UI or force a test notification (e.g. via a forced event) and verify that SPOG receives the JSON payload.
  • Use manual cURL to test:
curl -X POST -H ‘Content-Type: application/json’ \
-d ‘{“test”:”nagios”}’ https://webhook.spog.ai/your-endpoint
  • Check Nagios logs (e.g. nagios.log) for errors or failed notification commands.
  • Inspect SPOG’s logs or dashboard to confirm ingestion of alerts.
  • Simulate both host and service alerts to test both command paths.
  • Check edge cases: notifications suppressed (in downtime), recoveries, multiple alerts in quick succession.

Uninstalling the Integration

  • In SPOG.AI, remove the Nagios integration entry.
  • In Nagios configuration:
  • 1. Remove the custom commands (notify-host-by-webhook, notify-service-by-webhook).
  • 2. Remove contact definitions and contact groups referencing the webhook.
  • 3. Remove references to that contact / group in host and service definitions.
  • Reload or restart Nagios to apply changes.
  • Confirm no further webhook POSTs are sent to SPOG.
Frequently Asked Questions