Monitoring data types
| Data type | Best at answering | Example |
|---|---|---|
| Metrics/counters | How much and how often? | Interface octets, errors, CPU, memory, BGP peer state. |
| Logs/events | What changed and why? | Link down, authentication failure, configuration commit. |
| Flows | Who talked to whom, on which ports, and how much? | Top source, destination, application port or autonomous system. |
| Packets | Exactly what was exchanged? | Handshake, retransmission, protocol error. |
| Active probes | What does a user-path test experience? | ICMP, DNS, HTTP, synthetic transaction. |
No single source is enough. Interface utilisation without flow data cannot identify the consumers; flow data without logs may not explain a routing flap; logs without time synchronisation can be misleading.
SNMP concepts
SNMP managers query or receive notifications from agents. Managed objects are identified by OIDs organised in MIB modules. Common operations include GET, GETNEXT, GETBULK, SET and notifications such as traps/informs.
| Version | Security note |
|---|---|
| SNMPv1 | Legacy community-based security and limited counter support. |
| SNMPv2c | Efficient bulk retrieval and 64-bit counters, but community strings are not encryption. |
| SNMPv3 | User-based security with authentication and privacy options; preferred for secure deployments. |
Use read-only access where possible, restrict manager source addresses, rotate credentials, use SNMPv3 authPriv when supported and avoid exposing SNMP to untrusted networks.
Syslog severity and design
| Severity | Name | General meaning |
|---|---|---|
| 0 | Emergency | System unusable. |
| 1 | Alert | Immediate action required. |
| 2 | Critical | Critical condition. |
| 3 | Error | Error condition. |
| 4 | Warning | Warning condition. |
| 5 | Notice | Normal but significant event. |
| 6 | Informational | Informational message. |
| 7 | Debug | Detailed diagnostic message. |
Lower numeric values are more severe. Centralise logs, use reliable transport/TLS where appropriate, normalise device time with NTP and retain logs according to operational, legal and privacy requirements.
NetFlow and IPFIX
Flow exporters summarise packets sharing selected keys, such as source/destination addresses, ports, protocol and interface. A collector stores and analyses records; a reporting platform produces top talkers, conversations, trends and anomaly views.
- Ingress and egress observation points answer different questions.
- Sampling reduces exporter and collector load but affects exact counts.
- Short active/inactive timeouts improve visibility for long or completed flows at a storage cost.
- NAT devices may expose pre-translation and post-translation fields depending on exporter support.
- Encrypted payloads still reveal useful metadata, but application identity may be limited.
Baselines and useful alerts
A baseline captures normal variation by device, interface, hour and business cycle. Static thresholds alone create noise: 80% utilisation may be normal for a backup window but abnormal at another time.
- Alert on sustained interface errors/discards, not one isolated counter change.
- Correlate peer-down alerts with interface, power and upstream events.
- Use dependency suppression so one failed core device does not generate hundreds of duplicate alerts.
- Alert on missing telemetry, because silence can mean the monitor or path has failed.
- Route alerts to an owner with a runbook and meaningful context.
Useful device checks
show interfaces counters errors show processes cpu show memory statistics show logging show snmp show snmp user show flow exporter show flow monitor show ntp associations
Telemetry troubleshooting
- Verify source interface/address and routing from device to collector.
- Check ACL/firewall policy and expected UDP/TCP transport.
- Confirm credentials, SNMP view, engine ID and time window for SNMPv3.
- Check collector listening port and parser/template support.
- For flow, verify monitor attachment, direction, exporter and template refresh.
- For syslog, confirm severity threshold and facility/filter rules.
- Check NTP and timezone before correlating events.
- Measure packet loss and collector capacity during event storms.
Interview focus
Use these points to practise concise, operations-focused answers. Explain the concept first, then give a verification or troubleshooting example.
- What is the difference between SNMP polling and a trap? Polling is manager-initiated retrieval; a trap is an unsolicited notification from the agent.
- Why is SNMPv3 preferred? It supports user-based authentication and privacy/encryption options.
- Which syslog severity is more urgent: 2 or 6? Severity 2 is more urgent; lower numbers are more severe.
- What does flow telemetry provide? Metadata summarising conversations, endpoints, ports, volume and timing.
- Why is NTP important for monitoring? Accurate shared time is necessary to correlate events across devices.
Quick self-check
1. What is the difference between SNMP polling and a trap?
2. Why is SNMPv3 preferred?
3. Which syslog severity is more urgent: 2 or 6?
4. What does flow telemetry provide?
5. Why is NTP important for monitoring?
Frequently asked questions
1. Can NetFlow replace packet capture?
2. Should debug-level syslog be enabled permanently?
3. What is a MIB?
Standards and further reading
- RFC 3411 — Architecture for SNMP Management Frameworks
- RFC 5424 — The Syslog Protocol
- RFC 7011 — IP Flow Information Export (IPFIX) Protocol
