日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Big Brother监控安装

發布時間:2023/12/20 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Big Brother监控安装 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Big Brother監控安裝

系統使用CentOS,BigBrother是一套服務器監控程序,免費版本只提供至1.9i。 可設定監控每臺服務器的不同服務,可記錄服務器的存活歷程服務,斷線時自動以E-Mail報警,方便快速定位故障。 1.安裝所需套件 yum install gcc-c++ yum install httpd 2.下載bb4軟件 mkdir /var/www/html/bb4 cd /var/www/html/bb4 下載bb-1.9i.tar.gz wget http://bb4.org/dnld/bb-1.9i.tar.gz 3.解壓縮bb4 tar -zxvf bb-1.9i.tar.gz tar -xf BBSVR-bb1.9i-btf.tar 4.設定bb4 adduser bb#建立BB用戶,以便使用此用戶啟動BB服務系統 cd /var/www/html/bb4/bb1.9i-btf/install ./bbconfig linux Do you agree to the terms of this license (y/n):y What will be the user ID for BB [bb]:(ENTER) Use FQDN (y/n): [y] What host will be the BBDISPLAY [server]: 192.168.6.1(監控主機的IP) What host will be the BBPAGER [192.168.6.1]:(ENTER) Is this host a BBDISPLAY host (y/n): [y] Is this host a BBPAGER host (y/n): [y] Enter the default e-mail address to send notifications to: [root@server] admin@test.com Enter the base URL for BB [/bb]:(ENTER) Enter CGI directory [/home/www/httpd/cgi-bin]: /var/www/cgi-bin Enter the base URL of the CGI scripts [/cgi-bin]:(ENTER) *** We've noticed that we've set some of the pathnames wrong *** by default here. May we mail a summary of the paths we *** missed back to info@bb4.com so we can update our installs?[y/n]n Enter web server user id [nobody]:apache Enter group name [apache]:(ENTER) 5.安裝bb4 chown -R bb /var/www/html/bb4/bbvar ?/var/www/html/bb4/bb1.9i-btf su - bb cd /var/www/html/bb4/bb1.9i-btf/src make make install (如果make時出現bbd.c:724: error: invalid storage class for function ‘bbd_timeout’錯誤時 vim /var/www/html/bb4/bb1.9i-btf/src/bbd.c 把722行 "static"字串刪掉) 6.編輯bb4監控目錄文件bb-hosts cd?../etc# local directory [pwd] should now be /var/www/html/bb4/bb1.9i-btf/etc 由于使用系統不同可能會有區別 或/usr/local/bb/bb1.9i-btf/etc ] cp bb-hosts?bb-hosts.bak???# always make a backup of config files, BEFORE editing them vim /var/www/html/bb4/bb1.9i-btf/etc/bb-hosts 范例: xxx.xxx.xxx.xxxthis.host.name ????? # BBDISPLAY BBPAGER BBNET 將this.host.name修改成你監控主機的電腦名稱,否則檢查時會出錯。 group BB Server 192.168.6.1 bb # BBNET BBDISPLAY BBPAGER http://192.168.6.1/bb(必須在最上行) 192.168.6.2 flash.it.net # BBNET ftp http://flash.it.net/ 192.168.6.3 goth.it.net # BBNET ftp http://goth.it.net/ In the first line, the server is monitoring itself (BBNET), is displaying the results (BBDISPLAY) and will send out alerts (BBPAGER).This is the usual setting for the top line. The subsequent lines indicate the folowing hosts are also to be monitored (BBNET), with details of IPs, Services to be monitored and FQDNs. 7. 檢查錯誤項目 ./bbchkcfg.sh - Checks the bbdef*.sh/bbinc*.sh/bbsys.sh source scripts for invalid entries. Follow the screen prompts and fix any errors. ./bbchkhosts.sh - Checks the bb-hosts file for errors. Follow the screen prompts and fix any errors. cd?/var/www/htmlor?? cd?/usr/local/bb chown?-R?bb bb4#給BB安裝目錄賦于BB用戶權限(其實前面已經給過權限了) - Change the ownership of all the directories and files in the /bb directory back to the BBUSER 8.目錄轉向 Big Brother will actually output the information to an .html file in /usr/local/bb/bb1.9i-btf/www/bb.html To make this accessible to network users, create a symlink to a virtual directory in the Apache tree.. ln?-s?/var/www/html/bb4/bb1.9i-btf/www/?/var/www/html/bb # 將BB目錄轉換到APACHE目錄以方便訪問http://IP/bb or? ln?-s?/usr/local/bb/bb1.9i-btf/www?/usr/local/apache/htdocs/bb 9.啟動服務 su?bb cd?/var/www/html/bb4/bb1.9i-btfor?cd?/usr/local/bb/bb1.9i-btf ./runbb.sh?start Wait a minute or two for the thing to get started and registering. Welcome to Big Brother It takes between 5 and 10 minutes to collect, process, and to fully render the first status page. When this process is completed, this screen will be replaced by your Big Brother Display. Thank you for choosing Quest Software 10.注意事項 縮短檢查服務時間:By default, the system checks the target services once every 300 seconds. To increase the update frequency, edit the runbb.sh file and change the BBSLEEP=60(第244行) for 60 seconds, or as required. To fix any errors or change the servers or services to be checked, edit the main config file as you did above 警告信發送對象:/bb/etc/bbwarnrules.cfg gione;;*;;*;*;test@test.com test2@test.com hosts;exhosts;services;exservices;day;time;recipients 開機啟動服務: If you wish to start BB automatically at startup, we suggest the following command in your startup script: su?bb –c "cd /var/www/html/bb4/bb1.9i-btf ./runbb.sh restart" or su?-bb –c "cd /var/www/html/bb4/bb1.9i-btf; ./runbb.sh start" 到此安裝結束,請訪問監控主機IP,看下是否安裝成功吧~! Rain_zheng 2011-10-26

?

轉載于:https://blog.51cto.com/dlnat/698131

總結

以上是生活随笔為你收集整理的Big Brother监控安装的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 国产福利一区视频 | 99re在线观看 | 日韩国产片 | av最新地址| 欧美混交群体交 | 久久久少妇 | 亚洲国产97在线精品一区 | 黄色成人免费网站 | 欧美精品自拍视频 | 真实的国产乱xxxx在线91 | 蜜臀一区二区三区精品免费视频 | 日韩精品久久久久久久酒店 | 国产夫妻性爱视频 | 国产资源站 | 精人妻无码一区二区三区 | 日韩城人视频 | 91成年人视频 | 国产精品人八做人人女人a级刘 | 91麻豆产精品久久久久久 | 美乳人妻一区二区三区 | 午夜国产一区 | 青春草在线视频观看 | 超碰男人天堂 | 日韩欧美的一区二区 | 麻豆视频免费在线观看 | 日韩女优一区二区 | 国产在线一二三区 | 久久夜色精品国产欧美乱 | 久久成人人人人精品欧 | 邻居交换做爰2 | 天使色吧| 久久久夜色| 黄色a一级 | 丁香婷婷六月天 | 久久伊人一区二区 | 97超碰色 | 一区二区在线观看av | 免费av在线 | 91黄色免费网站 | www.一级片 | 夜夜嗨老熟女av一区二区三区 | 色综合图片区 | 欧美乱插 | 亚洲国产果冻传媒av在线观看 | 欧美激情在线免费观看 | 在线成人中文字幕 | 国产精品成人一区二区 | 精品久久影视 | 国产精品国产三级国产传播 | 国产毛片一区二区三区va在线 | 国产日本在线观看 | 国产精品网页 | 欧美 在线| 亚洲啪啪免费视频 | 2019中文字幕在线观看 | 国产少女免费观看高清 | 国产一区欧美日韩 | 日韩一级中文字幕 | 五月天激情视频 | chinese hd av| 男男车车的车车网站w98免费 | 中文字幕777| 伊人午夜| 三级免费网站 | 国产在线小视频 | 大地资源二中文在线影视观看 | 成人av手机在线观看 | 特级西西人体wwwww | 亚洲无卡视频 | 四川一级毛毛片 | 亚洲国产日韩在线一区 | 丰满少妇一区二区三区视频 | 天天操一操 | 91精品国产91久久久久久 | 亚洲成人黄色 | av涩涩| 一卡二卡三卡在线视频 | 波多野在线观看 | 色爱av综合网 | av毛片基地 | 一级少妇片 | 久久成人精品视频 | 色偷偷网 | 黄色小视频免费 | 99婷婷 | 国产精品av在线 | 欧美日韩二区三区 | xxxx 国产 | 九九午夜视频 | 色吊丝中文字幕 | 日本一区二区三区四区视频 | 精品国产免费看 | 欧美日韩国产网站 | 黄色a级片在线观看 | 国产成人精品免高潮费视频 | 亚洲一区二区在线 | 国产后入又长又硬 | 亚洲免费三区 | 顶级尤物极品女神福利视频 |