Skip to content
the broadcast

networking, computing, virtualization, automation

QoS

Automated RMON Alarm/Event-configuration for class-based QoS-Monitoring using NAPALM

2017-12-05
By: ron
On: 2017-12-05
In: automation
With: 0 Comments

In Configure RMON Alarms&Events by script I’ve shown a short python-algorithm to to discover all Cisco class-based QoS (cbQoS) packet-/drop-counters and to generate RMON-alarms for each. The router monitors these counters every 300s, calculates the delta for the interval and raises RMON-events when there were packets/drops or when the have been before but not anymore. This RMON-event has been configured as an syslog-message to an syslog-receiver etc. The existing script just generated a list of cli-commands which had to be entered manually to the router-config. Not a valid aproach when having hundreds devices to be configured. Now i want the script to automatically configure theRead More →

Configure RMON Alarms&Events by script

2017-11-29
By: ron
On: 2017-11-29
In: automation
With: 0 Comments

Getting back to the original task.. Use a script on a centralized Controller-VM to figure out for which SNMP-OID RMON-Alarms should get configured Get all current QoS-Drop-Counters, check the traffic-direction to monitor only outbount-queues, generate RMON-Alarms. Example Output: Todo: Verify existing RMON-Alarm/Event-Configuration at the device Todo: Push the config automatically to the deviceRead More →

Getting Details of a Traffic Class from the SNMP-MIB

2017-11-28
By: ron
On: 2017-11-28
In: automation
With: 0 Comments

Today I’ll show how retrieve additional details from already discoverd QoS-Counters. They are mostly descriptive, for human eyes. The „Traffic-Direction“-Attribute might be relevant since in most cases only outbound drop-counters might be interesting, so the discovered list of OIDs could get filtered to process only those outbound OIDs. Refresh: Retrieve all „QoS Packet-Counters“ There are two Policy-Objects #P: Policy #18 Policy #34 Both Policy-Objects contain three Traffic-Classes #Q: Class #65535 Class #131072 Class #196608 Attributes of a bound Policy #P Each Policy has at least two attributes: Interface-Type of the Policy (5 : CoPP) 1:mainInterface 2:subInterface 3:frDLCI 4:atmPVC 5:controlPlane 6:vlanPort 7:evc Traffic-Direction 1:input 2:output InterfaceRead More →

Exploring the SNMP-MIB for Class-based QoS

2017-11-27
By: ron
On: 2017-11-27
In: automation
With: 0 Comments

Discover the OIDs representing the counter-values of all active traffic-classes Ciscos „SNMP Object Navigator“ (http://mibs.cloudapps.cisco.com/ITDIT/MIBS/servlet/index) is our friend to get the base-OID when you know the name of the MIB: Object-NAME <=> Object-ID (OID) „cbQosCMStatsEntry“ <=> „1.3.6.1.4.1.9.9.166.1.15.1.1“ Each object is a set of all counters from „show policy-map interface“-command, the Object Navigator documents the ID of these counters, too.Read More →

Refresher: RMON @ Cisco IOS

2017-11-24
By: ron
On: 2017-11-24
In: automation
With: 0 Comments

RMON Refresher Think about this given Router-Configuration: Three Queues at interface Gig1: CM_VOIP_RTP CM_VOIP_CTRL class-default with per-Queue-Statistics: Packet counters Drop-counters etc. In these first examples, i don’t want to wait for queue-drops, i’ll just generate DSCP=EF-Traffic by the ping-command and watch the Queue-Packet-Counters, not Drops. Configure RMON Alarms and Events I’ll add two RMON-Events event #10 = rising-threshold – in my example: >1 Packet has been dropped forwarded event #11 = the falling-threshold – no packets have been… Than, instruct the Router to have a look at a QoS-counter: In the upcoming post I’ll discover the RMON-MIB to illustrate where the „enterprise.9….65536“-Parameter comes from. ThisRead More →

QoS Monitoring: Watch the Queues!?

2017-11-23
By: ron
On: 2017-11-23
In: automation
With: 0 Comments

Stop frequent polling of everything, please! Last week I had to troubleshoot a network of a customer which was overwhelmed with SNMP-Queries – it wasn’t the first one. All Switch- and Router-CPUs have been at high level, since every tiny counter was polled at high rate. To provide real-time graphs to the top-level-management. Which hopefully don’t waste time to watch these colourful pictures all day for entertainment purposes. Doesn’t anybody remember RMON? Years ago I’ve been teaching routing&switching-classes as a full-time Cisco/BayNetworks/Fluke-instructor, and in every switching class there was a brief explanation about SNMP. And about RMON. RFC2819 – RMON (Remote Network Monitoring) MIB 4Read More →

Kategorien

  • AI
  • automation
  • awayfromevernote
  • AWS
  • Azure
  • client
  • Cloud
  • linux
  • pub
  • Scripting
  • stupid defaults
  • Uncategorized
  • wan
  • Windows

Neueste Beiträge

  • Visio Diagrams with Python: Resize to fit
  • Visio Diagrams with Python: Colors
  • Visio Diagrams with Python: Connectors
  • Visio Diagrams with Python: Stencils
  • Visio Diagrams with Python using COM

Schlagwörter

ACU AI Ansible Automation AWS Azure bestpractice chrome Cisco COM Compute Unit Controller cot CSR1000v Ethernet Firefox hsts Hyperconverged KVM Lab Linux Monitoring MTU NAPALM Nested nexus nxos PowerShell Proactive productivity Python QoS REST Scapy Scripting Security SKU todo UCSD Virtualization Visio VMware WAN Windows Wordpress

Impressum

Impressum

Designed using Dispatch. Powered by WordPress.