All Projects → cavaliercoder → Mib2zabbix

cavaliercoder / Mib2zabbix

SNMP Template generator for Zabbix

Programming Languages

perl
6916 projects

Projects that are alternatives of or similar to Mib2zabbix

Thola
Tool for monitoring and provisioning network devices (mainly using SNMP) - monitoring check plugin
Stars: ✭ 179 (+61.26%)
Mutual labels:  snmp, zabbix
zabbix-templates
Zabbix templates
Stars: ✭ 104 (-6.31%)
Mutual labels:  snmp, zabbix
rabe-zabbix
Collection of various Zabbix templates and helper scripts created or used by Radio Bern RaBe
Stars: ✭ 93 (-16.22%)
Mutual labels:  snmp, zabbix
Zabbix Telegram Notification
Zabbix notifications on Telegram
Stars: ✭ 59 (-46.85%)
Mutual labels:  zabbix
Manubulon Snmp
Set of Icinga/Nagios plugins to check hosts and hardware with the SNMP protocol.
Stars: ✭ 63 (-43.24%)
Mutual labels:  snmp
Zabbix
Archived, see https://github.com/AlekSi/zabbix/issues/24
Stars: ✭ 82 (-26.13%)
Mutual labels:  zabbix
Graphtrees
此项目当前不再更新,只适用于3.0和3.2版本
Stars: ✭ 103 (-7.21%)
Mutual labels:  zabbix
Zabbix Docker Monitoring
🐳 Docker/Kubernetes/Mesos/Marathon/Chronos/LXC/LXD/Swarm container monitoring - Docker image, Zabbix template and C module
Stars: ✭ 1,098 (+889.19%)
Mutual labels:  zabbix
Networkmanager
A powerful tool for managing networks and troubleshoot network problems!
Stars: ✭ 1,296 (+1067.57%)
Mutual labels:  snmp
Cups
Apple CUPS Sources
Stars: ✭ 1,223 (+1001.8%)
Mutual labels:  snmp
Docker Openldap
Docker OpenLDAP Container w/TLS & Replication Support S6 Overlay, and Zabbix Monitoring based on Alpine
Stars: ✭ 74 (-33.33%)
Mutual labels:  zabbix
Thingsboard
Open-source IoT Platform - Device management, data collection, processing and visualization.
Stars: ✭ 10,526 (+9382.88%)
Mutual labels:  snmp
Gopherus
This tool generates gopher link for exploiting SSRF and gaining RCE in various servers
Stars: ✭ 1,258 (+1033.33%)
Mutual labels:  zabbix
1c zabbix template ce
Шаблон Zabbix для мониторинга кластера серверов 1С Предприятия 8.3
Stars: ✭ 60 (-45.95%)
Mutual labels:  zabbix
Pysmi
SNMP MIB parser
Stars: ✭ 96 (-13.51%)
Mutual labels:  snmp
Snmpfwd
SNMP Proxy Forwarder
Stars: ✭ 58 (-47.75%)
Mutual labels:  snmp
Netxms
NetXMS - Open Source network and infrastructure monitoring and management
Stars: ✭ 88 (-20.72%)
Mutual labels:  snmp
Jrds
Another monitoring application, intentend to be simple to use and extensible.
Stars: ✭ 72 (-35.14%)
Mutual labels:  snmp
Pm2 Zabbix
A Node.js PM2 monitoring tool for Zabbix.
Stars: ✭ 71 (-36.04%)
Mutual labels:  zabbix
Zabbix Module Systemd
Native systemd monitoring for Zabbix
Stars: ✭ 81 (-27.03%)
Mutual labels:  zabbix

mib2zabbix

This Perl script will generate a Zabbix v3 Template in XML format from an OID tree in a SNMP MIB file.

Usage

mib2zabbix.pl -o <OID> [OPTIONS]...
    
Export loaded SNMP MIB OIDs to Zabbix Template XML

    -f, --filename=PATH         output filename (default: stdout)
   
    -N, --name=STRING           template name (default: OID label)
    -G, --group=STRING          template group (default: 'Templates')
    -e, --enable-items          enable all template items (default: disabled)
    
    -o, --oid=STRING            OID tree root to export (must start with '.')
    
    -v, --snmpver=1|2|3         SNMP version (default: 2)
    -p, --port=PORT             SNMP UDP port number (default: 161)
    
SNMP Version 1 or 2c specific

    -c, --community=STRING      SNMP community string (default: 'public')
    
SNMP Version 3 specific

    -L, --level=LEVEL           security level (noAuthNoPriv|authNoPriv|authPriv)
    -n, --context=CONTEXT       context name
    -u, --username=USERNAME     security name
    -a, --auth=PROTOCOL         authentication protocol (MD5|SHA)
    -A, --authpass=PASSPHRASE   authentication protocol passphrase
    -x, --privacy=PROTOCOL      privacy protocol (DES|AES)
    -X, --privpass=PASSPHRASE   privacy passphrase

Zabbix item configuration

    --check-delay=SECONDS       check interval in seconds (default: 60)
    --disc-delay=SECONDS        discovery interval in seconds (default: 3600)
    --history=DAYS              history retention in days (default: 7)
    --trends=DAYS               trends retention in days (default: 365)
    
    -h, --help                  print this message

Requirements

  • Zabbix v3+
  • Perl v5
  • Pod::Usage
  • XML::Simple
  • Net-SNMP
  • Correctly configured MIB files

Installation

Install from GitHub:

# install prerequisites on Ubuntu: 
apt-get install perl libxml-simple-perl libsnmp-perl

# install prerequisites on RHEL family:
yum install "perl(SNMP)" "perl(XML::Simple)"

# assumes ~/bin exists and is in $PATH, so adjust accordingly!
curl -sL -o ~/bin/mib2zabbix https://raw.githubusercontent.com/cavaliercoder/mib2zabbix/master/mib2zabbix.pl
chmod +x ~/bin/mib2zabbix

Translations

This table describes how MIB elements are translated into Zabbix template elements:

  • Scalar OID -> Zabbix SNMP Item
  • Table OID -> Zabbix SNMP Discovery Rule
  • Table Column OID -> Zabbix Discovery Prototype
  • Trap/Notification OID -> Zabbix SNMP Trap Item
  • OID Enums -> Zabbix Value Maps

License

mib2zabbix - SNMP Template Generator for Zabbix Copyright (C) 2016 - Ryan Armstrong [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

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].