Monitor Cisco NX-OS/ACI via SNMP and the TIG-Stack

I know, even Cisco NX-OS has a REST-API and Streaming Telemetry these days.
But you, or established processes in your organisation, might find it helpful to handle all switch ‘Telemetry’ in the same way using good old per device SNMP polling. A quick poll* on the Twitters seems to validate that ~80% of production network metrics are still SNMP anyway.

*See what I did there?

Continue reading “Monitor Cisco NX-OS/ACI via SNMP and the TIG-Stack”

Monitor Cisco ACI via REST-API

Modern controller based networks are quite different from a monitoring perspective, all the fancy network abstraction information is hiding behind this thing called API. SNMP might still be there, but is missing most of the interesting bits like health scores, faults and Tenant/App/Policy based metrics. And sometimes your legacy ehm, established NMS has no clue how to query or interpret those programmable interfaces…

Continue reading “Monitor Cisco ACI via REST-API”

Automate your NOC World Map at scale

Managing hundreds of devices with your monitoring system might be a tedious task, especially when using GUI based device onboarding. But why not let your config management tool of choice take care of it? This blog post is about a declarative Ansible playbook to generate Telegraf configuration files leveraging the inputs.ping plugin and populate a Grafana World Map.

Continue reading “Automate your NOC World Map at scale”

Telegraf / InfluxDB / Grafana as syslog receiver

So you are using the TIG-Stack to visualize network device metrics like interface counters, CPU and memory already? Great, I think Grafana really excels in the dashboarding domain. But did you ever wonder, how to leverage the same solution to store and display syslog messages? Well, then this post is for you.

Continue reading “Telegraf / InfluxDB / Grafana as syslog receiver”

First simple Ansible playbooks

So, your lab is set up and waiting for something meaningful to do?
This post introduces the two probably most commonly used networking modules in the Cisco IOS world – it’s no rocket science to use other vendors’ modules in the same way, by the way. IOS_command executes, well, commands at the privileged level, while IOS_config is used in config mode – no surprise there, right?

Continue reading “First simple Ansible playbooks”

How should I start a network automation journey ?

Depending on your personal background there are many different ways to approach networks or (more general) infrastructure devices in a programmatic way. If you are blessed with sufficient coding skills, please go straight to Python and frameworks like Nornir to get things started. This post though is for long time network engineers with little or no software experience.

Continue reading “How should I start a network automation journey ?”

Why should I even start a network automation journey ?

Well, I might know what you think. Despite all the successful automation efforts in other areas of IT, networking is kind of special – not only because of the massive blast radius if Murphy strikes. Being a seasoned enterprise professional you also know how ‘fast’ change really happens and that most internal computer and networking problems need to be approached at the people and process level, rather than throwing a piece of technology at it.
After all, box-by-box configuration backed up by occasional scripts or template one-offs has worked for decades now…

Continue reading “Why should I even start a network automation journey ?”