check-cisco-plugins

Collection of Icinga / Nagios plugins to monitor Cisco IOS and NX-OS devices

Pylint pycodestyle Release

check-cisco-plugins

About

  • this repository contains a collection of Icinga / Nagios plugins to monitor Cisco IOS and NX-OS devices via SNMPv3
  • Written for python 3
  • Uses SNMPv3 in AuthPriv or authNoPriv mode

Compatibility

these plugins were developed / tested on the following models:

  • Cisco Catalyst 2960-S Series
  • Cisco Catalyst 2960-X Series
  • Cisco Catalyst 3650 Series
  • Cisco Catalyst 9200 Series
  • Cisco Catalyst 9300 Series
  • Cisco Nexus 3000 Series
  • Cisco Nexus 5600 Series

Documentation

Installing dependencies

  • pip3.6 install -r requirements.txt

Contributing

  • You're welcome to open pull requests
  • When contributing code please make sure if follows the PEP 8 style guide
  • Test your code with pep8 and pylint to avoid obvious issues
    • pycodestyle ./*.py --max-line-length=100
    • pylint ./*.py \
      --disable=duplicate-code \
      --disable=too-many-branches \
      --disable=too-many-locals