ns统计使用资源的SNMP OID

ns统计使用资源的SNMP OID

> add snmp manager 192.168.195.1
> add snmp community public ALL
> add snmp trap generic 192.168.195.1 -communityName public
> add snmp trap specific 192.168.195.1 -communityName public

#############################

# resCpuUsage --- CPU utilization percentage.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.1.0

# resMemUsage --- Percentage of memory utilization on HGAns.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.2.0

# numCPUs --- The number of active CPUs.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.3.0

# memSizeMB --- Total amount of system memory, in megabytes.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.4.0

# numSSLCards  Number of SSL Cards on the system
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.5.0

# mgmtCpuUsage --- Mgmt CPU utilization percentage.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.6.1.2.8.77.103.109.116.32.67.80.85

# packetCpu0Usage --- Packet CPU 0 utilization percentage.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.6.1.2.12.80.97.99.107.101.116.32.67.80.85.32.48
 
# cpuSpeedMHz --- CPU speed in MHz.
.\snmpget.exe -v2c -c public 192.168.195.205 .1.3.6.1.4.1.5951.4.1.1.41.15.0

#############################

 

 

========================== End

 

posted @ 2018-07-23 15:52  lsgxeva  阅读(439)  评论(0)    收藏  举报