cacti监控linux和windows磁盘IO
2021-02-09 04:18
标签:ext view windows磁盘 fun key ice 9.1 chown gpo cacti监控linux和windows磁盘IO 一,环境 二,操作步骤: 首先监控linux磁盘IO 然后是监控windows磁盘IO操作步骤: 下载地址:http://www.wtcs.org/informant/download.htm 并更改权限。 本文出自 “charlie_cen” 博客,请务必保留此出处http://charlie928.blog.51cto.com/3741218/1331780 cacti监控linux和windows磁盘IO 标签:ext view windows磁盘 fun key ice 9.1 chown gpo 原文地址:https://www.cnblogs.com/diyunpeng/p/8629514.html
cacti版本:0.8.8b
# uname -a
Linux 10-6-8-200 2.6.32-279.22.1.el6.x86_64
#1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# cp snmpdiskio /usr/local/bin/
vi
/var/www/html/cacti/resource/snmp_queries/partition
.xml
/name
>
for
a list of monitorable partitions
/description
>
/oid_index
>
/index_order
>
/index_order_type
>
/index_title_format
>
/name
>
/method
>
source
>value
/source
>
/direction
>
/oid
>
/hdIndex
>
/name
>
/method
>
source
>value
/source
>
/direction
>
/oid
>
/hdDescr
>
/name
>
/method
>
source
>value
/source
>
/direction
>
/oid
>
/hdInBlocks
>
/name
>
/method
>
source
>value
/source
>
/direction
>
/oid
>
/hdOutBlocks
>
/fields
>
/interface
>
# chown apache. partition.xml
# vi /etc/snmp/snmpd.conf
extend .1.3.6.1.4.1.2021.54 hdNum
/bin/sh
/usr/local/bin/snmpdiskio
hdNum
extend .1.3.6.1.4.1.2021.55 hdIndex
/bin/sh
/usr/local/bin/snmpdiskio
hdIndex
extend .1.3.6.1.4.1.2021.56 hdDescr
/bin/sh
/usr/local/bin/snmpdiskio
hdDescr
extend .1.3.6.1.4.1.2021.57 hdInBlocks
/bin/sh
/usr/local/bin/snmpdiskio
hdInBlocks
extend .1.3.6.1.4.1.2021.58 hdOutBlocks
/bin/sh
/usr/local/bin/snmpdiskio
hdOutBlocks
# service snmpd restart
# snmpwalk -v 2c -c meihua localhost .1.3.6.1.4.1.2021.58
UCD-SNMP-MIB::ucdavis.58.1.0 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.58.2.1.2.11.104.100.79.117.116.66.108.111.99.107.115 = STRING:
"/bin/sh"
UCD-SNMP-MIB::ucdavis.58.2.1.3.11.104.100.79.117.116.66.108.111.99.107.115 = STRING:
"/usr/local/bin/snmpdiskio hdOutBlocks"
UCD-SNMP-MIB::ucdavis.58.2.1.4.11.104.100.79.117.116.66.108.111.99.107.115 =
""
UCD-SNMP-MIB::ucdavis.58.2.1.5.11.104.100.79.117.116.66.108.111.99.107.115 = INTEGER: 5
UCD-SNMP-MIB::ucdavis.58.2.1.6.11.104.100.79.117.116.66.108.111.99.107.115 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.58.2.1.7.11.104.100.79.117.116.66.108.111.99.107.115 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.58.2.1.20.11.104.100.79.117.116.66.108.111.99.107.115 = INTEGER: 4
UCD-SNMP-MIB::ucdavis.58.2.1.21.11.104.100.79.117.116.66.108.111.99.107.115 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.58.3.1.1.11.104.100.79.117.116.66.108.111.99.107.115 = STRING:
"0"
UCD-SNMP-MIB::ucdavis.58.3.1.2.11.104.100.79.117.116.66.108.111.99.107.115 = STRING: "0
文章标题:cacti监控linux和windows磁盘IO
文章链接:http://soscw.com/index.php/essay/52902.html