阿牛 发表于 2019-1-25 09:15:29

zabbix 安装 weathermap

  wget http://network-weathermap.com/files/php-weathermap-0.97c.zip
unzip php-weathermap-0.97c.zip
cp -rp weathermap/ /usr/share/zabbix/
cd /usr/share/zabbix/weathermap/
# Verify
php check.php
# 2 "PHP Strict Standards" errors, not serious apparently
# Check if a weathermap.png was created in http://1.2.3.4/zabbix/weathermap/weathermap.png

# in editor.php :
$ENABLED=true;
// ...
// To avoid the warning message about Cacti
$ignore_cacti=TRUE;

cd /tmp
git clone https://github.com/amousset/php-weathermap-zabbix-plugin
cp -rp php-weathermap-zabbix-plugin/lib/* /usr/share/zabbix/weathermap/lib/

cd /usr/share/zabbix/weathermap
chown www-data configs/
chmod u+w configs/

cat >>/etc/apache2/conf.d/zabbix
页: [1]
查看完整版本: zabbix 安装 weathermap