lugosium / lugosiumovhvpsmonitorbundle
使用 HighCharts 观看 OVH VPS 监视器。提供关于 CPU、内存和流量的信息。
1.0.1
2016-03-15 20:36 UTC
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.1
This package is not auto-updated.
Last update: 2024-09-28 18:26:30 UTC
README
这是一个简单的 Symfony2 扩展包。监控您的 OVH VPS 监视器。
如何使用
-
在您的 symfony 项目中,输入
composer require lugosium/lugosiumovhvpsmonitorbundle
以获取扩展包的最新稳定版本。 -
在
app/AppKernel.php
中注册扩展包,使用new Lugosium\Bundle\OVHVPSMonitorBundle\LugosiumOVHVPSMonitorBundle(),
-
在您的 app/config/routing.yml 中添加
lugosium_ovhvps_monitor:
resource: "@LugosiumOVHVPSMonitorBundle/Resources/config/routing.yml"
- 在您的 app/config/config.yml 中:在文件末尾添加您的密钥
lugosium_ovhvps_monitor:
vps:
zone: Your zone (example: EU)
AK: Your application key
AS: Your secret application key
CK: Your consumer key
要获取您的密钥,请访问 https://eu.api.ovh.com/createApp/
- 通过 ./bin/console,清除缓存并安装资源。