Realtime live · 1s ago VSS discovery ONVIF · SNMP · RTSP Pollers 12/12 OFC backbone 184.6 Gbps PA / PIS all stations RPF feeds live Predictive AI trained 2h ago last sync · just now
Integrations · Terraform
Declarative NMS, as code.
Define monitoring + thresholds in HCL · plan → apply
example.tf
terraform block
terraform {
required_providers {
lens-nms = { source = "lenscorp/nms" version = "~> 1.0" }
}
}
resource "lens-nms_site" "mela" {
name = "Haridwar · Mela Control Room"
business = "lens-corp"
sla_target = 99.5
}
resource "lens-nms_monitoring_config" "mela_cameras" {
name = "Mela camera baseline"
protocol = "ONVIF"
period = "30s/5m/30m"
site_id = lens-nms_site.mela.id
threshold {
metric = "rtsp.latency_ms"
warning = 250
critical = 400
mode = "baseline"
}
}