Centos6
#hp-health-10.10-1710.30.rhel6.x86_64.rpm
#hpssacli-2.0-23.0.x86_64.rpm
hpssaclictrlallshowconfig
hpasmcli-s‘SHOWSERVER‘
/etc/init.d/hp-healthrestart
#cpuserparameter_hp_hardware.conf到zabbix目录
#/etc/sudoers.d/zabbix
Defaults:zabbix!requiret..
分类:
其他好文 时间:
2015-09-08 20:25:50
阅读次数:
171
源码安装(看起来有点麻烦,其实还好)1按步骤搭建好LAMP环境2添加zabbix用户和组#groupadd-g201zabbix#useradd-u201-gzabbix-mzabbix3安装所需要的组件#yuminstall-ycurlcurl-develnet-snmpsnmpnet-snmp-develperl-DBIphp-gdphp-xmlphp-bcmathphp-mbstring4下载软件并解压#wge..
分类:
其他好文 时间:
2015-09-08 20:24:55
阅读次数:
237
tips:大家可以参考官方文档,这是解决问题的啊https://www.zabbix.com/documentation/2.4/manual1了解zabbixZabbixissoftwarethatmonitorsnumerousparametersofanetworkandthehealthandintegrityofservers.Zabbixusesaflexiblenotificationmechanismthatallowsuserstoconfigur..
分类:
其他好文 时间:
2015-09-08 20:20:12
阅读次数:
292
1,打开php.ini配置文件,修改如下参数为如下值,否则zabbix安装不了。max_execution_time=300memory_limit=128Mpost_max_size=16Mupload_max_filesize=2Mmax_input_time=300date.timezoneAsia/shanghai2,所有版本下载地址:http://www.zabbix.com/download.php3,安装所依赖的..
分类:
其他好文 时间:
2015-09-08 12:40:09
阅读次数:
323
1、相当于变量使用之前的模板定义宏使用宏如果网卡的名字不是eth0,是em1,就定义一个宏,就像一个变量
分类:
其他好文 时间:
2015-09-08 07:10:57
阅读次数:
184
1、discovery功能文件系统:vfs.fs.discovery网卡发现:net.if.discovery使用之前的模板添加图像查看绘图
分类:
其他好文 时间:
2015-09-08 07:10:48
阅读次数:
218
代码github位置。主要功能:获取zabbix某个分组下的所有机器,计算这些机器的磁盘剩余空间按照“自然”增长还可以使用多少天。主要流程:获取某个group下所有机器。defhost_get_by_groupid(self,groupid):
data=json.dumps(
{
"jsonrpc":"2.0",
"method":"host.get",
"params":..
1、打开apache的ServerStatus页面,在httpd.conf文件最下边加入代码段。ExtendedStatusOn
<location/server-status>
SetHandlerserver-status
OrderDeny,Allow
Denyfromall
Allowfrom127.0.0.1
</location>2、通过脚本获取zabbix需要的item的值,在/alidata/zabbix..
分类:
Web程序 时间:
2015-09-07 19:39:21
阅读次数:
375
history.get方法中的 history 参数默认值为 3(int类型): 参数history的数值需要根据 zabbix 设定的去设置,否则返回的数据会是空列表: value?=?zapi.history.get({"output":"extend","history":3,"itemids"...
分类:
Windows程序 时间:
2015-09-07 18:09:11
阅读次数:
1147