Giter Site home page Giter Site logo

cmts-upstream-usage's Introduction

 
 Get CMTS Status from upstream interfaces

 Starting with arguments 0= 1= 2= 3=
 Argument 1 should place IP address or hostname.
 Argument 2 should place community.
 Argument 3 should place type of cmts ex(cisco).
 Argument 4 should place csv file.

 Also available read the options from a file list with ; separating the fields
 example line in file = IP;COMMUNITY;TYPE
 pass argument --file NAME_OF_FILE.txt

This Perl script requires snmpwalk to get SNMP output from the CMTS

Added

--no-csv # disables csv output file IMPORTANT  

--alert-snr # enables snr alert system

--alert-cm # enables Cable modem online variation alert system

-d # set's to background running has a daemon every 5 minutes 
chroot for daemon will be /tmp 

IMPORTANT:
-d requires a file to be specified with option --file filename

This uses the sendmail binary to send email alerts for email's
specified in frequsage.pl in variable $MAIL_TO

$MAIL_TO should have the format $MAIL_TO = "x\@domain.com, y\@domain.com";
more then one e-mail please use commas, this was tested and working 
under postfix

Example launch for daemon and alert usage:
./frequsage.pl --file a.txt --alert-snr --no-csv -d --alert-cm

cmts-upstream-usage's People

Contributors

odnanref avatar

Watchers

James Cloos 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.