zabbix_export: version: '5.4' date: '2021-11-21T22:01:35Z' groups: - uuid: e5a913eb4fba41a8bd18c5bfea937c38 name: Templates/Storage templates: - uuid: 5ba5d801d73c4348adcb221ac4b3745d template: 'HPE 3PAR SMI-S for shareZabbix' name: 'HPE 3PAR SMI-S for shareZabbix' description: | ## Overview Tested on HPE\_3PAR 8450, HPE\_3PAR 20840\_R2 Python-script to get metrics from HP 3Par Storage. Script uses SMI-S interface. This script get next metrics: Battery, CagePowerSupply, DiskDrive, DriveCage, DynamicStoragePool, EthernetPort, Fan, FCPort, IDEDrive, NodePowerSupply, NodeSystem, PCICard, PhysicalMemory, SASPort groups: - name: Templates/Storage items: - uuid: ad7f566c6bb144dcb9b9bdf8cb1854e4 name: 'Get Discovery' type: EXTERNAL key: 'hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--discovery"]' delay: 1h tags: - tag: Application value: Discovery - uuid: c5a0894fc2a6401bbe65e81eac944e6b name: 'Get Overprovisioning CPG' type: EXTERNAL key: 'hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--overprovisioning"]' delay: 15m status: DISABLED tags: - tag: Application value: Discovery - uuid: acf6b6790bff4dc38cce1487e62c07ee name: 'Get Status' type: EXTERNAL key: 'hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--status"]' delay: 3m tags: - tag: Application value: Discovery triggers: - uuid: 459b1e3f4c324e89b2952796f85b74e9 expression: 'last(/HPE 3PAR SMI-S for shareZabbix/hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--status"])=1000' name: '{HOST.NAME} -> Cannot get metrics from storage' priority: AVERAGE - uuid: 25fb2399179b4cd1970f6800cf09518b expression: 'last(/HPE 3PAR SMI-S for shareZabbix/hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--status"])=1100' name: '{HOST.NAME} -> Connect to storage is failed' priority: AVERAGE - uuid: b42795ee12a84cac87ac07e061c87b9f expression: 'nodata(/HPE 3PAR SMI-S for shareZabbix/hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--status"],3600s)=1' name: '{HOST.NAME} -> No data from storage for 1 hours' priority: AVERAGE - uuid: c6a6c008eed742e7b181c041cc722167 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--status"],2h,"eq","2")>35' name: '{HOST.NAME} -> Processing metrics by zabbix is failed' priority: AVERAGE - uuid: 76c61c5e3a0f423485ad120ebf8f058a expression: 'count(/HPE 3PAR SMI-S for shareZabbix/hp_3par_get_state_wbem.py["--hp_ip={HOST.IP}", "--hp_port={$SMI_S_PORT}", "--hp_user={$HP_USER}", "--hp_password={$HP_PASSWORD}", "--storage_name={HOST.NAME}", "--status"],2h,"eq","1")>35' name: '{HOST.NAME} -> Sending metrics to zabbix is failed' priority: AVERAGE discovery_rules: - uuid: 4126aa2e8a4640e5b1725c4fa4d67484 name: Battery type: TRAP key: Battery delay: '0' lifetime: 3d item_prototypes: - uuid: f1eb94b1287640fc8d0b39582992bb23 name: 'Health status of a Battery "{#DEVICE_ID}"' type: TRAP key: 'health.Battery.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: Battery trigger_prototypes: - uuid: 82526efbad564a119790a4e15734308b expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.Battery.[{#DEVICE_ID}],#3,"ne","5")>2' name: '{HOST.NAME} -> Battery "{#DEVICE_ID}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 17a7988480e74cf2bfeac7b3e6990772 name: 'Operational status of a Battery "{#DEVICE_ID}"' type: TRAP key: 'oper.Battery.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: Battery trigger_prototypes: - uuid: aa0779ab4ccf4610820550c8dd4c36af expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.Battery.[{#DEVICE_ID}],#3,"ne","2")>2' name: '{HOST.NAME} -> Battery "{#DEVICE_ID}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: e07b70bf05114b67963a543f1b2c4abf name: CagePowerSupply type: TRAP key: CagePowerSupply delay: '0' lifetime: 3d item_prototypes: - uuid: e5912dd77c70441ab791aa324bd15866 name: 'Health status of "{#CAGE_NAME} - {#NUMBER_PSU}"' type: TRAP key: 'health.CagePowerSupply.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: CagePowerSupply trigger_prototypes: - uuid: dce0b915e2674515a2f2c9599322ef8d expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.CagePowerSupply.[{#DEVICE_ID}],#3,"ne","5")>2' name: '{HOST.NAME} -> "{#NUMBER_PSU} - {#CAGE_NAME} - {#SERIAL_NUMBER_PSU}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 71c6187752474954af9aaa8c3d6b72f0 name: 'Operational status of "{#CAGE_NAME} - {#NUMBER_PSU}"' type: TRAP key: 'oper.CagePowerSupply.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: CagePowerSupply trigger_prototypes: - uuid: 070fe25415c04f37ab419fc729b9a643 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.CagePowerSupply.[{#DEVICE_ID}],#3,"ne","2")>2' name: '{HOST.NAME} -> "{#NUMBER_PSU} - {#CAGE_NAME} - {#SERIAL_NUMBER_PSU}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 239a5069a62542ae8d81326b2c4c4fd8 name: DiskDrive type: TRAP key: DiskDrive delay: '0' lifetime: 3d item_prototypes: - uuid: 0a4457e809f745fc9531f118f3e3cc1a name: 'Health status of a DiskDrive "{#ELEMENT_NAME}"' type: TRAP key: 'health.DiskDrive.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: DiskDrive trigger_prototypes: - uuid: ff994fe25c5049f3a1a9629adb2c7f00 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.DiskDrive.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> DiskDrive "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 866bb7735db844a3bc7a4d690209418c name: 'Operational status of a DiskDrive "{#ELEMENT_NAME}"' type: TRAP key: 'oper.DiskDrive.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: DiskDrive trigger_prototypes: - uuid: a6ba50db582f43989b813c384cc87c71 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.DiskDrive.[{#ELEMENT_NAME}],#3,"ne","2")>2' name: '{HOST.NAME} -> DiskDrive "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH dependencies: - name: '{HOST.NAME} -> DiskDrive "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.DiskDrive.[{#ELEMENT_NAME}],#3,"ne","5")>2' - uuid: 189b5a92e8f1422499f1f604a0a7164c name: DriveCage type: TRAP key: DriveCage delay: '0' lifetime: 3d item_prototypes: - uuid: 4b4f1b2ca08d4f14a62d5a43cf61821f name: 'Health status of a DriveCage "{#ELEMENT_NAME}"' type: TRAP key: 'health.DriveCage.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: DriveCage trigger_prototypes: - uuid: 98f964a3837f4559863ec38be7ad4967 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.DriveCage.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> DriveCage "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 94ab1769947d4c15a58b52a67eb3f467 name: 'Operational status of a DriveCage "{#ELEMENT_NAME}"' type: TRAP key: 'oper.DriveCage.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: DriveCage trigger_prototypes: - uuid: 6ad44b74a82f495ea73cc9f7e5e4c4eb expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.DriveCage.[{#ELEMENT_NAME}],#3,"ne","2")>2' name: '{HOST.NAME} -> DriveCage "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: a5739c6e82214c04879f2c08f4e3c3b0 name: DynamicStoragePool type: TRAP key: DynamicStoragePool delay: '0' lifetime: 5d item_prototypes: - uuid: a90f64cd469247a7ac4d4e32452445a6 name: 'Health status of a DynamicStoragePool "{#ELEMENT_NAME}"' type: TRAP key: 'health.DynamicStoragePool.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: DynamicStoragePool trigger_prototypes: - uuid: 85833bde57d747ed992e0287ef183cc8 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.DynamicStoragePool.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> DynamicStoragePool "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 027efff49bec47f9b0ff90b2d413f382 name: 'Operational status of a DynamicStoragePool "{#ELEMENT_NAME}"' type: TRAP key: 'oper.DynamicStoragePool.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: DynamicStoragePool trigger_prototypes: - uuid: 3415537669f245f584e9ecc579b689f8 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.DynamicStoragePool.[{#ELEMENT_NAME}],#3,"ne","2")>2' name: '{HOST.NAME} -> DynamicStoragePool "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 18c4033dba7e4802ae69aecf67c0098b name: 'Overprovisioning of a DynamicStoragePool "{#ELEMENT_NAME}"' type: TRAP key: 'overprv.DynamicStoragePool.[{#ELEMENT_NAME}]' delay: '0' value_type: FLOAT units: '%' preprocessing: - type: MULTIPLIER parameters: - '100' tags: - tag: Application value: DynamicStoragePool trigger_prototypes: - uuid: 8b667f7193ba460684c784dee3e68b56 expression: 'last(/HPE 3PAR SMI-S for shareZabbix/overprv.DynamicStoragePool.[{#ELEMENT_NAME}])>{$OVERPROVISION:"{#ELEMENT_NAME}"}' name: '{HOST.NAME} -> Overprovision on DynamicStoragePool "{#ELEMENT_NAME}" > {$OVERPROVISION:"{#ELEMENT_NAME}"}%' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 363294a495c54982aecd3bc33d01e9c7 name: EthernetPort type: TRAP key: EthernetPort delay: '0' lifetime: 3d item_prototypes: - uuid: 327d1e37c578436e9647d3b5aa1148cf name: 'Health status of a EthernetPort "{#ELEMENT_NAME}"' type: TRAP key: 'health.EthernetPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: EthernetPort trigger_prototypes: - uuid: 4331bfd7227046f6890d58fbfe1acd4d expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.EthernetPort.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> EthernetPort "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 38732eaace904403ba4973f87cf766d9 name: 'Operational status of a EthernetPort "{#ELEMENT_NAME}"' type: TRAP key: 'oper.EthernetPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: EthernetPort trigger_prototypes: - uuid: c42e0fc7569544f2b794f9b431f9f97f expression: '({TRIGGER.VALUE}=0 and last(/HPE 3PAR SMI-S for shareZabbix/oper.EthernetPort.[{#ELEMENT_NAME}])<>2 and change(/HPE 3PAR SMI-S for shareZabbix/oper.EthernetPort.[{#ELEMENT_NAME}])<>0) or ({TRIGGER.VALUE}=1 and last(/HPE 3PAR SMI-S for shareZabbix/oper.EthernetPort.[{#ELEMENT_NAME}])<>2)' name: '{HOST.NAME} -> EthernetPort "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 3f35659c1c944e5ba3b3933b4425f17d name: 'Other operational status of a EthernetPort "{#ELEMENT_NAME}"' type: TRAP key: 'other.oper.EthernetPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM HPE 3PAR SAS FC Port OtherOperationalStatus' tags: - tag: Application value: EthernetPort trigger_prototypes: - uuid: 1873c52d22c24072876b52adb5d67f02 expression: '({TRIGGER.VALUE}=0 and last(/HPE 3PAR SMI-S for shareZabbix/other.oper.EthernetPort.[{#ELEMENT_NAME}])<>3 and change(/HPE 3PAR SMI-S for shareZabbix/other.oper.EthernetPort.[{#ELEMENT_NAME}])<>0) or ({TRIGGER.VALUE}=1 and last(/HPE 3PAR SMI-S for shareZabbix/other.oper.EthernetPort.[{#ELEMENT_NAME}])<>3)' name: '{HOST.NAME} -> EthernetPort "{#ELEMENT_NAME}" other operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: eb3a1f4b015041b0b5f38f290f873db5 name: Fan type: TRAP key: Fan delay: '0' lifetime: 3d item_prototypes: - uuid: 5aa28f9206d240ddab54c49b8f6bfda8 name: 'Health status of a Fan "{#DEVICE_ID}"' type: TRAP key: 'health.Fan.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: Fan trigger_prototypes: - uuid: e9d4baacf215446dbd90de3169667bdc expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.Fan.[{#DEVICE_ID}],#3,"ne","5")>2' name: '{HOST.NAME} -> Fan "{#DEVICE_ID}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: a9c52213eaf044cb8580e998e486ef10 name: 'Operational status of a Fan "{#DEVICE_ID}"' type: TRAP key: 'oper.Fan.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: Fan trigger_prototypes: - uuid: 987863e24e9b4e5cbd669b9e668cf472 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.Fan.[{#DEVICE_ID}],#3,"ne","2")>2' name: '{HOST.NAME} -> Fan "{#DEVICE_ID}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: daedce96a7e64303adb52ffa6ae1e037 name: FCPort type: TRAP key: FCPort delay: '0' lifetime: 3d item_prototypes: - uuid: 99edc841063f4d03be2d11f1e006e2c7 name: 'Health status of a FCPort "{#ELEMENT_NAME}"' type: TRAP key: 'health.FCPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: FCPort trigger_prototypes: - uuid: c77392d9ca2b443d9a7f85bf56893bbd expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.FCPort.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> FCPort "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 6eafee165338469aa02c99ffc9adf918 name: 'Operational status of a FCPort "{#ELEMENT_NAME}"' type: TRAP key: 'oper.FCPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: FCPort trigger_prototypes: - uuid: 34c37e9289714b448f84680ad37be30c expression: 'last(/HPE 3PAR SMI-S for shareZabbix/oper.FCPort.[{#ELEMENT_NAME}],#2)=2 and last(/HPE 3PAR SMI-S for shareZabbix/oper.FCPort.[{#ELEMENT_NAME}])<>2' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/HPE 3PAR SMI-S for shareZabbix/oper.FCPort.[{#ELEMENT_NAME}])=2' name: '{HOST.NAME} -> FCPort "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH description: | Предыдущее триггерное выражение: ({TRIGGER.VALUE}=0 and {Template HPE 3PAR SMI-S:oper.FCPort.[{#ELEMENT_NAME}].last()}<>2 and {Template HPE 3PAR SMI-S:oper.FCPort.[{#ELEMENT_NAME}].change()}<>0) or ({TRIGGER.VALUE}=1 and {Template HPE 3PAR SMI-S:oper.FCPort.[{#ELEMENT_NAME}].last()}<>2) - uuid: d48fafd6dfd242d1aa0b506616fe8946 name: 'Other operational status of a FCPort "{#ELEMENT_NAME}"' type: TRAP key: 'other.oper.FCPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM HPE 3PAR SAS FC Port OtherOperationalStatus' tags: - tag: Application value: FCPort trigger_prototypes: - uuid: 2a0bfd5f230d4e8381efda4882a35a3e expression: 'last(/HPE 3PAR SMI-S for shareZabbix/other.oper.FCPort.[{#ELEMENT_NAME}],#2)=3 and last(/HPE 3PAR SMI-S for shareZabbix/other.oper.FCPort.[{#ELEMENT_NAME}])<>3' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/HPE 3PAR SMI-S for shareZabbix/other.oper.FCPort.[{#ELEMENT_NAME}])=3' name: '{HOST.NAME} -> FCPort "{#ELEMENT_NAME}" other operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH description: | Предыдущее триггерное выражение: ({TRIGGER.VALUE}=0 and {Template HPE 3PAR SMI-S:other.oper.FCPort.[{#ELEMENT_NAME}].last()}<>3 and {Template HPE 3PAR SMI-S:other.oper.FCPort.[{#ELEMENT_NAME}].change()}<>0) or ({TRIGGER.VALUE}=1 and {Template HPE 3PAR SMI-S:other.oper.FCPort.[{#ELEMENT_NAME}].last()}<>3) - uuid: 0aae11945a50413091d7c7d623634f41 name: IDEDrive type: TRAP key: IDEDrive delay: '0' lifetime: 3d item_prototypes: - uuid: b59ac3e80c6c4892aee45448ee1b6023 name: 'Operational status of IDEDrive "{#TAG}"' type: TRAP key: 'oper.IDEDrive.[{#TAG}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: IDEDrive trigger_prototypes: - uuid: 0f9cbce885a647e2afcaa9042eb1e434 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.IDEDrive.[{#TAG}],#3,"ne","2")>2' name: '{HOST.NAME} -> IDEDrive "{#TAG}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 00c95d0538cb451396aeb28d4b891733 name: NodePowerSupply type: TRAP key: NodePowerSupply delay: '0' lifetime: 3d item_prototypes: - uuid: 0f771161465e4eac8bc9c8b01b315faf name: 'Health status of "{#NODE_NAME} - {#NUMBER_PSU}"' type: TRAP key: 'health.NodePowerSupply.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: NodePowerSupply trigger_prototypes: - uuid: e1e1336466de4180b317c6a59cfe69fe expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.NodePowerSupply.[{#DEVICE_ID}],#3,"ne","5")>2' name: '{HOST.NAME} -> "{#NUMBER_PSU} - {#NODE_NAME} - {#SERIAL_NUMBER_PSU}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 9963edc1db56428a85fffb8820b0dedf name: 'Operational status of "{#NODE_NAME} - {#NUMBER_PSU}"' type: TRAP key: 'oper.NodePowerSupply.[{#DEVICE_ID}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: NodePowerSupply trigger_prototypes: - uuid: 297bb297b788416189d87626099b263d expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.NodePowerSupply.[{#DEVICE_ID}],#3,"ne","2")>2' name: '{HOST.NAME} -> "{#NUMBER_PSU} - {#NODE_NAME} - {#SERIAL_NUMBER_PSU}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: fda79098730d4d59ad6e087f83a7bb07 name: NodeSystem type: TRAP key: NodeSystem delay: '0' lifetime: 3d item_prototypes: - uuid: d6fa261a7f274f28ac293c91e05bcf78 name: 'Health status of Node "{#ELEMENT_NAME}"' type: TRAP key: 'health.NodeSystem.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: NodeSystem trigger_prototypes: - uuid: 7448afa258374c3fa17efaf1e557e8a2 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.NodeSystem.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> NodeSystem "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 2fa8326eaecd49be812917f93127ccee name: 'LED status of Node "{#ELEMENT_NAME}"' type: TRAP key: 'led.NodeSystem.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM LED Status' tags: - tag: Application value: NodeSystem trigger_prototypes: - uuid: a801bbabcb9c4acd96fc09275c1db1c1 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/led.NodeSystem.[{#ELEMENT_NAME}],#3,"ne","2")>2 and count(/HPE 3PAR SMI-S for shareZabbix/led.NodeSystem.[{#ELEMENT_NAME}],#3,"ne","3")>2' name: '{HOST.NAME} -> NodeSystem "{#ELEMENT_NAME}" LED status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 2f4ec22cd4bd401cbdbf43f9b5a09f0b name: 'Operational status of Node "{#ELEMENT_NAME}"' type: TRAP key: 'oper.NodeSystem.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: NodeSystem trigger_prototypes: - uuid: 79504dfc840e4e3a87f33f79f0f52c59 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.NodeSystem.[{#ELEMENT_NAME}],#3,"ne","2")>2' name: '{HOST.NAME} -> NodeSystem "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 6684bde833d6446a8f349326bacbbd99 name: PCICard type: TRAP key: PCICard delay: '0' lifetime: 3d item_prototypes: - uuid: 38f916a41eb7410387f68ac6bc0a74e2 name: 'Operational status of PCICard "{#MANUFACTURER}-{#TAG}"' type: TRAP key: 'oper.PCICard.[{#TAG}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: PCICard trigger_prototypes: - uuid: 355367bfc2114f6f82ab2d9f3661ac2a expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.PCICard.[{#TAG}],#3,"ne","2")>2' name: '{HOST.NAME} -> PCICard "{#MANUFACTURER}-{#TAG}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 77c48cda2e084508b374416c33087e3c name: PhysicalMemory type: TRAP key: PhysicalMemory delay: '0' lifetime: 3d item_prototypes: - uuid: 461e1668fa424eceb0af457b1643ba76 name: 'Operational status of PhysicalMemory module "{#SERIAL_NUMBER}"' type: TRAP key: 'oper.PhysicalMemory.[{#SERIAL_NUMBER}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: PhysicalMemory trigger_prototypes: - uuid: 5fa49c1b54524c49b192f7187162430c expression: 'count(/HPE 3PAR SMI-S for shareZabbix/oper.PhysicalMemory.[{#SERIAL_NUMBER}],#3,"ne","2")>2' name: '{HOST.NAME} -> PhysicalMemory "{#SERIAL_NUMBER}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: 7814531185dd41a6bd949dfe6929534e name: SASPort type: TRAP key: SASPort delay: '0' lifetime: 3d item_prototypes: - uuid: c981f1bdc2d5445fafef78794fde2898 name: 'Health status of SASPort "{#ELEMENT_NAME}"' type: TRAP key: 'health.SASPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Health Status' tags: - tag: Application value: SASPort trigger_prototypes: - uuid: 92c31b1c3e424f5eaf43ec0afee35123 expression: 'count(/HPE 3PAR SMI-S for shareZabbix/health.SASPort.[{#ELEMENT_NAME}],#3,"ne","5")>2' name: '{HOST.NAME} -> SASPort "{#ELEMENT_NAME}" health status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: da41698855d5458fa95d5ec762ba5910 name: 'Operational status of SASPort "{#ELEMENT_NAME}"' type: TRAP key: 'oper.SASPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM Operational Status' tags: - tag: Application value: SASPort trigger_prototypes: - uuid: 3826e35e86a540bfb78ed26da9049461 expression: 'last(/HPE 3PAR SMI-S for shareZabbix/oper.SASPort.[{#ELEMENT_NAME}],#2)=2 and last(/HPE 3PAR SMI-S for shareZabbix/oper.SASPort.[{#ELEMENT_NAME}])<>2' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/HPE 3PAR SMI-S for shareZabbix/oper.SASPort.[{#ELEMENT_NAME}])=2' name: '{HOST.NAME} -> SASPort "{#ELEMENT_NAME}" operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH - uuid: bdaee265f0014fbc920549f4b5e0b1ae name: 'Other operational status of SASPort "{#ELEMENT_NAME}"' type: TRAP key: 'other.oper.SASPort.[{#ELEMENT_NAME}]' delay: '0' valuemap: name: 'CIM HPE 3PAR SAS FC Port OtherOperationalStatus' tags: - tag: Application value: SASPort trigger_prototypes: - uuid: b9f22b95beff4773aade55422da435ea expression: 'last(/HPE 3PAR SMI-S for shareZabbix/other.oper.SASPort.[{#ELEMENT_NAME}],#2)=3 and last(/HPE 3PAR SMI-S for shareZabbix/other.oper.SASPort.[{#ELEMENT_NAME}])<>3' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/HPE 3PAR SMI-S for shareZabbix/other.oper.SASPort.[{#ELEMENT_NAME}])=3' name: '{HOST.NAME} -> SASPort "{#ELEMENT_NAME}" other operational status is "{ITEM.VALUE}"' opdata: 'Current Value: {ITEM.LASTVALUE}' priority: HIGH macros: - macro: '{$HP_PASSWORD}' - macro: '{$HP_USER}' - macro: '{$OVERPROVISION}' value: '90' - macro: '{$SMI_S_PORT}' value: '5989' valuemaps: - uuid: 97f9bda6a1e648279f74e9d12305db8d name: 'CIM Health Status' mappings: - value: '0' newvalue: Unknown - value: '5' newvalue: OK - value: '10' newvalue: Degraded/Warning - value: '15' newvalue: 'Minor failure' - value: '20' newvalue: 'Major failure' - value: '25' newvalue: 'Critical failure' - value: '30' newvalue: 'Non-recoverable Error' - uuid: c09e3918fa894239977b47518311c38a name: 'CIM HPE 3PAR SAS FC Port OtherOperationalStatus' mappings: - value: '0' newvalue: 'Config Wait' - value: '1' newvalue: 'Alpa Wait' - value: '2' newvalue: 'Login Wait' - value: '3' newvalue: OK - value: '4' newvalue: 'Loss Sync' - value: '5' newvalue: Nonparticipate - value: '6' newvalue: 'Core Dump' - value: '7' newvalue: Offline - value: '8' newvalue: 'FW Dead' - value: '9' newvalue: 'Link Idle For Reset' - value: '10' newvalue: 'DHCP In Progress' - value: '11' newvalue: 'Pending Reset' - uuid: 85be038152904f85bfcf0999a20db232 name: 'CIM LED Status' mappings: - value: '0' newvalue: Unknown - value: '1' newvalue: 'Off' - value: '2' newvalue: Green - value: '3' newvalue: 'Green Blinking' - value: '4' newvalue: Amber - value: '5' newvalue: 'Amber Blinking' - uuid: 189c3cbd65ce4af2b3d7a619bc9c42b1 name: 'CIM Operational Status' mappings: - value: '0' newvalue: Unknown - value: '1' newvalue: Other - value: '2' newvalue: Ok - value: '3' newvalue: Degraded - value: '4' newvalue: Stressed - value: '5' newvalue: 'Predictive Failure' - value: '6' newvalue: Error - value: '7' newvalue: 'Non-Recoverable Error' - value: '8' newvalue: Starting - value: '9' newvalue: Stopping - value: '10' newvalue: Stopped - value: '11' newvalue: 'In Service' - value: '12' newvalue: 'No Contact' - value: '13' newvalue: 'Lost Communication' - value: '14' newvalue: Aborted - value: '15' newvalue: Dormant - value: '16' newvalue: 'Supporting Entity in Error' - value: '17' newvalue: Completed - value: '18' newvalue: 'Power Mode' - value: '19' newvalue: Relocating