All Projects → etingof → snmpclitools

etingof / snmpclitools

Licence: BSD-2-Clause license
Pure-Python SNMP management tools

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to snmpclitools

Keepalived
Keepalived
Stars: ✭ 2,877 (+7891.67%)
Mutual labels:  snmp
proxmox toolbox
A toolbox to get the firsts configurations of Proxmox VE / BS done in no time
Stars: ✭ 158 (+338.89%)
Mutual labels:  snmp
GPONMonitor
GPON Monitoring tool for Dasan Networks GPON OLTs
Stars: ✭ 26 (-27.78%)
Mutual labels:  snmp
Collectd
The system statistics collection daemon. Please send Pull Requests here!
Stars: ✭ 2,700 (+7400%)
Mutual labels:  snmp
ansible-snmp-exporter
Provision SNMP metrics exporter for prometheus monitoring
Stars: ✭ 18 (-50%)
Mutual labels:  snmp
aiosnmp
aiosnmp is an asynchronous SNMP client and trap server for use with asyncio.
Stars: ✭ 36 (+0%)
Mutual labels:  snmp
Mylg
Network Diagnostic Tool
Stars: ✭ 2,538 (+6950%)
Mutual labels:  snmp
Cocoa-Printer-Server
Make your USB Printers to IP Printers.
Stars: ✭ 22 (-38.89%)
Mutual labels:  snmp
snmpman
Easy massive SNMP-agent simulation with the use of simple YAML files
Stars: ✭ 28 (-22.22%)
Mutual labels:  snmp
fapro
Fake Protocol Server
Stars: ✭ 1,338 (+3616.67%)
Mutual labels:  snmp
Fusioninventory For Glpi
FusionInventory plugin for GLPI
Stars: ✭ 241 (+569.44%)
Mutual labels:  snmp
Sharpsnmplib
Sharp SNMP Library- Open Source SNMP for .NET and Mono
Stars: ✭ 247 (+586.11%)
Mutual labels:  snmp
virgin-media-hub3
Python API and command line interface to the Virgin Media Hub 3 broadband router
Stars: ✭ 63 (+75%)
Mutual labels:  snmp
Centreon Plugins
Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
Stars: ✭ 234 (+550%)
Mutual labels:  snmp
snmp notifier
A webhook to relay Prometheus alerts as SNMP traps, because sometimes, you have to deal with legacy
Stars: ✭ 33 (-8.33%)
Mutual labels:  snmp
Onesixtyone
Fast SNMP Scanner
Stars: ✭ 218 (+505.56%)
Mutual labels:  snmp
Synology-NAS-monitoring
influxDB, Grafana, snmp and telegraf
Stars: ✭ 140 (+288.89%)
Mutual labels:  snmp
zabbix-templates
Zabbix templates
Stars: ✭ 104 (+188.89%)
Mutual labels:  snmp
snmp-elixir
An SNMP client library for Elixir
Stars: ✭ 27 (-25%)
Mutual labels:  snmp
Mikrotik-Router-Monitoring-System
SNMP based Router Monitoring System for Mikrotik Routers
Stars: ✭ 29 (-19.44%)
Mutual labels:  snmp

Command-line SNMP tools

PyPI Python Versions Build status GitHub license

This is a collection of command-line SNMP tools written in pure-Python. The tools mimic their famous Net-SNMP counterparts.

In the past this project was known as pysnmp-apps.

Features

  • Complete SNMPv1/v2c and SNMPv3 support
  • Interface compatible (almost) with Net-SNMP's snmp* tools.
  • SNMPv3 USM supports MD5/SHA/SHA224/SHA256/SHA384/SHA512 auth and DES/3DES/AES128/AES192/AES256 privacy crypto algorithms
  • Automatically downloads required MIBs from the Internet
  • Runs over IPv4 and/or IPv6 transports
  • Cross-platform: works on Linux, Windows and OS X.
  • 100% Python, works with Python 2.4 up to Python 3.7

Download

The snmpclitools package is distributed under terms and conditions of 2-clause BSD license. Source code is freely available as a Github repo.

Installation

Download snmpclitools from PyPI or just run:

$ pip install snmpclitools

How to use the tools

The most of pysnmp command-line tools could be run in a similar way as their Net-SNMP counterparts. For example:

$ snmpbulkwalk.py -v3 -u usr-md5-des -l authPriv -A authkey1 -X privkey1 demo.snmplabs.com system
SNMPv2-MIB::sysDescr.0 = DisplayString: Linux grommit 3.5.11.1 #2 PREEMPT Tue Mar 1 14:03:24 MSD 2016 i686 unknown unknown GNU/Linux
SNMPv2-MIB::sysObjectID.0 = ObjectIdentifier: iso.org.dod.internet.private.enterprises.8072.3.2.101.3.6.1.4.1.8072.3.2.10
SNMPv2-MIB::sysUpTime.0 = TimeTicks: 43 days 1:55:47.85372214785
[ skipped ]
SNMPv2-MIB::sysORUpTime."8" = TimeStamp: 0 days 0:0:0.77
SNMPv2-MIB::sysORUpTime."9" = TimeStamp: 0 days 0:0:0.77

$ snmpget.py -v3 -u usr-sha-aes -l authPriv -A authkey1 -X privkey1 demo.snmplabs.com IP-MIB::ipAdEntBcastAddr.\"127.0.0.1\"
IP-MIB::ipAdEntBcastAddr."127.0.0.1" = Integer32: 1

$ snmpset.py -v2c -c public demo.snmplabs.com SNMPv2-MIB::sysDescr.0 = my-new-descr
notWritable(17)

For more information, please, run any of these tools with --help option.

You can play with different security protocols against the publicly available SNMP agent like this one @snmplabs.com.

Getting help

If something does not work as expected, please open up a GitHub issue or post your question to Stack Overflow.

Feedback and collaboration

I'm interested in bug reports, fixes, suggestions and improvements. Your pull requests are very welcome!

Copyright (c) 2005-2019, Ilya Etingof. All rights reserved.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].