91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Nagios+Nagvis+pnp4+MKlivestatus+gearman on suse SLESSP3

發布時間:2020-06-28 21:58:32 來源:網絡 閱讀:915 作者:潘麟 欄目:移動開發

zypper in gcc-c++ glibc-devel libstdc++-devel apache2

php53 apache2-mod_php53 php53-gd php53-gettext php53-mbstring

php53-json php53-pdo graphviz rrdtool libboost_program_options1_36_0

php53-zlib


useradd -m nagios

groupadd nagios

usermod -G nagios nagios

groupadd nagcmd

usermod -A nagcmd nagios

usermod -A nagcmd wwwrun


tar zxf nagios-3.5.1.tar.gz

cd nagios/

./configure --with-command-group=nagcmd

make all

make install

make install-init

make install-config

make install-commandmode

make install-webconf

htpasswd2 -c /usr/local/nagios/etc/htpasswd.users nagiosadmin


tar zxf nagios-plugins-2.1.1.tar.gz 

cd nagios-plugins-2.1.1/

./configure --with-nagios-user=nagios --with-nagios-group=nagios

make

make install


chkconfig --add nagios

chkconfig nagios on

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

service nagios start

service apache2 start


rpm -ivh sqlite2-2.8.17-134.12.x86_64.rpm

rpm -ivh php53-sqlite-5.3.17-0.13.7.x86_64.rpm

rpm -ivh php53-sockets-5.3.17-0.13.7.x86_64.rpm

tar zxf mk-livestatus-1.2.6p16.tar.gz

cd mk-livestatus-1.2.6p16/

./configure

make

make install

vi /usr/local/nagios/etc/nagios.cfg

broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live

service nagios restart


tar zxf nagvis-1.8.5.tar.gz 

cd nagvis-1.8.5/

./install.sh

service apache2 restart


tar zxf pnp4nagios-0.6.25.tar.gz 

cd pnp4nagios-0.6.25/

./configure

make all

make fullinstall

a2enmod rewrite

service apache2 restart


rpm -ivh gearmand-server-0.33-2.sles11sp3.x86_64.rpm

rpm -ivh gearmand-0.33-2.sles11sp3.x86_64.rpm

rpm -ivh gearmand-devel-0.33-2.sles11sp3.x86_64.rpm

rpm -ivh mod_gearman-1.5.2-1.sles11sp3.x86_64.rpm

vi /usr/local/nagios/etc/nagios.cfg

broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf

process_performance_data=0--->process_performance_data=1

vi /usr/local/nagios/etc/objects/templates.cfg

define host {

   name       host-pnp

   action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=_HOST_

   register   0

}


define service {

   name       srv-pnp

   action_url /pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$&srv=$SERVICEDESC$

   register   0

}

vi /usr/local/nagios/etc/objects/localhost.cfg

use linux-server--->use linux-server,host-pnp

use local-service--->use local-service,srv-pnp

service nagios stop

service gearmand start

/etc/init.d/mod_gearman_worker start

service nagios start

tar zxf String-CRC32-1.5.tar.gz

cd String-CRC32-1.5

perl Makefile.PL

make

make test

make install

tar zxf Gearman-1.12.tar.gz

cd Gearman-1.12.tar

perl Makefile.PL

make

make test

make install

tar zxf Test-Simple-1.001014.tar.gz

cd Test-Simple-1.001014

perl Makefile.PL

make

make test

make install

tar zxf Crypt-Rijndael-1.13.tar.gz

cd Crypt-Rijndael-1.13

perl Makefile.PL

make

make test

make install

/etc/init.d/pnp_gearman_worker start

cd /usr/local/pnp4nagios/share

mv install.php install.php.bak


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

平乐县| 枣强县| 佛冈县| 甘泉县| 邵东县| 岗巴县| 香格里拉县| 海口市| 柘荣县| 班玛县| 博罗县| 宝坻区| 彝良县| 赞皇县| 上虞市| 黎平县| 班玛县| 天祝| 临朐县| 深泽县| 绥芬河市| 清原| 淳化县| 澄江县| 通城县| 灌阳县| 昌邑市| 海口市| 闵行区| 额敏县| 彭州市| 启东市| 和政县| 庆云县| 温宿县| 兴山县| 军事| 镇江市| 阳江市| 突泉县| 夏邑县|