zabbix_export: version: '6.0' date: '2021-11-21T21:46:36Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: b720d2b8f5f74eb5aca9631650c4c847 template: bl7000_EN name: 'HP C7000 Chassis (EN)' description: | ## Description This template requires the MIBs: CPQRACK-MIB CPQHOST-MIB These are referenced in the template, not the full numeric OID. ## Overview Based on the C7000 Chassis template by Vladimir Marakshin. This has been updated to work with Zabbix 4.2. It has had some Russian changed to English, and added the Onboard Administrators to the discovery rule. It also only discovers device bays that have a device in them. Note that this template required the HP/CPQ MIBs, and still does. It does not use numeric OIDs. The MIB files can be downloaded from HPE. This link worked to reach the MIB Kit when this was uploaded: At least the cpqhost.mib and cpqrack.mib MIBs must be installed in your Zabbix server/proxy (the host that executes the SNMP checks). On a CentOS/RHEL system, that is in /usr/share/snmp/mibs. After they are installed, the Zabbix server/proxy must be restarted. See the Github project for more recent versions. ## Author Lawrence Weeks groups: - name: Templates items: - uuid: d6ba7b9a456e4fcfb7b3dc463dc4de08 name: 'FW version of Chassis' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureFWRev.1' key: cpqRackCommonEnclosureFWRev.1 delay: '72000' history: 10d trends: '0' value_type: TEXT inventory_link: SOFTWARE tags: - tag: Application value: Inventory - uuid: bb38fb194ff645b9a67a56018bee027c name: 'Name of Chassis' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureName.1' key: cpqRackCommonEnclosureName.1 delay: '72000' history: 10d trends: '0' value_type: TEXT inventory_link: NAME tags: - tag: Application value: Inventory - uuid: be71ecba54574de990009b647bebc489 name: 'Part number of Chassis' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosurePartNumber.1' key: cpqRackCommonEnclosurePartNumber.1 delay: '72000' history: 10d trends: '0' value_type: TEXT inventory_link: MODEL tags: - tag: Application value: Inventory - uuid: 1f21b6dc73bd43ea8aa1a9e0cb057de5 name: 'S/N of Chassis' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureSerialNum.1' key: cpqRackCommonEnclosureSerialNum.1 delay: '72000' history: 10d trends: '0' value_type: TEXT inventory_link: SERIALNO_A tags: - tag: Application value: Inventory - uuid: 83792bbe1292454485818f62b12b5f2f name: 'Power redundancy state' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackPowerEnclosureRedundant.1' key: cpqRackPowerEnclosureRedundant.1 delay: '600' history: 30d trends: 90d valuemap: name: 'C7000 - Power redundancy' tags: - tag: Application value: State triggers: - uuid: 8a226a4b7fcf45e890dcd3eaa2bc87f2 expression: last(/bl7000_EN/cpqRackPowerEnclosureRedundant.1)<>3 name: 'Redundancy of chassis power {HOST.NAME}' priority: AVERAGE - uuid: 48c811b59d7046e78750f0c2a8348a2e name: Uptime type: SNMP_AGENT snmp_oid: sysUpTime.0 key: sysUpTime.0 delay: '300' history: 30d trends: 90d units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: State triggers: - uuid: 689137c7df5347d8bad2eb3bbd7a8f88 expression: 'nodata(/bl7000_EN/sysUpTime.0,1200s)=1' name: '{HOST.NAME} : No data more than 20 minutes' priority: AVERAGE - uuid: 556049c3b5af410c8b7b88b843798c70 expression: last(/bl7000_EN/sysUpTime.0)<600 name: '{HOST.NAME} was rebooted' priority: INFO discovery_rules: - uuid: 2db426d3ca17462291cbeee88bc8e27e name: 'Device slots' type: SNMP_AGENT snmp_oid: 'disovery[{#SNMPVALUE},CPQRACK-MIB::cpqRackServerBladeName,{#BLADE_PRESENT},CPQRACK-MIB::cpqRackServerBladePresent]' key: snmp.discovery_bays delay: '43200' filter: conditions: - macro: '{#BLADE_PRESENT}' value: '3' formulaid: A lifetime: 1d item_prototypes: - uuid: 6f2659c0be964a24a6573b606f9c3df6 name: 'PN blade {#SNMPVALUE} (Slot: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackServerBladePartNumber.{#SNMPINDEX}' key: 'cpqRackServerBladePartNumber[{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: ddb9461cb5384917b6a5c5521024051a name: 'SN blade {#SNMPVALUE} (Slot: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackServerBladeSerialNum.{#SNMPINDEX}' key: 'cpqRackServerBladeSerialNum[{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: 98bb221aa6fe4c988426bceebfefd1e7 name: 'Blade state {#SNMPVALUE} (Slot: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackServerBladeStatus.{#SNMPINDEX}' key: 'cpqRackServerBladeStatus[{#SNMPINDEX}]' delay: '180' history: 45d trends: 180d valuemap: name: 'C7000 - Health Status' tags: - tag: Application value: State trigger_prototypes: - uuid: 4a50ae29c73f4290abd993314270318e expression: 'last(/bl7000_EN/cpqRackServerBladeStatus[{#SNMPINDEX}])<>2' name: 'Blade state {#SNMPVALUE} (Slot: {#SNMPINDEX})' priority: HIGH - uuid: 3ec57ba2a4d54f5893c1587a77e2ded3 name: 'Temperature sensors' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE}, CPQRACK-MIB::cpqRackCommonEnclosureTempLocation, {#TEMPTHRESHOLD}, CPQRACK-MIB::cpqRackCommonEnclosureTempThreshold]' key: snmp.discovery_env delay: '43200' filter: conditions: - macro: '{#TEMPTHRESHOLD}' value: '-1' operator: NOT_MATCHES_REGEX formulaid: A lifetime: 1d description: 'The filter on this item prototype excludes temperature sensors with a threshold of -1.' item_prototypes: - uuid: c300feb19e9a472b903cb08d2b5271ad name: 'Temperature ({#SNMPVALUE}, ID: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureTempCurrent.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureTempCurrent[{#SNMPINDEX}]' delay: '300' history: 60d trends: 180d units: C tags: - tag: Application value: Environment - uuid: d4b6f25128e74b478bbe1bdfa811616f name: 'Critical temperature ({#SNMPVALUE} ID: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureTempThreshold.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureTempThreshold[{#SNMPINDEX}]' delay: '300' history: 60d trends: 180d units: C tags: - tag: Application value: Environment trigger_prototypes: - uuid: 165fff6e027449ecb53dab5b6b7f6c73 expression: 'last(/bl7000_EN/cpqRackCommonEnclosureTempThreshold[{#SNMPINDEX}])-last(/bl7000_EN/cpqRackCommonEnclosureTempCurrent[{#SNMPINDEX}])<20 and last(/bl7000_EN/cpqRackCommonEnclosureTempCurrent[{#SNMPINDEX}])>0' name: 'Temperature {#SNMPVALUE} is high (20C)' priority: AVERAGE - uuid: b9a40bf12c314f2e8a91797314536a88 expression: 'last(/bl7000_EN/cpqRackCommonEnclosureTempThreshold[{#SNMPINDEX}])-last(/bl7000_EN/cpqRackCommonEnclosureTempCurrent[{#SNMPINDEX}])<10 and last(/bl7000_EN/cpqRackCommonEnclosureTempCurrent[{#SNMPINDEX}])>0' name: 'Temperature {#SNMPVALUE} is too high (10C)' priority: HIGH graph_prototypes: - uuid: 7d26f376c6404a849fab25c628123513 name: 'Temperature {#SNMPVALUE} (ID: {#SNMPINDEX})' graph_items: - drawtype: GRADIENT_LINE color: 0000DD calc_fnc: MAX item: host: bl7000_EN key: 'cpqRackCommonEnclosureTempCurrent[{#SNMPINDEX}]' - sortorder: '1' color: '990000' calc_fnc: MAX item: host: bl7000_EN key: 'cpqRackCommonEnclosureTempThreshold[{#SNMPINDEX}]' - uuid: 42fe2647bb824db3882b48d3e16f339b name: 'Fan modules' type: SNMP_AGENT snmp_oid: 'discovery[{#FAN_PRESENT}, CPQRACK-MIB::cpqRackCommonEnclosureFanPresent]' key: snmp.discovery_fans delay: '43200' filter: conditions: - macro: '{#FAN_PRESENT}' value: '3' formulaid: A lifetime: 1d item_prototypes: - uuid: e5cbf89d1c88490b8845951d23a54a50 name: 'Fan module state {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureFanCondition.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureFanCondition[{#SNMPINDEX}]' delay: '600' history: 60d trends: 90d valuemap: name: 'C7000 - Health Status' tags: - tag: Application value: State trigger_prototypes: - uuid: 294d099a25ca4e1db6bc10e4166e8f39 expression: 'last(/bl7000_EN/cpqRackCommonEnclosureFanCondition[{#SNMPINDEX}])<>2' name: 'Fan module state {#SNMPINDEX}' priority: HIGH - uuid: fccd56e1b9e94b7da35abae891f56933 name: 'Onboard Administrator modules' type: SNMP_AGENT snmp_oid: 'discovery[{#MGR_INDEX}, CPQRACK-MIB::cpqRackCommonEnclosureManagerRole, {#MGR_PRESENT}, CPQRACK-MIB::cpqRackCommonEnclosureManagerPresent]' key: snmp.discovery_mgr delay: '43200' filter: conditions: - macro: '{#MGR_PRESENT}' value: '3' formulaid: A lifetime: 1d item_prototypes: - uuid: 79b1b626750744fa9aceee67fdda873f name: 'OA {#MGR_INDEX} Condition' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureManagerCondition.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureManagerCondition[{#SNMPINDEX}]' delay: 60s valuemap: name: 'C7000 - Health Status' tags: - tag: Application value: State trigger_prototypes: - uuid: 2bf3eddc16374595acae5e7e55c1fd95 expression: 'last(/bl7000_EN/cpqRackCommonEnclosureManagerCondition[{#SNMPINDEX}])<>2' name: 'OA module {#MGR_INDEX} condition' priority: HIGH - uuid: 3945845ebc074ced8c19cd31f351bc41 name: 'OA {#MGR_INDEX} Firmware' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureManagerFWRev.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureManagerFWRev[{#SNMPINDEX}]' delay: '3600' history: 60d trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: aeb9f2356781420abce025ac0ef43429 name: 'OA {#MGR_INDEX} Part Number' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureManagerPartNumber.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureManagerPartNumber[{#SNMPINDEX}]' delay: '86400' history: 60d trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: 5d6141282e6441f9a0a52fab03177bf6 name: 'OA {#MGR_INDEX} Redundant' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureManagerRedundant.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureManagerRedundant[{#SNMPINDEX}]' delay: 60s valuemap: name: 'C7000 - OA Redundant' tags: - tag: Application value: State trigger_prototypes: - uuid: e38c7337393d4749b71cd7bda84e7595 expression: 'last(/bl7000_EN/cpqRackCommonEnclosureManagerRedundant[{#SNMPINDEX}])<>3' name: 'OA module {#MGR_INDEX} redundancy' priority: HIGH - uuid: a32186e8153349ebace99417ab7062e2 name: 'OA {#MGR_INDEX} Role' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureManagerRole.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureManagerRole[{#SNMPINDEX}]' delay: 60s valuemap: name: 'C7000 - OA Role' tags: - tag: Application value: State trigger_prototypes: - uuid: efb9c6f103df4e97969b07dbdc7b16e8 expression: '(last(/bl7000_EN/cpqRackCommonEnclosureManagerRole[{#SNMPINDEX}],#1)<>last(/bl7000_EN/cpqRackCommonEnclosureManagerRole[{#SNMPINDEX}],#2))=1' name: 'OA module {#MGR_INDEX} role' priority: WARNING - uuid: f0cef36c54ad4a9ea1d9a9056f85a648 name: 'OA {#MGR_INDEX} Serial Number' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackCommonEnclosureManagerSerialNum.{#SNMPINDEX}' key: 'cpqRackCommonEnclosureManagerSerialNum[{#SNMPINDEX}]' delay: '86400' history: 60d trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: 4dd209fd2ebe4603b6d1a5e2a5c97663 name: 'Interconnect modules' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE}, CPQRACK-MIB::cpqRackNetConnectorPresent]' key: snmp.discovery_net delay: '43200' filter: conditions: - macro: '{#SNMPVALUE}' value: '3' formulaid: A lifetime: 1d item_prototypes: - uuid: b2483517b8c346dc84c483a8d8b200ce name: 'PN Interconnect-module (Slot: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackNetConnectorPartNumber.{#SNMPINDEX}' key: 'cpqRackNetConnectorPartNumber[{#SNMPINDEX}]' delay: '3600' history: 10d trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: deaff46af39a44dc923de6995fe71fd4 name: 'SN Interconnect-module (Slot: {#SNMPINDEX})' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackNetConnectorSerialNum.{#SNMPINDEX}' key: 'cpqRackNetConnectorSerialNum[{#SNMPINDEX}]' delay: '3600' history: 10d trends: '0' value_type: TEXT tags: - tag: Application value: Inventory - uuid: 020d69a47a464408aae9eb50723b8905 name: 'Power units' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE}, CPQRACK-MIB::cpqRackPowerSupplyPresent]' key: snmp.discovery_power delay: '43200' filter: conditions: - macro: '{#SNMPVALUE}' value: '3' formulaid: A lifetime: 1d item_prototypes: - uuid: 64c008aa875c461884bb7b29e1a3c569 name: 'Output load on PU {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackPowerSupplyCurPwrOutput.{#SNMPINDEX}' key: 'cpqRackPowerSupplyCurPwrOutput[{#SNMPINDEX}]' delay: '600' history: 60d trends: 180d units: W tags: - tag: Application value: State - uuid: 6ba9297b14d24c1ea4be2d993236f495 name: 'PU Input status {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackPowerSupplyInputLineStatus.{#SNMPINDEX}' key: 'cpqRackPowerSupplyInputLineStatus[{#SNMPINDEX}]' delay: '600' history: 60d trends: 180d valuemap: name: 'C7000 - Input power status' tags: - tag: Application value: State trigger_prototypes: - uuid: 69e5a723fd4649fd9bb495f51ac12d2a expression: 'last(/bl7000_EN/cpqRackPowerSupplyInputLineStatus[{#SNMPINDEX}])<>1' name: 'Input power status on PU {#SNMPINDEX}' priority: HIGH - uuid: c28e731e5db048818b202fcd8a2f1c8f name: 'PU Status {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: 'CPQRACK-MIB::cpqRackPowerSupplyStatus.{#SNMPINDEX}' key: 'cpqRackPowerSupplyStatus[{#SNMPINDEX}]' delay: '600' history: 60d trends: 180d valuemap: name: 'C7000 - Power status' tags: - tag: Application value: State trigger_prototypes: - uuid: 8eee9e31fbcb4496bb21534d37debe96 expression: 'last(/bl7000_EN/cpqRackPowerSupplyStatus[{#SNMPINDEX}])<>1' name: 'PU Status {#SNMINDEX}' priority: HIGH graph_prototypes: - uuid: 31e8d9ba71ad44358178cbd9ab895e9a name: 'PU Load {#SNMPINDEX}' graph_items: - drawtype: BOLD_LINE color: C80000 item: host: bl7000_EN key: 'cpqRackPowerSupplyCurPwrOutput[{#SNMPINDEX}]' valuemaps: - uuid: 77e192001214482f8952b9c0aadcb0d6 name: 'C7000 - Health Status' mappings: - value: '1' newvalue: other - value: '2' newvalue: ok - value: '3' newvalue: degraded - value: '4' newvalue: failed - uuid: 99137d52d29e45ae83be85062931740c name: 'C7000 - Input power status' mappings: - value: '1' newvalue: noError - value: '2' newvalue: lineOverVoltage - value: '3' newvalue: lineUnderVoltage - value: '4' newvalue: lineHit - value: '5' newvalue: brownOut - value: '6' newvalue: linePowerLoss - uuid: 0adbab353f144fc9aebd9331701dc385 name: 'C7000 - OA Redundant' mappings: - value: notRedundant newvalue: '2' - value: other newvalue: '1' - value: redundant newvalue: '3' - uuid: 5dfe86b8db0c494290b1715ea6fdf5a9 name: 'C7000 - OA Role' mappings: - value: '1' newvalue: standby - value: '2' newvalue: active - uuid: 687f7c1ff2f44a44bb9f30fcdfa66ab2 name: 'C7000 - Power redundancy' mappings: - value: '1' newvalue: Other - value: '2' newvalue: 'Not redundant' - value: '3' newvalue: Redundant - uuid: 181e24830c8646c985759076dd99c8d2 name: 'C7000 - Power status' mappings: - value: '1' newvalue: noError - value: '2' newvalue: generalFailure - value: '3' newvalue: bistFailure - value: '4' newvalue: fanFailure - value: '5' newvalue: tempFailure - value: '6' newvalue: interlockOpen - value: '7' newvalue: epromFailed - value: '8' newvalue: vrefFailed - value: '9' newvalue: dacFailed - value: '10' newvalue: ramTestFailed - value: '11' newvalue: voltageChannelFailed - value: '12' newvalue: orringdiodeFailed - value: '13' newvalue: brownOut - value: '14' newvalue: giveupOnStartup - value: '15' newvalue: nvramInvalid - value: '16' newvalue: calibrationTableInvalid