Hikvision NVR SNMP
Pack Assetsβ
Templatesβ
The Centreon Pack Hikvision NVR SNMP brings 1 host template:
- HW-Device-Hikvision-Nvr-SNMP-custom
It brings the following Service Templates:
Service Alias | Service Template | Default | Discovery |
---|---|---|---|
Disks | HW-Device-Hikvision-Nvr-Disks-SNMP | X | |
Memory | HW-Device-Hikvision-Nvr-Memory-SNMP | X | |
Uptime | HW-Device-Hikvision-Nvr-Uptime-SNMP | X |
Collected metrics & statusβ
- Disks
- Memory
- Uptime
Metric name | Description | Unit |
---|---|---|
status | Status of the disk | |
disks.total.count | Current number of disks | |
disks.errors.count | Current number of disks with status: abnormal, smartfailed | |
disk_name#disk.space.usage.bytes | Space used on the disk | B |
disk_name#disk.space.free.bytes | Free space left on the disk | B |
disk_name#disk.space.usage.percentage | Space used on the disk in percentage | % |
Metric name | Description | Unit |
---|---|---|
memory.usage.bytes | Memory usage | B |
memory.free.bytes | Free memory | B |
memory.usage.percentage | Memory usage in percentage | % |
Metric name | Description | Unit |
---|---|---|
system.uptime.seconds | System uptime | s |
Prerequisitesβ
SNMP Configurationβ
To use this pack, the SNMP service must be properly configured on your device.
Network flowβ
The target equipment must be reachable from the Centreon Poller on the UDP/161 SNMP port.
Setupβ
- Online License
- Offline License
- Install the Centreon Plugin package on every Centreon poller expected to monitor Hikvision NVR SNMP resources:
yum install centreon-plugin-Hardware-Devices-Hikvision-Nvr-Snmp
- On the Centreon Web interface, install the Hikvision NVR SNMP Centreon Pack on the Configuration > Plugin Packs page.
- Install the Centreon Plugin package on every Centreon poller expected to monitor Hikvision NVR SNMP resources:
yum install centreon-plugin-Hardware-Devices-Hikvision-Nvr-Snmp
- Install the Hikvision NVR SNMP Centreon Pack RPM on the Centreon Central server:
yum install centreon-pack-hardware-devices-hikvision-nvr-snmp
- On the Centreon Web interface, install the Hikvision NVR SNMP Centreon Pack on the Configuration > Plugin Packs page.
Configurationβ
Hostβ
- Log into Centreon and add a new Host through Configuration > Hosts
- Fill the Name, Alias & IP Address / DNS fields according to your Hikvision NVR SNMP server settings
- Select the HW-Device-Hikvision-Nvr-SNMP-custom template to apply to the Host
When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.
Mandatory | Name | Description |
---|---|---|
SNMPEXTRAOPTIONS | (Default: 'Configure your own SNMPv3 credentials combo') |
How to check in the CLI that the configuration is OK and what are the main options for?β
Once the plugin is installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command:
/usr/lib/centreon/plugins/centreon_hikvision_nvr_snmp.pl \
--plugin=hardware::devices::hikvision::nvr::snmp::plugin \
--mode=memory \
--hostname='10.0.0.1' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-usage-prct='' \
--critical-usage-prct='' \
--verbose
The expected command output is shown below:
OK: Memory total: 500.00 MB used: 25.00 MB (5.00%) free: 475.00 MB (95.00%) | 'memory.usage.bytes'=26214400B;;;0;524288000 'memory.free.bytes'=498073600B;;;0;524288000 'memory.usage.percentage'=5.00%;;;0;100
All available options for a given mode can be displayed by adding the
--help
parameter to the command:
/usr/lib/centreon/plugins/centreon_hikvision_nvr_snmp.pl \
--plugin=hardware::devices::hikvision::nvr::snmp::plugin \
--mode=memory \
--help
All available options for a given mode can be displayed by adding the
--list-mode
parameter to the command:
/usr/lib/centreon/plugins/centreon_hikvision_nvr_snmp.pl \
--plugin=hardware::devices::hikvision::nvr::snmp::plugin \
--list-mode
Troubleshootingβ
Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page.