Difference between revisions of "net-snmp scratchpad"

From thelinuxwiki
Jump to: navigation, search
(Created page with "on check point splat smartcenter # snmpwalk -v 2c -c public localhost == snmpgets == uptime [Expert@ckkpmgr]# '''snmpget -v 2c -c public localhost HOST-RESOURCES-MIB...")
 
 
(One intermediate revision by one user not shown)
Line 4: Line 4:
 
  # snmpwalk -v 2c -c public localhost
 
  # snmpwalk -v 2c -c public localhost
  
 +
disk stuff including percent usage
  
 
+
# snmpwalk  -v 2c -c public localhost .1.3.6.1.4.1.2021.9
 
+
  
 
== snmpgets ==
 
== snmpgets ==
Line 13: Line 13:
 
  [Expert@ckkpmgr]# '''snmpget -v 2c -c public localhost HOST-RESOURCES-MIB::hrSystemUptime.0'''
 
  [Expert@ckkpmgr]# '''snmpget -v 2c -c public localhost HOST-RESOURCES-MIB::hrSystemUptime.0'''
 
  HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (1067252) 2:57:52.52
 
  HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (1067252) 2:57:52.52
 +
 +
  
 
[[category:snmp]]
 
[[category:snmp]]

Latest revision as of 20:58, 2 March 2014

on check point splat smartcenter


# snmpwalk -v 2c -c public localhost

disk stuff including percent usage

# snmpwalk  -v 2c -c public localhost .1.3.6.1.4.1.2021.9 

snmpgets

uptime

[Expert@ckkpmgr]# snmpget -v 2c -c public localhost HOST-RESOURCES-MIB::hrSystemUptime.0
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (1067252) 2:57:52.52