Penguin

Differences between current version and revision by previous author of SNMP.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 5 Last edited on Saturday, September 15, 2007 3:25:57 pm by GlynWebster
Older page: version 4 Last edited on Tuesday, March 2, 2004 6:03:57 pm by MichaelHitchins Revert
@@ -1,18 +1,21 @@
 [Acronym] for __S__imple __N__etwork __M__anagement __P__rotocol. 
  
 A easy way to retrieve data from a device, simple enough to be implemented in almost anything. Your [ADSL] router probably speaks [SNMP], network printers support [SNMP] etc. If you have a device that has [SNMP] try the commands: 
+  
+<pre>  
  snmpwalk ''ip.of.machine'' public . 
  snmptable ''ip.of.machine'' public udp.udpTable 
  snmptable ''ip.of.machine'' public ip.ipNetToMediaTable 
  snmptable ''ip.of.machine'' public ip.ipRouteTable 
  snmptable ''ip.of.machine'' public ip.ipAddrTable 
  snmptable ''ip.of.machine'' public interfaces.ifTable 
  snmptable ''ip.of.machine'' public tcp.tcpConnEntry 
  snmptable ''ip.of.machine'' public host.hrStorage.hrStorageTable 
+</pre>  
  
 (change public if you know the community name is something else) to see all the information you can get out of [SNMP]. 
  
 There are lots of programs that will graph from [SNMP], including [MRTG] and [rrdtool]. There are some nice wrappers around these tools like cricket and [Cacti] (I highly recommend [Cacti], it's pretty) 
  
 ---- 
 CategoryProtocols