All Projects → etingof → Snmpsim

etingof / Snmpsim

Licence: bsd-2-clause
SNMP Simulator

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Snmpsim

Mib2zabbix
SNMP Template generator for Zabbix
Stars: ✭ 111 (-54.13%)
Mutual labels:  snmp
Thola
Tool for monitoring and provisioning network devices (mainly using SNMP) - monitoring check plugin
Stars: ✭ 179 (-26.03%)
Mutual labels:  snmp
Onesixtyone
Fast SNMP Scanner
Stars: ✭ 218 (-9.92%)
Mutual labels:  snmp
Autoenum
Automatic Service Enumeration Script
Stars: ✭ 134 (-44.63%)
Mutual labels:  snmp
Snimpy
interactive SNMP tool with Python
Stars: ✭ 162 (-33.06%)
Mutual labels:  snmp
Laitos
Top geek's chindogu - personal assistant over satellite/telephone/SMS/chatbot, plus web infrastructure servers (web & mail, ad-free DNS, web proxy, SNMP, etc)
Stars: ✭ 191 (-21.07%)
Mutual labels:  snmp
Networkmanager
A powerful tool for managing networks and troubleshoot network problems!
Stars: ✭ 1,296 (+435.54%)
Mutual labels:  snmp
Collectd
The system statistics collection daemon. Please send Pull Requests here!
Stars: ✭ 2,700 (+1015.7%)
Mutual labels:  snmp
Fusioninventory Agent
FusionInventory Agent
Stars: ✭ 177 (-26.86%)
Mutual labels:  snmp
Mylg
Network Diagnostic Tool
Stars: ✭ 2,538 (+948.76%)
Mutual labels:  snmp
Reconnoitre
A security tool for multithreaded information gathering and service enumeration whilst building directory structures to store results, along with writing out recommendations for further testing.
Stars: ✭ 1,824 (+653.72%)
Mutual labels:  snmp
Snmp mib archive
An archive of over 3000 unique SNMP MIBs
Stars: ✭ 159 (-34.3%)
Mutual labels:  snmp
Librenms
Community-based GPL-licensed network monitoring system
Stars: ✭ 2,567 (+960.74%)
Mutual labels:  snmp
Msploitego
Pentesting suite for Maltego based on data in a Metasploit database
Stars: ✭ 124 (-48.76%)
Mutual labels:  snmp
Keepalived
Keepalived
Stars: ✭ 2,877 (+1088.84%)
Mutual labels:  snmp
Pysmi
SNMP MIB parser
Stars: ✭ 96 (-60.33%)
Mutual labels:  snmp
Netdot
Network Documentation Tool
Stars: ✭ 180 (-25.62%)
Mutual labels:  snmp
Fusioninventory For Glpi
FusionInventory plugin for GLPI
Stars: ✭ 241 (-0.41%)
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 (-3.31%)
Mutual labels:  snmp
Snmpcollector
A full featured Generic SNMP data collector with Web Administration Interface for InfluxDB
Stars: ✭ 216 (-10.74%)
Mutual labels:  snmp

SNMP Simulator

PyPI Python Versions Build status GitHub license

This is a pure-Python, open source and free implementation of SNMP agents simulator distributed under 2-clause BSD license.

Features

  • SNMPv1/v2c/v3 support
  • SNMPv3 USM supports MD5/SHA/SHA224/SHA256/SHA384/SHA512 auth and DES/3DES/AES128/AES192/AES256 privacy crypto algorithms
  • Runs over IPv4 and/or IPv6 transports
  • Simulates many EngineID's, each with its own set of simulated objects
  • Varies response based on SNMP Community, Context, source/destination addresses and ports
  • Can gather and store snapshots of SNMP Agents for later simulation
  • Can run simulation based on MIB files, snmpwalk and sapwalk output
  • Can gather simulation data from network traffic or tcpdump snoops
  • Can gather simulation data from external program invocation or a SQL database
  • Can trigger SNMP TRAP/INFORMs on SET operations
  • Capable to simultaneously simulate tens of thousands of Agents
  • Offers REST API based control plane
  • Gathers and reports extensive activity metrics
  • Pure-Python, easy to deploy and highly portable
  • Can be extended by loadable Python snippets

Download

SNMP simulator software is freely available for download from PyPI and project site.

Installation

Just run:

$ pip install snmpsim

How to use SNMP simulator

Once installed, invoke snmpsim-command-responder and point it to a directory with simulation data:

$ snmpsim-command-responder --data-dir=./data --agent-udpv4-endpoint=127.0.0.1:1024

Simulation data is stored in simple plaint-text files having OID|TYPE|VALUE format:

$ cat ./data/public.snmprec
1.3.6.1.2.1.1.1.0|4|Linux 2.6.25.5-smp SMP Tue Jun 19 14:58:11 CDT 2007 i686
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10
1.3.6.1.2.1.1.3.0|67|233425120
1.3.6.1.2.1.2.2.1.6.2|4x|00127962f940
1.3.6.1.2.1.4.22.1.3.2.192.21.54.7|64x|c3dafe61
...

Simulator maps query parameters like SNMP community names, SNMPv3 contexts or IP addresses into data files.

You can immediately generate simulation data file by querying existing SNMP agent:

$ snmpsim-record-commands --agent-udpv4-endpoint=demo.snmplabs.com \
    --output-file=./data/public.snmprec
SNMP version 2c, Community name: public
Querying UDP/IPv4 agent at 195.218.195.228:161
Agent response timeout: 3.00 secs, retries: 3
Sending initial GETNEXT request for 1.3.6 (stop at <end-of-mib>)....
OIDs dumped: 182, elapsed: 11.97 sec, rate: 7.00 OIDs/sec, errors: 0

Alternatively, you could build simulation data from a MIB file:

$ snmpsim-record-mibs --output-file=./data/public.snmprec \
    --mib-module=IF-MIB
# MIB module: IF-MIB, from the beginning till the end
# Starting table IF-MIB::ifTable (1.3.6.1.2.1.2.2)
# Synthesizing row #1 of table 1.3.6.1.2.1.2.2.1
...
# Finished table 1.3.6.1.2.1.2.2.1 (10 rows)
# End of IF-MIB, 177 OID(s) dumped

Or even sniff on the wire, recover SNMP traffic there and build simulation data from it.

Besides static files, SNMP simulator can be configured to call its plugin modules for simulation data. We ship plugins to interface SQL and noSQL databases, file-based key-value stores and other sources of information.

We maintain publicly available SNMP simulator instance at demo.snmplabs.com. You are welcome to query it as much as you wish.

Besides stand-alone deployment described above, third-party SNMP Simulator control plane project offers REST API managed mass deployment of multiple snmpsim-command-responder instances.

Documentation

Detailed information on SNMP simulator usage could be found at snmpsim site.

Getting help

If something does not work as expected, open an issue at GitHub or post your question on Stack Overflow or try browsing snmpsim mailing list archives.

Feedback and collaboration

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

Copyright (c) 2010-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].