Skip to content

Commit

Permalink
Reformat example
Browse files Browse the repository at this point in the history
  • Loading branch information
awksedgreep committed Mar 3, 2010
1 parent de60714 commit 69aed82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Expand Up @@ -257,9 +257,9 @@ SNMPMulti Utility class usage:
{:name => 'server2', :host => 'server2.myhost.com', :community => 'public'}])
poller.oids = ['1.3.6.1.2.1.1.1', '1.3.6.1.2.1.1.3']
poller.poll
poller.response.first[:response].variable_bindings.each do |vb|
puts vb.oid.to_s + ' => ' + vb.variable.to_s
end
poller.response.first[:response].variable_bindings.each do |vb|
puts vb.oid.to_s + ' => ' + vb.variable.to_s
end

Please see the wiki and examples directory for more examples: http://wiki.github.com/awksedgreep/SNMP4JR/

Expand Down

0 comments on commit 69aed82

Please sign in to comment.