Code Monkey home page Code Monkey logo

nxos_dom-monitor's Introduction

nxos_dom-monitor

allows to Cisco Nexus (NXOS Operating-System) to monitor it's optical transceivers and generate Syslog-Events

the following Warning/Alarm-Levels are possible: low alarm (--) low warning (-) high warning (+) high alarm (++)

For example "rx_pwr+:Eth2/9,Eth2/10;rx_pwr--:Eth1/16,Eth1/22,Eth1/23,Eth1/26,Eth1/34,Eth1/35,Eth2/19" is the message generated for a bunch of interfaces receiving to much(warning) or not enough power(alarm).

It requires two components: (a) scheduler to run the script, e.g. 1x a day, and send the syslog-message (b) the script itself which generates the list of affected interfaces

installation

(1) copy the python-script to the local bootdisk: into the /scripts/-Directory

test

run the script manually (2) cd scripts (3) source nxos_dom.py Expected result:

  • list of interfaces with any transceiver warnings/alarms to be printed to the console

automate

(2) add the EEM-Commands found in "nxos_dom-eem.cfg" to the running-config The Applet should run 1x immedeately and after 24h again and then every day.

  • check "show logging logfile" or remote syslog-log

nxos_dom-monitor's People

Contributors

heitmanr avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.