zabbix_export: version: '5.4' date: '2021-11-21T21:38:53Z' groups: - uuid: 8895384bbc774097bc579e4d02ee6350 name: 'Templates Prod' templates: - uuid: 876a2f9cbee74d59a238d2acd01aeb44 template: 'SNMP Oracle SL3000' name: 'SNMP Oracle SL3000' description: | ## Overview This is simple SNMP template for monitoring Oracle StorageTek SL3000 Modular Library System Checks: CapAccessibility (open allow/prevent) CapState ControllerHaId[1] (0=active/1=standby) TapeCount Triggers: ControllerHA\_changestatus LLD: Checks: DriveCellContentLabel DriveFibreNodeName DriveState DriveType Drive RobotState State of the robot Triggers: DriveState RobotState ## Author Vsevolod Sidorov groups: - name: 'Templates Prod' items: - uuid: 879960f487ed44fd800e5156e185131b name: 'CapAccessibility (open allow/prevent)' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slCapAccessibility.1' key: slCapAccessibility delay: '30' history: 14d trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: bb7acf4fd7cd4169b51ff30b29b1febe name: CapState type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slCapState.1' key: slCapState delay: '30' history: 14d trends: '0' value_type: TEXT tags: - tag: Application value: General - uuid: 0e273f6fcd9846b496bc518e0c6c8d33 name: 'ControllerHaId[1] (0=active/1=standby)' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slControllerHaId.1' key: slControllerHaId delay: '30' history: 14d trends: 30d tags: - tag: Application value: General triggers: - uuid: a3aff3980a4e4b16ad5d2b460b9c1550 expression: 'abs(change(/SNMP Oracle SL3000/slControllerHaId))=1' name: ControllerHA_changestatus priority: HIGH - uuid: 1602ea1fedb8481c9068f3b82eb95ee1 name: TapeCount type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slTapeCount.0' key: slTapeCount delay: '30' history: 14d trends: 30d tags: - tag: Application value: General discovery_rules: - uuid: cae51d3342ed42cabc0daf995a121a64 name: Drive type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},STREAMLINE-TAPE-LIBRARY-MIB::slDriveIndex]' key: DriveIndex delay: '30' item_prototypes: - uuid: 77424bba05a349b8acc978360d365750 name: 'DriveCellContentLabel[{#SNMPVALUE}]' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slDriveCellContentLabel.{#SNMPVALUE}' key: 'DriveCellContentLabel[{#SNMPVALUE}]' delay: '30' history: 30d trends: '0' value_type: TEXT description: 'Label of the cartridge in the drive' tags: - tag: Application value: Drives - uuid: 5187a74a6e2a442dba8a4cf10bd27959 name: 'DriveFibreNodeName[{#SNMPVALUE}]' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slDriveFibreNodeName.{#SNMPVALUE}' key: 'DriveFibreNodeName[{#SNMPVALUE}]' delay: '600' history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: Drives - uuid: f328be0f2c79447fb11e086fc9ea5d18 name: 'Drive[{#SNMPVALUE}]SerialNum' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slDriveSerialNum.{#SNMPVALUE}' key: 'DriveSerialNum[{#SNMPVALUE}]' delay: '600' history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: Drives - uuid: aff13025cb87498a8dcc899db7c67541 name: 'DriveState[{#SNMPVALUE}]' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slDriveState.{#SNMPVALUE}' key: 'DriveState[{#SNMPVALUE}]' delay: '30' history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: Drives trigger_prototypes: - uuid: 7b968aba295441c095e32689ad50bc3a expression: 'find(/SNMP Oracle SL3000/DriveState[{#SNMPVALUE}],,"like","empty")<>1 and find(/SNMP Oracle SL3000/DriveState[{#SNMPVALUE}],,"like","loaded")<>1 and find(/SNMP Oracle SL3000/DriveState[{#SNMPVALUE}],,"like","unloading")<>1' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'find(/SNMP Oracle SL3000/DriveState[{#SNMPVALUE}],,"like","empty")=1 or find(/SNMP Oracle SL3000/DriveState[{#SNMPVALUE}],,"like","loaded")=1 or find(/SNMP Oracle SL3000/DriveState[{#SNMPVALUE}],,"like","unloading")=1' name: 'DriveState[{#SNMPVALUE}] is {ITEM.VALUE1}' priority: HIGH - uuid: a7f0a89b9b4d48fc92bafccceb0b7f3f name: 'DriveType[{#SNMPVALUE}]' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slDriveType.{#SNMPVALUE}' key: 'DriveType[{#SNMPVALUE}]' delay: '600' history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: Drives - uuid: 2b8aa0725c744c1c948cedd9f0d32c54 name: Robot type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},STREAMLINE-TAPE-LIBRARY-MIB::slRobotIndex]' key: Robotindex delay: '30' item_prototypes: - uuid: 286cc2e660db4bb58e07959481febef6 name: 'State of the robot [{#SNMPVALUE}] hand (cartridge =1, no cartridge =0)' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slRobotHandCartStatus.{#SNMPVALUE}' key: 'RobotHandCartStatus[{#SNMPVALUE}]' delay: '30' history: 30d trends: 90d description: 'State of the robot hand regarding a cartridge (cartridge =1, no cartridge =0)' tags: - tag: Application value: Robot - uuid: 7736d3671e0b4db2b83249c456f92d42 name: 'RobotState[{#SNMPVALUE}]' type: SNMP_AGENT snmp_oid: 'STREAMLINE-TAPE-LIBRARY-MIB::slRobotState.{#SNMPVALUE}' key: 'RobotState[{#SNMPVALUE}]' delay: '30' history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: Robot trigger_prototypes: - uuid: 967e64f9fb2b494aa1b5abb8d325fd67 expression: 'find(/SNMP Oracle SL3000/RobotState[{#SNMPVALUE}],,"like","Error")=1' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'find(/SNMP Oracle SL3000/RobotState[{#SNMPVALUE}],,"like","Ready")=1' name: 'RobotState[{#SNMPVALUE}] is {ITEM.VALUE1}' priority: HIGH macros: - macro: '{$SNMP_COMMUNITY}' value: snmpTech50