jarosser06 / netapp

Ruby gem to query information from a Netapp using SNMP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

NetApp

requires 'snmp'

Wrapper for checking filer with snmp.

Get Volume Total Size in TB

require 'netapp'

filer = NetApp.new("192.168.1.20")
test_vol = filer.volume("/vol/test1/")
test_vol.total.to_u(:TB)

Print Out Volume Used in Human Readable String

require 'netapp'

filer = NetApp.new("192.168.1.20")
test_vol = filer.volume("/vol/test1/")
test_vol.used.to_h(:GB)

About

Ruby gem to query information from a Netapp using SNMP

License:MIT License


Languages

Language:Ruby 100.0%