SNMP settings
SNMP Settings are available in the Control Panel.
Besides third-party tools, it is also possible to utilise U-Alarm's HTTP API functionality for monitoring. To learn more, see the Status via HTTP section of the documentation.
U-Alarm can be monitored by standard monitoring tools like Nagios, Zabbix, LibreNMS etc. using Simple Network Monitoring Protocol (SNMP). Only read only queries are supported via SNMPv1 or v2c.
Note: The Allowed Hosts field only accepts IP addresses, for example:
192.168.0.1/24
The following subtrees are supported:
- SNMPv2-MIB::system (.1.3.6.1.2.1.1)
- SNMPv2-MIB::hrSystemUptime (.1.3.6.1.2.1.25.1)
- SNMPv2-MIB::hrStorage (.1.3.6.1.2.1.25.2)
- SNMPv2-MIB::hrProcessorTable (.1.3.6.1.2.1.25.3.3)
- UCD-SNMP-MIB::memory (.1.3.6.1.4.1.2021.4)
- UCD-SNMP-MIB::laTable (.1.3.6.1.4.1.2021.10)
- UCD-SNMP-MIB::systemStats (.1.3.6.1.4.1.2021.11)
- ULTI-UALARM-MIB (.1.3.6.1.4.1.57090.1.1)
With the exception of the last subtree, these are well supported by monitoring tools, often auto-discovered or templates are offered.
Currently, the following attributes are available from ULTI-UALARM-MIB (.1.3.6.1.4.1.57090.1.1):
Name | Type | Sub-oid |
---|---|---|
Overall healthiness of the software components | INTEGER enumeration (OK=1, ERROR=2) | 1.1.0 |
Textual low level error message from the system | UTF-8 string | 1.2.0 |
Avarage GPU usage | INTEGER | 1.3.0 |
Video storage space, free space | INTEGER MIB | 1.4.1.0 |
Video storage space, total size | INTEGER MIB | 1.4.2.0 |
Video storage space, used percentage | INTEGER MIB | 1.4.3.0 |
Number of configured cameras | INTEGER | 1.5.0 |
Detailed camera info table (.1.3.6.1.4.1.57090.1.1.1.1000.1):
Name | Type | Sub-oid |
---|---|---|
Camera index | INTEGER | 1.<CAMERA_INDEX>.1 |
Technical name of camera | UTF-8 string | 1.<CAMERA_INDEX>.2 |
Display name of camera | UTF-8 string | 1.<CAMERA_INDEX>.3 |
Problem description of camera | UTF-8 string | 1.<CAMERA_INDEX>.4 |
Healthiness of camera | INTEGER enumeration (OK=1, ERROR=2) | 1.<CAMERA_INDEX>.5 |
Assuming that there are at least 3 cameras, the 3rd camera's healthiness can be queried on the .1.3.6.1.4.1.57090.1.1.1.1000.1.1.3.5 oid. SNMP walk is supported, so monitoring tools can auto-generate their configuration dynamically.
Should your monitoring system require it, the MIB can be downloaded from: https://assets.ultinous.com/u-alarm/support/UALARM-MIB.txt
A Zabbix template is available at: https://assets.ultinous.com/u-alarm/support/zbx_ultinous_ualarm_templates.xml
It is created and tested on Zabbix 5.0 and depends on the following external templates: https://share.zabbix.com/network_devices/generic/ucd-snmp-mib-memory-monitoring https://share.zabbix.com/network_devices/generic/ucd-snmp-mib-load-average-monitoring
For other monitoring systems, refer to their manual about adding custom oid.