#1102 Monitor tape status
Closed: Fixed None Opened 15 years ago by mmcgrath.

No idea how we're going to do this yet but I bet it'll be fairly simple. our tape auto changer (at tape.fedora.phx.redhat.com) needs to be monitored for errors and for when the drive needs cleaning. I logged in to the web interface today and it told me it needed cleaning but I have no idea how long ago that was.


What autochanger model is it? Have you already got backup jobs and a free tapes in monitoring?

Regards, Stefan.

It's a TL2000, I'd like to monitor via snmp if possible.

Can you please config that device to responde snmp walk from noc01? Can you please tell me what is its community too?

Thanks.

The snmp community is currently public. It could be cahnged to something else if needed.

Can you please tell me what is model name of tape01.phx2.fedoraproject.org?

I got weird return with snmpwalk:

[rafaelgomes@noc01 ~]$ snmpwalk -v 1 -c public tape01.phx2.fedoraproject.org 1.3.6.1.4.1
SNMPv2-SMI::enterprises.674.10893.2.102.1.1.0 = STRING: "FLX1127CE"
SNMPv2-SMI::enterprises.674.10893.2.102.1.2.0 = STRING: "LTO Tape Library"
SNMPv2-SMI::enterprises.674.10893.2.102.1.3.0 = STRING: "IBM"
SNMPv2-SMI::enterprises.674.10893.2.102.1.4.0 = STRING: "unknown"

It's a Dell PowerVault TL2000 Tape Library that has a ibm tape drive in it. ;)

According to MIB attached in this ticket,

The command below return global status:

snmpwalk -v 1 -c public -m DELL-TL2000-MIB tape01.phx2.fedoraproject.org 1.3.6.1.4.1.674.10893.2.102.2.1

TL2000StatusGlobalStatus OBJECT-TYPE

  SYNTAX INTEGER

    {

    other(1),

    unknown(2),

    ok(3),

    non-critical(4),

    critical(5),

    non-Recoverable(6)

    }

I created a script to monitor this.

Attached that script here.

What you think about this script? Can I create a patch to add this service in tape01?

Patch applied. Ticket fixed.

Login to comment on this ticket.

Metadata