2017 © Pedro Peláez
 

library monitoring-bundle

SNMP Monitoring for One Server

image

p-er/monitoring-bundle

SNMP Monitoring for One Server

  • Tuesday, March 14, 2017
  • by perovmpr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

monitoring-bundle

SNMP Monitoring for One Server, (*1)

Install

Add to composer:, (*2)

  "pmdevelopment/monitoring-bundle": "dev-master"

Add to kernel:, (*3)

  new PM\Bundle\MonitoringBundle\PMMonitoringBundle(),

Add to config.yml:, (*4)

   pm_monitoring:
      cleanup: 1 month
      snmp:
         host: %snmp_host%
         community: %snmp_community%
      objects:
         load: .1.3.6.1.4.1.2021.10.1.3.1
         cpu_user: .1.3.6.1.4.1.2021.11.9.0
         cpu_system: .1.3.6.1.4.1.2021.11.10.0
         ram_total: .1.3.6.1.4.1.2021.4.5.0
         ram_used: .1.3.6.1.4.1.2021.4.6.0

Use other objects you wan't to monitor., (*5)

Add to parameters.yml:, (*6)

   snmp_host: YOURHOST
   snmp_community: YOURCOMMUNITY

Add to routing.yml:, (*7)

   pm_monitoring:
      resource: "@PMMonitoringBundle/Controller/"
      type:     annotation
      prefix:   /monitoring

Register Cronjob:, (*8)

   * * * * * /usr/bin/php /var/www/app/console pm:monitoring:cronjob > /dev/null

Don't forget Doctrine update!, (*9)

Usage Example

You need jQuery for this one., (*10)



<br />
<br />

The Versions

14/03 2017

dev-master

9999999-dev

SNMP Monitoring for One Server

  Sources   Download

MIT

The Requires

  • php >=5.4

 

14/02 2014

1.0

1.0.0.0

SNMP Monitoring for One Server

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-snmp *