- 登入multisite後,左欄下捲到底端的WATO Configuration。
- 進入Monitoring Agents,下載給被監測主機的agent,Linux rpm, deb, Windows msi應有盡有。上傳到該主機並安裝之,agent使用的預設埠位為6556。記得該主機防火牆要開放通行。
- 回到WATO,進入Hosts -> New Host,填上Hostname,勾IP address,勾Agent Type選預設Check_MK,Save & goto Services後,auto discovery就會自動掃出一堆監測項目啦。Save後就完成了!
2016年2月15日 星期一
Check_MK RAW edition, part 1.
到Check_MK官網 (http://mathias-kettner.com/check_mk.html) 下載安裝 Raw Edition,就可以開始增加被監測主機了。
Windows Internals Training
想照RHCE的深度訓練來教Windows,Windows Internals是很好的教材。System Administration (RH133) 的對應大綱如下:
- Filesystem management (Ch. 12).
- Startup & Shutdown (Ch. 5)
- Management Mechanisms (Ch. 4, 8)
- Networking (Ch. 13)
- Kernel & System Architecture (Ch. 2)
2016年2月13日 星期六
IT監控系統的選擇(續)
承上篇,若從人力財力的角度來分類,可以得出以下小結:
- 有錢有人,可以考慮發展Splunk,或Nagios XI,或Zabbix。就根據組織對彈性與內建功能之間的平衡如何拿捏了。
- 有錢沒人,可能從內建較完整的Zabbix開始吧。雖然Splunk可以包給廠商做,但要刻的東西不少喔,沒人後續維護的話,會很麻煩。
- 沒錢有人,Cacti,或Nagios,或Check_MK,接著再花人力刻出要的功能吧。或是直接用Zabbix應該也行,但系統資源要比較夠力一點。
- 沒錢沒人,大概只剩Check_MK的自動功能可依賴了,而且他基於Nagios的本質,資源消耗也較少。若監測的環境較小,Cacti或Nagios的少量template也堪用。
2016年2月12日 星期五
IT監控系統的選擇
選擇的依據,不外乎:公司要求的,自己喜歡的,人力與財力負擔得起的。總之,最後還是用的順手最重要,以確實達到即時「監控」的目標。
- 公司要求的
- 自己喜歡的
- 人力與財力負擔得起的
以下就從這個面向,來談談幾個我用過的系統。
- Cacti
那麼 SNMP template 可以考慮嗎?見仁見智,如果你用過能夠做 auto discovery (自動列舉) 的系統,大概就不想自己刻了。並且 SNMP 是否足夠安全,也是需要考量的。有些系統則是發展自己的 agent (代理程式),既有自己的傳輸協定,又能像SNMP一樣大把抓資料。以下要談到的系統,通通有agent可以用。
- Splunk
- Nagios
想打好自己做監控的基礎,Nagios不可或缺。沒摸過的話,市面的書不少,先抓幾本來看,不要急著裝起來。Nagios的設計有極簡約的美,core, plugins 各自做好自己的事,但若你不瞭解他的運作原理,裝起來只會呆掉無從下手。Nagios能調的地方非常多,外掛的功能也超多,就怕你自己不知道要監測什麼--沒錯,你得先規劃好自己的監測架構才行,然後才用Nagios組合出你要的架構,就像堆積木一樣。美中不足的是,Nagios 著眼在警報,若你想要 visualization,一定得自己外掛。如果你沒時間想沒時間做,不建議用Nagios Core,而是用商業版的Nagios XI,或Check_MK,這些基於Nagios但已經幫你架構好的監控系統。
Nagios也有個好用的 agent 叫 NRPE,很輕量,但你也得自己告訴他要去check什麼東西才行。 總的來說,Nagios的優點就是到處都能調。
- Check_MK
若想進一步客製化圖表,把RRD導給Cacti進一步處理,會是不錯的做法。
- Zabbix
2013年3月24日 星期日
static arp setup for Linux
1) edit /etc/ethers, and add lines as following:
192.168.1.10 00:12:34:56:78:9A
2) run `arp -f`. and you can add this line into /etc/rc.local for startup.
3) use `arp -d ..` to delete specific entries.
REFERENCES:
http://blog.fashion-style.com.tw/2008/05/13/linux_161816_arp_virus/
http://ceasarfree.blogspot.com/2010/09/linuxarp.html
192.168.1.10 00:12:34:56:78:9A
2) run `arp -f`. and you can add this line into /etc/rc.local for startup.
3) use `arp -d ..` to delete specific entries.
REFERENCES:
http://blog.fashion-style.com.tw/2008/05/13/linux_161816_arp_virus/
http://ceasarfree.blogspot.com/2010/09/linuxarp.html
2013年3月23日 星期六
Debian chinese input, office, and testing
1) install ibus-chewing but remove ibus-gtk for Libreoffice crashing issue.
$ sudo apt-get install ibus-chewing
$ sudo apt-get purge ibus-gtk
2) setup useful repo for Testing branch.
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://deb-multimedia.org testing main non-free
REFERENCE:
https://github.com/mockturtl/lmde-faq/wiki/Debian-and-Linux-Mint-Debian-Edition
http://sysadmnote.blogspot.tw/2012/11/libreoffice-writer-ibus-chewing.html
$ sudo apt-get install ibus-chewing
$ sudo apt-get purge ibus-gtk
2) setup useful repo for Testing branch.
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://deb-multimedia.org testing main non-free
REFERENCE:
https://github.com/mockturtl/lmde-faq/wiki/Debian-and-Linux-Mint-Debian-Edition
http://sysadmnote.blogspot.tw/2012/11/libreoffice-writer-ibus-chewing.html
2013年1月27日 星期日
Debian archive of old releases
http://cdimage.debian.org/mirror/cdimage/archive
http://archive.debian.org/debian
then, apt-get install debian-keyring debian-archive-keyring
http://archive.debian.org/debian
then, apt-get install debian-keyring debian-archive-keyring
訂閱:
文章 (Atom)