2014年10月9日 星期四

Drivers for GUC232A USB to Serial converter

http://iogear.custhelp.com/app/answers/detail/a_id/1026/~/drivers-for-guc232a-usb-to-serial-converter

安裝完後

開啟終端機


screen /dev/cu.UC-232AC 9600

ctrl+ A , ctrl+\ 離開

2014年6月30日 星期一

If host is DOWN, Nagios desable notification for all services

http://forum.centreon.com/showthread.php/10820-howto-define-relations-no-notifaction-for-each-service-if-host-is-down

在測試nagios監控服務時發現,service告警信一直無法驅動,明明狀態就顯示critical/warning,

原來,當host down,service的告警就會停掉,因為它認為主機既然掛了,
服務當然也不會存活,不過這就困擾我了,因為它預設判斷主機的方式是用ping,
偏偏欲監控的主機例如他只開http服務,可是他檔ping,就會造成host down,service up,
會一直寄host down告警信,有沒有關掉host 告警都沒差,因為它認為host down,
所以假設service down他也不會寄告警,最快的解決方式就是要求被監控的主機
開放監控方icmp,但是,還是想想看其他方式,終於,就是改掉host alive的檢查方式,
改用他開放的服務去當作host alive的檢查方式,
缺點就是,當有一台新機器一樣檔icmp開放特定服務時,
又要手動增加一個host alive的檢查方式...

2014年6月11日 星期三

What IOS command will show the TCP ports that are listening on a device?

https://supportforums.cisco.com/discussion/11255361/what-ios-command-will-show-tcp-ports-are-listening-device

 show control-plane host open-ports

nagios: Unable to get process status, You don’t have permission to access /nagios on this server


  • Unable to get process status

http://www.linuxquestions.org/questions/linux-newbie-8/nagios-internal-server-error-903798/
chcon -R -t httpd_sys_content_t /usr/local/nagios
  • You don’t have permission to access /nagios on this server
 yum install php

2014年3月6日 星期四

SSL-VPN on Safari 7.0.2



  • Open Safari Preferences, click the Security tab and choose "Manage Website Settings..." next to the Internet Plug-ins checkbox.
  • Click on Java and find the SA/IC URL listed on the right column. Change the pulldown for that listing to "Run in unsafe mode".

2014年1月17日 星期五

eTag不爽裝 免儲值 一樣上國道


小市民能做的其實很簡單
就是不用而已
這年頭廠商竟然比花錢的還要大聲
真的是反過來了
大公司的大老闆們
在公司裡講話沒人敢反對
不要把在公司裡習慣的態度拿出來社會
太多前例了不是嗎


2014年1月8日 星期三

2014年1月7日 星期二

飛球

驗完度數發現散光零度我知道這是信心問題,
以為再也不會加入球隊打球了,很高興,
畢業四年多又開始燃燒壘球魂,
從陽光變燈光,鋁棒變木棒,不變的是那顆球和熱愛打球的心。
真的很高興!