Tape device loaded

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Tape device loaded

Post by Prometheus »

I would like to set a monitor to see if my tape drive is loaded or not. But i have no idea how to do this. Does anybody has tips?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be WMI test can help
Namespace: root\cimv2
Query: select Availability from Win32_TapeDrive
Alert if any Availability <> 3

Regards
Alex
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Post by Prometheus »

Hi Alex,

It works, but im no sure what the test is showing. Is it showing the status of the TapeDrive or something else?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

This test gets all devices, visible by Windows as TapeDrive and checks Availability property.
Availability property may have the following values:
Other (1)
Unknown (2)
Running/Full Power (3)
Warning (4)
In Test (5)
Not Applicable (6)
Power Off (7)
Off Line ( 8 )
Off Duty (9)
Degraded (10)
Not Installed (11)
Install Error (12)
Power Save - Unknown (13)
Power Save - Low Power Mode (14)
Power Save - Standby (15)
Power Cycle (16)
Power Save - Warning (17)
Paused ( 18 )
Not Ready (19)
Not Configured (20)
Quiesced (21)

You may check if your device is listed as TapeDrive and it's current status using WMI Explorer (wmiexplorer.exe) and WQL query select Availability from Win32_TapeDrive

Please check for details at:
Win32_TapeDrive WMI class: https://msdn.microsoft.com/en-us/librar ... s.85).aspx
WMI Explorer: http://www.ks-soft.net/hostmon.eng/wmi/index.htm
Post Reply