這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
linux:monitor:zabbix_alert [2014/03/23 14:53] ali88 |
linux:monitor:zabbix_alert [2014/03/23 18:00] (目前版本) ali88 |
||
---|---|---|---|
行 8: | 行 8: | ||
#easy_install rfc3339 | #easy_install rfc3339 | ||
#easy_install google-api-python-client</code> | #easy_install google-api-python-client</code> | ||
- | {{:linux:monitor:google_calendar.png?300|}}=====申請使用Google API金鑰===== | + | {{:linux:monitor:google_calendar.png?300|}} |
+ | =====申請使用Google API金鑰===== | ||
因為是使用Google API,需要到 https://code.google.com/apis/console/ (使用google帳號登入)申請API金鑰。 | 因為是使用Google API,需要到 https://code.google.com/apis/console/ (使用google帳號登入)申請API金鑰。 | ||
- 先到 service 開啟 calendar api (舊版控制台){{:linux:monitor:api_services.png?700|}} | - 先到 service 開啟 calendar api (舊版控制台){{:linux:monitor:api_services.png?700|}} | ||
行 99: | 行 100: | ||
* 送出events 後會print event id ,就完成了。{{:linux:monitor:api_cmd3.png?700|}}{{:linux:monitor:google_calendar.png?700|}} | * 送出events 後會print event id ,就完成了。{{:linux:monitor:api_cmd3.png?700|}}{{:linux:monitor:google_calendar.png?700|}} | ||
+ | ======參考資料====== | ||
+ | * [[http://jerry2yang.wordpress.com/2012/02/06/ubuntu-install-google-calendar-api-with-python/|Ubuntu install google calendar api with python]] | ||
+ | * [[https://www.evernote.com/shard/s112/sh/0db8e94a-8c19-4272-b1b8-392c4a623bb6/063809b3590dd7ea095cc0fd87a95a27?noteKey=063809b3590dd7ea095cc0fd87a95a27¬eGuid=0db8e94a-8c19-4272-b1b8-392c4a623bb6|JasonW同事-使用GOOGLE 日曆功能 發送SMS]] | ||
+ | * [[http://www.openfoundry.org/tw/tech-column/8536-introduction-of-python-extension-management-tools|Python 套件管理程式簡介]] |