https://github.com/linickx/rxalarm
An Alarm WebHook for Rackspace Cloud Monitoring.
https://github.com/linickx/rxalarm
Last synced: 6 months ago
JSON representation
An Alarm WebHook for Rackspace Cloud Monitoring.
- Host: GitHub
- URL: https://github.com/linickx/rxalarm
- Owner: linickx
- Created: 2012-04-29T18:32:14.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-29T20:26:54.000Z (about 13 years ago)
- Last Synced: 2023-03-12T02:02:40.961Z (about 2 years ago)
- Language: PHP
- Size: 237 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rxalarm
An Alarm WebHook for Rackspace Cloud Monitoring - **See it in action! ==> https://rxalarm-linickx.rhcloud.com**
## File Structure
Below is a list of what all these files do....
* ./php - Openshift WWW Root. (Files exposed to the internet)
* bootstrap - [Twitter Bootstrap](http://twitter.github.com/bootstrap)
* inc - general includes (non-twitter)
* img - images
* index.php - Start Here.
* data.php - Javascript response API (Json/Ajax/Thing)
* twitter.php - Twitter Login/Callback
* rackspace.php - Rackspace Post hook
* config.php - Secret Config Stuff* ./libs - Library
* OAuthSimple.php - Oauth Library (for twitter login) [@jrconlin](https://github.com/jrconlin/oauthsimple)
* account.php - /account - User Account Mgnt
* account_data_you.php - Data Response: Account *you* tab
* account_tab_apilimits.php - Account: API Tab
* account_tab_del.php - Account: Delete Tab
* account_tab_you.php - Account: You Tab
* console.php - /console - Main App
* console_data_alarms.php - Data Response: Console Alarms
* console_data_apikey.php - Data Response: API Key Modal
* console_data_demoalarms.php - Data Response: Demo Alarms
* console_data_newuser_auto.php - Data Response: New User Auto Webhook
* console_data_newuser_man.php - Data Response: New User Manual Webhook
* console_data_tabs.php - Data Response: repond with HTML Tabs
* console_demo.php - /console/demo - Demo App
* console_modal_apikey.php - Modal to request API key when needed
* console_modal_newuser_default.php - New User modal (Default HTML) for Auto
* console_modal_newuser_manual.php - New User modal for Manual WebHook
* console_tab_alarms.php - /Console - Alarm Tab
* console_tab_config.php - / Console - Config Tab
* contact.php - /contact
* ez_sql_core.php - SQL Library [@jv2222](https://github.com/jv2222/ezSQL)
* ez_sql_mysql.php - SQL Library [@jv2222](https://github.com/jv2222/ezSQL)
* help.php - /help
* homepage.php - /
* logout.php - /logout.php (delete cookies)
* myfunctions.php - My custom library of random functions.
* rackcloudmanager.php - Rackspace Cloud Library [phprackcloud](http://code.google.com/p/phprackcloud/)
* setup.php - Application bootstrap, setup database etc.## Setup
To make this thing work, you're gonna need.
* Webserver (Apache)
* PHP (Tested on PHP/5.3)
* MySQL (Tested on MySQL 5.1)### ./php/config.php
The secrets for twitter / mysql / cookie salt etc live in config.php, below is an example.
```
```
## License
[Attribution-NonCommercial-ShareAlike 3.0 Unported](https://creativecommons.org/licenses/by-nc-sa/3.0/)