TritonDataCenter / node-snmpjs

SNMP toolkit for Node.js
111 stars 60 forks source link

SNMPGet Examples #227

Open sirmxanot opened 9 years ago

sirmxanot commented 9 years ago

Will you please point me towards some examples of using SNMP Get?

bahamat commented 9 years ago

Did you try the one in the README?

sirmxanot commented 9 years ago

I believe that that is an example of setting up an agent to respond to a get. Is it possible to use snmpjs to actually send a SNMPGet (request) to a different agent ?

ie. doing this ($ snmpget -v 2c -c any localhost .1.3.6.1.2.1.1.5.0) using snmpjs

bahamat commented 9 years ago

Yeah, you're right. Sorry. Check the snmpget.js example file.