lugosium/lugosiumovhvpsmonitorbundle

使用 HighCharts 观看 OVH VPS 监视器。提供关于 CPU、内存和流量的信息。

安装: 45

依赖项: 0

建议者: 0

安全: 0

星标: 2

关注者: 2

分支: 1

开放问题: 0

语言:JavaScript

类型:symfony-bundle

1.0.1 2016-03-15 20:36 UTC

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,清除缓存并安装资源。

最后

打开 http://www.domain.com/lugosium/monitor