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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file dcim_fau-0.1-py3-none-any.whl
.
File metadata
- Download URL: dcim_fau-0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152aa14c62d0ff226b3ee38e4c40fc42d91b7ce18c899f4c320dc7f53c3962b7 |
|
MD5 | dc8577054a47e0ade1a597abf5fbc2b3 |
|
BLAKE2b-256 | 91600d53c098d2f886b3b7bab63791eb5dfba8a01f3af9248302905e3b871c39 |