1) 查找php文件
# find / -name "func.inc.php"
/usr/share/zabbix/include/func.inc.php
2)修改文件
#vim /usr/share/zabbix/include/func.inc.php
将$blackList = [‘%‘, ‘ms‘, ‘rpm‘, ‘RPM‘];
改为$blackList = [‘%‘, ‘ms‘, ‘rpm‘, ‘RPM‘, ‘个‘];
3)修改监控项
4)验证
修改成
# find / -name "func.inc.php"
/usr/share/zabbix/include/func.inc.php
#vim /usr/share/zabbix/include/func.inc.php
将$blackList = [‘%‘, ‘ms‘, ‘rpm‘, ‘RPM‘];
改为$blackList = [‘%‘, ‘ms‘, ‘rpm‘, ‘RPM‘, ‘个‘];
修改成