Fortigate 的 SPAN (Switch Port Analyzer) 也就是常聽到的 port mirror

GUI 設定很簡單
Network > Interfaces > 選擇介面 > 加入一個port , 準備把流量複製給他 > 拉到下面 SPAN enable > 選擇來源和目的port > 方向 both
存檔即可

helloworld 發表在 痞客邦 留言(0) 人氣()

下載 livecd 開機
mount /dev/sda1 /mnt

helloworld 發表在 痞客邦 留言(0) 人氣()

指令: 
# docker-compose rm -s -v service_name
或是參數合在一起也可以
# docker-compose rm -sv service_name
Options:
  -f, --force     Don't ask to confirm removal
  -s, --stop      Stop the containers, if required, before removing
  -v, --volumes   Remove any anonymous volumes attached to containers

helloworld 發表在 痞客邦 留言(0) 人氣()

以前如果想讓linux 系統在重啟後,自動執行某些程式的話
習慣會把要執行的 scripts 加入 /etc/rc.local
其實crontab 也有相同的功能

helloworld 發表在 痞客邦 留言(0) 人氣()


修改 ./wp-includes/functions.php

helloworld 發表在 痞客邦 留言(0) 人氣()

如果nagios 發現異常要發送警告信給管理者
本機必須要有postfix或sendmail 之類的MTA

helloworld 發表在 痞客邦 留言(0) 人氣()

# apt-add-repository contrib
-bash: apt-add-repository: command not found

helloworld 發表在 痞客邦 留言(0) 人氣()

apt-get -y install 套件名
只會幫你一次安裝好套件
但如果中間出現對話框,還是會卡住

helloworld 發表在 痞客邦 留言(0) 人氣()

相關 OID
1.3.6.1.4.1.12356.101.4.1.3 : CPU使用率,單位 %
1.3.6.1.4.1.12356.101.4.1.4 : 記憶體使用率,單位 %

helloworld 發表在 痞客邦 留言(0) 人氣()

image
網路上文章通常只跟你講到第一個步驟
如果還是無法抓到 snmp 資料的話,請試試第二個步驟是否有設定

helloworld 發表在 痞客邦 留言(0) 人氣()

系統運作一陣子後
如果發現swap 空間不足,但沒有空的 partition 或是沒有新增硬碟的打算
可以新增一個 swap file 來增加 swap空間

helloworld 發表在 痞客邦 留言(0) 人氣()

有些人的解法是修改 docker 的iptables 設定,但可能會衍生出其他問題
所以建議以下作法

helloworld 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。