筆記本

Art is long, life is short.

Oct 5, 2021

Web Service Status Page Monitor

當每次Facebook or Google or AWS....等, 網路服務有異常時, 大家想最快了解是不是官方服務出了問題?還是其實是本身的電腦或網路發生了狀況? 最好的確認方式就是到個服務的 Status Page去查看官方的狀態, 現在不論企業或是個人, 會使用上的SaaS服務實在是太多了啦, 你要記下每一個服務status page url, 實在是強人所難, 找尋新的工具就是最好的決方. 最近發現到了一個叫statusgator.com的網站, 可以免費註冊使用, 免費版的限制就是只能訂閱三個Service Status Page, 當訂閱的服務有發生了Status Page 狀態變更時, 就可以使用Alert Function, 看是要吐訊息到 Email 或是Slack

Sep 24, 2021

.NetCore Nuget Restore Change Source

2021/09/22 之後發現到, .Net Core在 Restore 微軟的nuget 套件時, 會失敗, Response status code does not indicate success: 400(Bad Request) , 不知道是被官網擋掉了還是怎麼樣, 試過好幾間的 ISP線路都會有類似的狀況. Resolve: Build Dockerfile 變更 nuget restore 的來源, RUN donet restore

Sep 7, 2021

Nginx Proxy Manager Get Cloudflare Real Client True IP

Issue: 透過Nginx Proxy Manager LoadBalance 到其他的Container, 但要取得Client 真實的IP. CLIENT(RealIP) → CLOUDFLARE → NginxProxyManager → Container Resolve: Nginx Proxy Manager → Edit Proxy Host → Advanced Add Custom Nginx Configuration real_ip_header CF-Connecting-IP;

Sep 2, 2021

網路速度測試SpeedTest

FAST (NETFLIX) = https://fast.com/ SpeedTest = https://www.speedtest.net/ CloudflareSpeed = https://speed.cloudflare.com/ Google Speed Test Project = https://projectstream.google.com/speedtest National Taiwan University (NTU) Speed = http://speed5.ntu.edu.

Sep 1, 2021

Zabbix-Server Container 無法啟動

issue: zabbix-server run in docker, zabbix-server container start error(STATUS: restart) resolve: vim .env_srv #ZBX_CACHESIZE=8M (Default) unmark ZBX_CACHESIZE=1024M (依所需配置) docker-compose down docker-compose up -d

Aug 27, 2021

index.max_result_window(Graylog)

Issue, Elasticsearch exception [type=illegal_argument_exception, reason=Result window is too large, from + size must be less than or equal to: [10000] but was [100000]. See the scroll api for a more

Jul 5, 2021

RDCMan 遠端桌面管理工具 v2.81

去年的 RDCMan 2.7 版本有CVE-2020-0765漏洞(https://www.ithome.com.tw/news/136345), 最近有了新版v2.81 有在使用的IT人, 記得更新. https://docs.microsoft.com/en-us/sysinternals/downloads/rdcman?WT.mc_id=DT-MVP-4015686&fbclid=IwAR0WjknaZFN5Ry4Hy-r-DZHaCtNUCjgIPZ82CFmeGNrivDl3_jcVXATp7xQ

Apr 16, 2021

Ubuntu Downgrade Kernel

Ubuntu Downgrade Kernel

Find the $menuentry_id_option for the submenu:$ grep submenu /boot/grub/grub.cfg submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-6270b0e3-8dcc-4346-a3f4-5ca5024de21a' {2. Find the $menuentry_id_option for the menu entry