Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended scan function of ibm_tape_library.py to be able to discover … #593

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion cmk/base/check_legacy_includes/ibm_tape_library.py
Expand Up @@ -8,7 +8,11 @@


def scan_ibm_tape_library(oid):
return oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.32925.1")
return (
oid(".1.3.6.1.4.1.14851.3.1.3.5.0").startswith("IBM TS4300 Tape Library")
or oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.32925.1")
or oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14851")
)


def ibm_tape_library_parse_device_name(name):
Expand Down