snmp

  • ref

    • query local system info 範例

      http://www.liquidweb.com/kb/how-to-install-and-configure-snmp-on-centos/
      
    • mib module

      http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_MIB_Module
      
  • 注意

    • snmp 目前到 v3
      https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol
      
  • config
    1. yum install net-snmp net-snmp-utils
  • commands

    • snmpwalk -m IFT-SNMP-MIB.mib -v 1 -c public 172.27.112.213 .1
    • snmpget -v 1 -c public 172.27.112.109 iso.3.6.1.2.1.1.1.0

      要將 mib file 放在 /root/.snmp/mibs
      

results matching ""

    No results matching ""