Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 3580 on an AS/400 and want to monitor tape status, most importantly, is one actually inserted, using SNMP get.

Find a lot of SNMP details on tape libraries, but for a stand alone drive I assume this would have to come from the OS device status.

Any idea of OID(s) that would be helpful?


Does not look like there is a native OID. Are there any examples of OID extensions using SNMP sub-agents I could look at?


Actually, coding a subagent to extend the IOD tree is a programming function, not an admin function, so probably should be asked elsewhere.

share|improve this question
up vote 3 down vote accepted

I'm not aware of any OID's to provide the information you are looking for. It may be possible to implement custom OID's.

The only way I know of to even detect if a tape is inserted is to attempt to access it with CHKOBJ DEV(TAP01), for example, and monitoring for an escape message.


share|improve this answer
Yes, my research says the same thing. Extending with a sub-agent would be the only way. I'll expand the question; are there any open source examples of SNMP sub-agents running around out there? – tlum Aug 27 '13 at 15:22
@tlum I know there's a RedBook for that (in fact the one JamesA also linked to :-) I haven't read it in years, but there is a chapter on subagents that might be helpful. – voretaq7 Aug 27 '13 at 15:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.