J
jackster the jackle
I'm trying to access my variable directly here rather than using puts to
print it out. Can anyone tell me the easiest way to access it from the
variable?
ipadd = ARGV[0]
columns = ["ifDescr"]
SNMP::Manager.open
Host => ipadd, :Community => "877pricelineHOBO" ) do
|m|
m.walk(columns) { |row| puts row.join("\t") }
end
thanks
jackster
print it out. Can anyone tell me the easiest way to access it from the
variable?
ipadd = ARGV[0]
columns = ["ifDescr"]
SNMP::Manager.open
|m|
m.walk(columns) { |row| puts row.join("\t") }
end
thanks
jackster