Skip to main content

No project description provided

Project description

DCIM_fau

Features

  • Autonomous data collection via SNMP
  • Supports Python 2.7 and up
  • Lightweight, no dependencies (non-standard, 2.7+)
  • Available on PyPi

About

DCIM_fau is a Python program designed to simplify deploying and monitoring large SNMP-based networking interfaces.

Getting Started

DCIM_fau is quick to deploy and even quicker to run.

1. Installation

Firstly, pull the package from either PyPi or Github:

        $ pip install dcim_fau         installation via pip package manager is always preferred

2. conf.yaml

The configuration file for DCIM_fau uses markdown to notate specific parameters required to run in a readable format.

    conf.yaml example
  snmp:
    - COMM_STRING: 'mySNMPsecret'

  chron:
   # collection interval (seconds)
   - COLL_INTERVAL: 120

# MYSQL connection info
  db:
    - DB_HOST: 'localhost'
    - DB_USER: 'root'
    - DB_PASSWORD: 'admin'
    - DB_NAME: 'deebee'

    You must include your conf.yaml in your DCIM_fau root directory, with all parameters validated.

3. Initialize and Run

Initialization:

DCIM_fau utilizes Python's console_scripts entry point logic to simplify deployment and execution.

To initialize, run the following command:

$ scaffold

This scaffolds the database, building the necessary structure for the provided equipment OIDs.

Run:

To start collection, run the following command:

$ run

The MIT License (MIT)

Copyright © 2018 Henry Herzfeld

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dcim_fau-1.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file dcim_fau-1.1-py3-none-any.whl.

File metadata

  • Download URL: dcim_fau-1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for dcim_fau-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3643d27daa1d49141990ccd701f4841814139f4f5d2f1f25f3b90739a4c67034
MD5 cf1d7abb3222c12143904244263ed31e
BLAKE2b-256 97a0dc7795e509d55b31e1c233ff9cdad3f2bb5629c2ae39422edfb0114870f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page