Nocward
Nocward Monitoring
Nocward Monitoring How-to guides 3 min read

AI assistant and integrations

Explain findings and chat about your network with your own AI provider key, show live network status in ISP Billing, feed Prometheus and Grafana, and receive alerts from other systems.

Last updated 11 November 2026

AI assistant

Important

Available in the Business edition and above. You use your own API key from an AI provider.

AI → Add provider: choose one of the supported AI providers and paste your own API key for it. You can save several; one is Active at a time.

  • Explain with AI on a finding describes what the evidence means and what to check.
  • The Chat assistant answers questions about your devices and active findings, grounded in a snapshot of the current network state - for example “Which devices are disabled?” or “Why is there a loop warning on access-sw-12?”.

Only the snapshot needed for a question is sent to the provider, and only when you use the feature. The assistant does not change anything. The provider key is stored encrypted.

ISP Billing integration

Important

Needs the Business edition or above on both Monitoring and Nocward ISP Billing.

With the integration, the network tab of each subscriber in ISP Billing shows live state from Monitoring: whether the subscriber’s NAS, OLT and CPE are reachable and the ONT’s optical signal. Support sees the cause of a problem while the customer is still on the line.

The integration is read-only: Billing asks, Monitoring answers. Billing keeps managing its own devices; Monitoring only adds its observations.

Set it up

  1. In Monitoring, Settings → Access and audit → API Keys → create a key and choose the type ISP Billing (read-only). Copy it. This key can only read device state - it cannot send data or change anything.
  2. In ISP Billing, open the Nocward Monitoring integration settings, enter the Monitoring address (for example https://nms.example.com) and the key, and click Test connection.

Devices are matched by IP address (NAS, OLT, CPE) and ONTs by serial number, so the devices must be monitored under the same addresses Billing knows them by.

Prometheus and Grafana

Monitoring exports its latest readings - devices, ping, every vendor and agent reading, interface counters and service checks - at /api/metrics/prometheus in the Prometheus text format.

  1. Settings → Access and audit → API Keys → create a key of type Prometheus (read-only). It reads one organization’s data and nothing else, and is refused everywhere else.

  2. Add a job to your Prometheus:

    scrape_configs:
      - job_name: nocward
        scheme: https
        metrics_path: /api/metrics/prometheus
        scrape_interval: 60s
        scrape_timeout: 30s
        authorization:
          type: Bearer
          credentials: "<the Prometheus API key>"
        static_configs:
          - targets: ["nms.example.com"]
  3. In Grafana, add that Prometheus as a data source and import the Nocward Monitoring dashboard that comes with the release (ops/prometheus/grafana-dashboard.json).

Receive alerts from other systems

Other tools can raise Monitoring alerts, which then go to your channels like any other alert. They authenticate with an API key of type Collector (sends data) - create a separate key for each sending system, so you can revoke one without touching the others, and keep it only on trusted systems:

curl -X POST https://nms.example.com/api/ingest/alerts \
  -H "X-API-Key: <key>" -H "Content-Type: application/json" \
  -d '{"title": "Backup job failed", "message": "Nightly backup exited with code 2",
       "severity": "critical", "state": "alert",
       "source": "backup-server", "key": "nightly-backup", "device": "core-sw1"}'
Field Meaning
severity critical, warning or info
state alert, or recovered to close it
key Identifies the problem, so the recovery matches the alert
device Optional: a device’s name or address

Switch them on, off or change their wording under Settings → Alerting → Alert rules → External alert.

Ticketing systems

Notification channels of type Opsgenie, Jira and ServiceNow open an alert, issue or incident for a problem and close it when it recovers - see Alert rules and notifications.

Was this page helpful?

Have an idea for the product itself? Suggest an idea