Skip to main content
Version: v1.7.x

Monitor Hikvision ISAPI

Monitor Hikvision devices through ISAPI interface to collect health data.

Monitor Configuration

ParameterDescription
HostThe IP or domain name of the monitored device. Note⚠️ Do not include protocol prefix (eg: https://, http://).
NameThe unique name that identifies this monitor.
PortNetwork request port, default is 80.
TimeoutTimeout period, in milliseconds, default is 5000ms.
UsernameLogin username for Hikvision device.
PasswordLogin password for Hikvision device.
SSLWhether to enable HTTPS, disabled by default.
Collection IntervalThe interval time for periodic data collection, in seconds. The minimum interval is 30 seconds.

Metrics

System Info

  • Device Name
  • Device ID
  • Firmware Version
  • Device Model
  • Mac Address

Status

  • CPU Utilization (%)
  • Memory Usage (MB)
  • Memory Available (MB)
  • Cache Size (MB)
  • Net Port 1 Speed (Mbps)
  • Net Port 2 Speed (Mbps)
  • Boot Time
  • Device Uptime
  • Last Calibration Time
  • Last Calibration Time Diff (s)
  • Avg Upload Time (ms)
  • Max Upload Time (ms)
  • Min Upload Time (ms)
  • Last Calibration Mode
  • Last Calibration Address
  • Response Time (ms)

Implementation Principle

The monitoring is implemented by accessing the Hikvision device's ISAPI interface:

  1. Collect system information through: /ISAPI/System/deviceInfo

  2. Collect device status through: /ISAPI/System/status

It uses HTTP protocol with Digest Authentication to access the interfaces and parses XML response data to extract monitoring metrics.