Skip to content
Back to solution packs catalog
Signed artifact v0.1.0 Storage & NVR Infrastructure Apache-2.0

Storage Entitlements & NVR Recording Health

io.serviceradar.storage-and-nvr-health

Monitors archive storage entitlement quota, PD5 hold-pin retention pressure, S3 role credential health, and continuous camera recording silence.

What's inside: 4 checks · 2 alert rules · 1 dashboard

Overview

Storage Entitlements and NVR Recording Health

Full-stack ServiceRadar Solution Pack (io.serviceradar.storage-and-nvr-health) monitoring SaaS archive storage entitlement utilization, PD5 investigation hold-pin budget share, S3 archive role credential and daily usage report health, and continuous camera recording silence.

Included Resources

Declarative Posture Checks (4)

  • storage-entitlement-utilization -- Evaluates storage.entitlement_utilization against warning and critical billable utilization thresholds and hard-cap state.
  • storage-hold-pin-pressure -- Evaluates storage.hold_pin_pressure to detect active investigation holds starving normal object retention.
  • storage-archive-credential-health -- Evaluates storage.archive_credential_and_usage_health for S3 writer/reader/retention credential health and daily usage report freshness.
  • camera-continuous-recording-silence -- Evaluates camera.continuous_recording_silence across enabled continuous recording policies.

Stateful Alert Rules (2)

  • storage_entitlement_hard_cap -- Opens a high-priority alert when storage entitlement hard-cap or critical utilization transitions to down.
  • camera_continuous_recording_silence -- Opens a high-priority alert when an enabled continuous camera recording policy seals zero blocks across the configured window.

Authored Dashboards (1)

  • storage-and-nvr-overview -- Unified SRQL overview dashboard tracking posture check availability, silent camera policy alerts, and storage health transitions.

Declarative Checks

Service & posture check DAGs (4)

Storage Entitlement Utilization

storage-entitlement-utilization

target: singleton Every 300s 3 nodes · 2 edges

Monitors SaaS recordings storage entitlement utilization and hard-cap enforcement.

signal verdict PLATFORM_POSTURE Entitlement Utilization storage.entitlement_util... THRESHOLD_ASSERT Utilization Thresholds utilization_percent ALERT_OUTPUT Storage Entitlement Ve... verdict -> service_state
Canonical check JSON (checks/entitlement-utilization.json)
{
  "alert_policy": {
    "cooldown_seconds": 300,
    "emit_ocsf_transition": true,
    "open_on_statuses": [
      "down"
    ],
    "priority": 2,
    "renotify_seconds": 21600,
    "threshold": 1,
    "window_seconds": 300
  },
  "credential_slots": [],
  "description": "Monitors SaaS recordings storage entitlement utilization and hard-cap enforcement.",
  "edges": [
    {
      "id": "e1",
      "source": "posture_1",
      "source_handle": "signal",
      "target": "assert_util",
      "target_handle": "in"
    },
    {
      "id": "e2",
      "source": "assert_util",
      "source_handle": "verdict",
      "target": "out_1",
      "target_handle": "in"
    }
  ],
  "inputs": [
    {
      "default": {
        "$pack_param": "utilization_warn_pct"
      },
      "description": "Warning utilization percentage",
      "key": "utilization_warn_pct",
      "max": 100.0,
      "min": 1.0,
      "type": "number"
    },
    {
      "default": {
        "$pack_param": "utilization_crit_pct"
      },
      "description": "Critical utilization percentage",
      "key": "utilization_crit_pct",
      "max": 100.0,
      "min": 1.0,
      "type": "number"
    }
  ],
  "managed": true,
  "name": "Storage Entitlement Utilization",
  "nodes": [
    {
      "config": {
        "consumer": "recordings",
        "evaluator": "storage.entitlement_utilization"
      },
      "id": "posture_1",
      "kind": "platform_posture",
      "label": "Entitlement Utilization"
    },
    {
      "config": {
        "crit": {
          "op": ">=",
          "value": "{{inputs.utilization_crit_pct}}"
        },
        "fail_closed_field": "hard_cap_active",
        "field": "utilization_percent",
        "warn": {
          "op": ">=",
          "value": "{{inputs.utilization_warn_pct}}"
        }
      },
      "id": "assert_util",
      "kind": "threshold_assert",
      "label": "Utilization Thresholds"
    },
    {
      "config": {
        "verdict_map": {
          "degraded": "approaching_entitlement_cap",
          "down": "entitlement_cap_exceeded",
          "healthy": "within_entitlement",
          "unknown": "entitlement_unconfigured"
        }
      },
      "id": "out_1",
      "kind": "alert_output",
      "label": "Storage Entitlement Verdict"
    }
  ],
  "pack_id": "io.serviceradar.storage-and-nvr-health",
  "pack_version": "0.1.0",
  "parameter_overrides": {},
  "schedule": {
    "interval_seconds": 300,
    "jitter_seconds": 15,
    "timeout_seconds": 30
  },
  "schema_version": 1,
  "slug": "storage-entitlement-utilization",
  "state": "enabled",
  "target_binding": {
    "mode": "singleton"
  },
  "ui_layout": {
    "nodes": {
      "assert_util": {
        "x": 380,
        "y": 120
      },
      "out_1": {
        "x": 680,
        "y": 120
      },
      "posture_1": {
        "x": 80,
        "y": 120
      }
    }
  }
}

Storage Hold Pin Pressure

storage-hold-pin-pressure

target: singleton Every 300s 3 nodes · 2 edges

Warns when PD5 RecordingHold pinned bytes consume archive budget and starve normal object retention.

signal verdict PLATFORM_POSTURE Hold Pin Pressure storage.hold_pin_pressure THRESHOLD_ASSERT Hold Budget Share held_share_percent ALERT_OUTPUT Hold Pin Verdict verdict -> service_state
Canonical check JSON (checks/hold-pin-pressure.json)
{
  "alert_policy": {
    "cooldown_seconds": 300,
    "emit_ocsf_transition": true,
    "open_on_statuses": [
      "down"
    ],
    "priority": 3,
    "renotify_seconds": 21600,
    "threshold": 1,
    "window_seconds": 300
  },
  "credential_slots": [],
  "description": "Warns when PD5 RecordingHold pinned bytes consume archive budget and starve normal object retention.",
  "edges": [
    {
      "id": "e1",
      "source": "posture_1",
      "source_handle": "signal",
      "target": "assert_holds",
      "target_handle": "in"
    },
    {
      "id": "e2",
      "source": "assert_holds",
      "source_handle": "verdict",
      "target": "out_1",
      "target_handle": "in"
    }
  ],
  "inputs": [
    {
      "default": {
        "$pack_param": "hold_warn_share_pct"
      },
      "description": "Warning percentage of archive budget pinned by active holds",
      "key": "hold_warn_share_pct",
      "max": 100.0,
      "min": 1.0,
      "type": "number"
    },
    {
      "default": {
        "$pack_param": "hold_crit_share_pct"
      },
      "description": "Critical percentage of archive budget pinned by active holds",
      "key": "hold_crit_share_pct",
      "max": 100.0,
      "min": 1.0,
      "type": "number"
    }
  ],
  "managed": true,
  "name": "Storage Hold Pin Pressure",
  "nodes": [
    {
      "config": {
        "evaluator": "storage.hold_pin_pressure"
      },
      "id": "posture_1",
      "kind": "platform_posture",
      "label": "Hold Pin Pressure"
    },
    {
      "config": {
        "crit": {
          "op": ">=",
          "value": "{{inputs.hold_crit_share_pct}}"
        },
        "fail_closed_field": "retention_starved",
        "field": "held_share_percent",
        "warn": {
          "op": ">=",
          "value": "{{inputs.hold_warn_share_pct}}"
        }
      },
      "id": "assert_holds",
      "kind": "threshold_assert",
      "label": "Hold Budget Share"
    },
    {
      "config": {
        "verdict_map": {
          "degraded": "hold_pressure_elevated",
          "down": "hold_pins_starving_retention",
          "healthy": "hold_pressure_nominal",
          "unknown": "hold_pressure_unknown"
        }
      },
      "id": "out_1",
      "kind": "alert_output",
      "label": "Hold Pin Verdict"
    }
  ],
  "pack_id": "io.serviceradar.storage-and-nvr-health",
  "pack_version": "0.1.0",
  "parameter_overrides": {},
  "schedule": {
    "interval_seconds": 300,
    "jitter_seconds": 15,
    "timeout_seconds": 30
  },
  "schema_version": 1,
  "slug": "storage-hold-pin-pressure",
  "state": "enabled",
  "target_binding": {
    "mode": "singleton"
  },
  "ui_layout": {
    "nodes": {
      "assert_holds": {
        "x": 380,
        "y": 120
      },
      "out_1": {
        "x": 680,
        "y": 120
      },
      "posture_1": {
        "x": 80,
        "y": 120
      }
    }
  }
}

Archive Credential and Usage Report Health

storage-archive-credential-health

target: singleton Every 300s 3 nodes · 2 edges

Detects missing or failing uploader/reader/retention S3 archive secrets and stale daily usage reports.

signal verdict PLATFORM_POSTURE Archive Credential & U... storage.archive_credenti... THRESHOLD_ASSERT Credential & Report Fr... report_age_hours ALERT_OUTPUT Archive Health Verdict verdict -> service_state
Canonical check JSON (checks/archive-storage-posture.json)
{
  "alert_policy": {
    "cooldown_seconds": 300,
    "emit_ocsf_transition": true,
    "open_on_statuses": [
      "degraded",
      "down"
    ],
    "priority": 2,
    "renotify_seconds": 21600,
    "threshold": 1,
    "window_seconds": 300
  },
  "credential_slots": [],
  "description": "Detects missing or failing uploader/reader/retention S3 archive secrets and stale daily usage reports.",
  "edges": [
    {
      "id": "e1",
      "source": "posture_1",
      "source_handle": "signal",
      "target": "assert_archive",
      "target_handle": "in"
    },
    {
      "id": "e2",
      "source": "assert_archive",
      "source_handle": "verdict",
      "target": "out_1",
      "target_handle": "in"
    }
  ],
  "inputs": [
    {
      "default": {
        "$pack_param": "max_report_age_hours"
      },
      "description": "Maximum permitted age in hours for StorageUsageDailyReport",
      "key": "max_report_age_hours",
      "max": 720.0,
      "min": 1.0,
      "type": "number"
    }
  ],
  "managed": true,
  "name": "Archive Credential and Usage Report Health",
  "nodes": [
    {
      "config": {
        "evaluator": "storage.archive_credential_and_usage_health",
        "max_report_age_hours": "{{inputs.max_report_age_hours}}"
      },
      "id": "posture_1",
      "kind": "platform_posture",
      "label": "Archive Credential & Usage Health"
    },
    {
      "config": {
        "fail_closed_field": "credential_failure",
        "field": "report_age_hours",
        "warn": {
          "op": ">",
          "value": "{{inputs.max_report_age_hours}}"
        }
      },
      "id": "assert_archive",
      "kind": "threshold_assert",
      "label": "Credential & Report Freshness"
    },
    {
      "config": {
        "verdict_map": {
          "degraded": "usage_report_stale",
          "down": "archive_credentials_unhealthy",
          "healthy": "archive_and_usage_healthy",
          "unknown": "archive_health_unknown"
        }
      },
      "id": "out_1",
      "kind": "alert_output",
      "label": "Archive Health Verdict"
    }
  ],
  "pack_id": "io.serviceradar.storage-and-nvr-health",
  "pack_version": "0.1.0",
  "parameter_overrides": {},
  "schedule": {
    "interval_seconds": 300,
    "jitter_seconds": 15,
    "timeout_seconds": 30
  },
  "schema_version": 1,
  "slug": "storage-archive-credential-health",
  "state": "enabled",
  "target_binding": {
    "mode": "singleton"
  },
  "ui_layout": {
    "nodes": {
      "assert_archive": {
        "x": 380,
        "y": 120
      },
      "out_1": {
        "x": 680,
        "y": 120
      },
      "posture_1": {
        "x": 80,
        "y": 120
      }
    }
  }
}

Camera Continuous Recording Silence

camera-continuous-recording-silence

target: singleton Every 180s 3 nodes · 2 edges

Detects enabled continuous CameraRecordingPolicy streams sealing zero non-quarantined blocks across silence_window_minutes.

signal verdict PLATFORM_POSTURE Continuous Recording S... camera.continuous_record... THRESHOLD_ASSERT Silent Policy Count silent_policy_count ALERT_OUTPUT Recording Silence Verdict verdict -> service_state
Canonical check JSON (checks/camera-recording-silence.json)
{
  "alert_policy": {
    "cooldown_seconds": 300,
    "emit_ocsf_transition": true,
    "open_on_statuses": [
      "down"
    ],
    "priority": 2,
    "renotify_seconds": 21600,
    "threshold": 1,
    "window_seconds": 300
  },
  "credential_slots": [],
  "description": "Detects enabled continuous CameraRecordingPolicy streams sealing zero non-quarantined blocks across silence_window_minutes.",
  "edges": [
    {
      "id": "e1",
      "source": "posture_1",
      "source_handle": "signal",
      "target": "assert_silence",
      "target_handle": "in"
    },
    {
      "id": "e2",
      "source": "assert_silence",
      "source_handle": "verdict",
      "target": "out_1",
      "target_handle": "in"
    }
  ],
  "inputs": [
    {
      "default": {
        "$pack_param": "silence_window_minutes"
      },
      "description": "Rolling window in minutes over which at least 1 block must seal",
      "key": "silence_window_minutes",
      "max": 1440,
      "min": 5,
      "type": "integer"
    }
  ],
  "managed": true,
  "name": "Camera Continuous Recording Silence",
  "nodes": [
    {
      "config": {
        "evaluator": "camera.continuous_recording_silence",
        "silence_window_minutes": "{{inputs.silence_window_minutes}}"
      },
      "id": "posture_1",
      "kind": "platform_posture",
      "label": "Continuous Recording Silence"
    },
    {
      "config": {
        "crit": {
          "op": ">=",
          "value": 1
        },
        "field": "silent_policy_count"
      },
      "id": "assert_silence",
      "kind": "threshold_assert",
      "label": "Silent Policy Count"
    },
    {
      "config": {
        "verdict_map": {
          "degraded": "recording_degraded",
          "down": "continuous_recording_silent",
          "healthy": "recording_active",
          "unknown": "recording_status_unknown"
        }
      },
      "id": "out_1",
      "kind": "alert_output",
      "label": "Recording Silence Verdict"
    }
  ],
  "pack_id": "io.serviceradar.storage-and-nvr-health",
  "pack_version": "0.1.0",
  "parameter_overrides": {},
  "schedule": {
    "interval_seconds": 180,
    "jitter_seconds": 10,
    "timeout_seconds": 30
  },
  "schema_version": 1,
  "slug": "camera-continuous-recording-silence",
  "state": "enabled",
  "target_binding": {
    "mode": "singleton"
  },
  "ui_layout": {
    "nodes": {
      "assert_silence": {
        "x": 380,
        "y": 120
      },
      "out_1": {
        "x": 680,
        "y": 120
      },
      "posture_1": {
        "x": 80,
        "y": 120
      }
    }
  }
}

Observability Rules

Alert & event rules (2)

Storage Entitlement Hard Cap

storage_entitlement_hard_cap

stateful_alert_rule install: enabled severity: 20

Alerts when archive storage entitlement hard-cap enforcement activates or billable utilization exceeds critical threshold.

threshold: 1 window: 300s cooldown: 300s
Canonical rule JSON (rules/storage-hard-cap-alert.json)
{
  "alert": {
    "severity": "critical",
    "summary": "Storage entitlement hard-cap or critical utilization threshold exceeded"
  },
  "bucket_seconds": 60,
  "cooldown_seconds": 300,
  "description": "Alerts when archive storage entitlement hard-cap enforcement activates or billable utilization exceeds critical threshold.",
  "event": {
    "log_name": "health.storage_entitlement_cap"
  },
  "group_by": [
    "check_slug"
  ],
  "install_state": "enabled",
  "kind": "stateful_alert_rule",
  "match": {
    "check_slug": "storage-entitlement-utilization",
    "status": "down"
  },
  "name": "storage_entitlement_hard_cap",
  "priority": 20,
  "renotify_seconds": 21600,
  "signal": "event",
  "threshold": 1,
  "window_seconds": 300
}

Camera Continuous Recording Silence

camera_continuous_recording_silence

stateful_alert_rule install: enabled severity: 25

Alerts when continuous NVR camera recording policies seal zero non-quarantined blocks across the configured silence window.

threshold: 1 window: 300s cooldown: 300s
Canonical rule JSON (rules/camera-silence-alert.json)
{
  "alert": {
    "severity": "high",
    "summary": "Enabled continuous camera recording policy has sealed zero blocks"
  },
  "bucket_seconds": 60,
  "cooldown_seconds": 300,
  "description": "Alerts when continuous NVR camera recording policies seal zero non-quarantined blocks across the configured silence window.",
  "event": {
    "log_name": "health.camera_recording_silence"
  },
  "group_by": [
    "check_slug"
  ],
  "install_state": "enabled",
  "kind": "stateful_alert_rule",
  "match": {
    "check_slug": "camera-continuous-recording-silence",
    "status": "down"
  },
  "name": "camera_continuous_recording_silence",
  "priority": 25,
  "renotify_seconds": 21600,
  "signal": "event",
  "threshold": 1,
  "window_seconds": 300
}

Authored Dashboards

Portable dashboards (1)

Storage Entitlements & NVR Recording Health

storage-and-nvr-overview

4 panels

Overview of SaaS archive storage entitlement utilization, hold-pin retention share, S3 archive credential health, and continuous NVR camera recording activity.

Monitored Posture Services Unhealthy Storage & NVR Checks Open Storage & Recording Alerts Storage & NVR Service Availability Breakdown
Canonical dashboard JSON (dashboards/storage-and-nvr-overview.json)
{
  "default_time_range": "last_24h",
  "description": "Overview of SaaS archive storage entitlement utilization, hold-pin retention share, S3 archive credential health, and continuous NVR camera recording activity.",
  "metadata": {
    "category": "Storage & NVR"
  },
  "panels": [
    {
      "data_binding": {
        "value": "total"
      },
      "display_config": {
        "unit": "checks"
      },
      "layout": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 0
      },
      "position": 0,
      "srql_query": "in:services stats:\"count() as total\"",
      "title": "Monitored Posture Services",
      "visual_config": {},
      "visual_type": "stat"
    },
    {
      "data_binding": {
        "value": "failing"
      },
      "display_config": {
        "unit": "checks"
      },
      "layout": {
        "h": 3,
        "w": 4,
        "x": 4,
        "y": 0
      },
      "position": 1,
      "srql_query": "in:services available:false stats:\"count() as failing\"",
      "title": "Unhealthy Storage & NVR Checks",
      "visual_config": {},
      "visual_type": "stat"
    },
    {
      "data_binding": {
        "value": "open_alerts"
      },
      "display_config": {
        "unit": "alerts"
      },
      "layout": {
        "h": 3,
        "w": 4,
        "x": 8,
        "y": 0
      },
      "position": 2,
      "srql_query": "in:alerts status:open stats:\"count() as open_alerts\"",
      "title": "Open Storage & Recording Alerts",
      "visual_config": {},
      "visual_type": "stat"
    },
    {
      "data_binding": {
        "category": "available",
        "value": "total"
      },
      "display_config": {},
      "layout": {
        "h": 5,
        "w": 12,
        "x": 0,
        "y": 3
      },
      "position": 3,
      "srql_query": "in:services stats:\"count() as total by available\"",
      "title": "Storage & NVR Service Availability Breakdown",
      "visual_config": {},
      "visual_type": "category"
    }
  ],
  "slug": "storage-and-nvr-overview",
  "title": "Storage Entitlements & NVR Recording Health",
  "variables": {},
  "version": 1
}

Parameters & Bindings

Config inputs & credential slots

Configuration parameters (6)

Key Type Default Bounds Description
utilization_warn_pct number 85.0 min: 1.0, max: 100.0 Warning threshold percentage for billable storage utilization.
utilization_crit_pct number 95.0 min: 1.0, max: 100.0 Critical threshold percentage for billable storage utilization.
hold_warn_share_pct number 50.0 min: 1.0, max: 100.0 Warning percentage of archive budget pinned by active investigation holds.
hold_crit_share_pct number 80.0 min: 1.0, max: 100.0 Critical percentage of archive budget pinned by active investigation holds.
max_report_age_hours number 36.0 min: 1.0, max: 720.0 Maximum permitted age in hours for StorageUsageDailyReport before warning.
silence_window_minutes integer 15 min: 5, max: 1440 Minutes with zero sealed blocks on an enabled continuous recording policy before alerting.

Abstract credential slots (0)

100% secret-free archive

Solution Packs never embed secret material or environment UUIDs. Declared slots bind locally to CNPG unified credentials (network_credential_secrets or network_credential_rules) during installation.

No external credentials required by this pack.

ServiceRadar Developer Portal

Docs, SDKs, solution packs, plugins, and native add-ons for building on ServiceRadar.

© 2026 Carver Automation Corporation. All rights reserved.

ServiceRadar® is a registered trademark of Carver Automation Corporation.