Monitoring Dual Stack IPv4/IPv6 Networks

19
Monitoring Dual- Stack Networks Vance Shipley CTO, Wavenet

Transcript of Monitoring Dual Stack IPv4/IPv6 Networks

Monitoring Dual-Stack NetworksVance ShipleyCTO, Wavenet

Cisco Router Configuration

Setting up SNMPv3 authentication:

snmp-server group zabbix v3 authsnmp-server user zabbix zabbix v3 auth md5 mypassphrase

Testing with Net-SNMP

Configure authentication in a host specific configuration file (~/.snmp/hosts/hqr.conf):

defVersion 3defSecurityLevel authNoPrivdefSecurityName zabbixdefAuthType MD5defAuthPassphrase mypassphrase

Testing with Net-SNMP

Get the system name:

$ snmpget hqr sysName.0SNMPv2-MIB::sysName.0 = STRING: HQR

Internet Protocol MIB (IP-MIB)

ipSystemStatsHCOutForwDatagrams OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of datagrams for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination."

http://tools.ietf.org/html/rfc4293#page-34

Internet Protocol MIB (IP-MIB)

Get the number of forwarded datagrams:

$ snmpget hqr ipSystemStatsHCOutForwDatagrams.ipv4

IP-MIB::ipSystemStatsHCOutForwDatagrams.ipv4 = Counter64: 19993419

$ snmpget hqr ipSystemStatsHCOutForwDatagrams.ipv6

IP-MIB::ipSystemStatsHCOutForwDatagrams.ipv6 = Counter64: 285

Interfaces MIB (IF-MIB)

Walk the interface table:$ snmpwalk hqr ifDescr

IF-MIB::ifDescr.1 = STRING: Embedded-Service-Engine0/0

IF-MIB::ifDescr.2 = STRING: GigabitEthernet0/0

IF-MIB::ifDescr.3 = STRING: GigabitEthernet0/1

IF-MIB::ifDescr.4 = STRING: Serial0/0/0

IF-MIB::ifDescr.5 = STRING: Null0

http://tools.ietf.org/html/rfc2863#page-30

Internet Protocol MIB (IP-MIB)

ipIfStatsHCInForwDatagrams OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of input datagrams for which this entity was not their final IP destination and for which this entity attempted to find a route to forward them to that final destination.”

http://tools.ietf.org/html/rfc4293#page-47

Internet Protocol MIB (IP-MIB)

Query received IP datagrams on interface GigabitEthernet0/0 (index 2):$ snmpget hqr ipIfStatsHCInReceives.ipv4.2IP-MIB::ipIfStatsHCInReceives.ipv4.2 = Counter64: 106157$ snmpget hqr ipIfStatsHCInReceives.ipv6.2IP-MIB::ipIfStatsHCInReceives.ipv6.2 = Counter64: 1040

Network Monitoring with Zabbix

✓ Open Source✓ Graphical User Interface✓ SNMP, IPMI, JMX Agents✓ Notification Triggers✓ Historical Database✓ Graphing

Zabbix: Latest Data View

✓ Items gather data from a host for a particular metric

✓ Each item has it’s own schedule for collection (i.e. every 60s, 24h)

✓ Quick Graphing

Zabbix: Configure SNMP Item

✓ Net-SNMP Integration✓ Graphical Configuration✓ Flexible Intervals✓ Store As-Is or Delta✓ History Storage Period✓ Trend Storage Period✓ Templates & Cloning

Zabbix: Create Custom Graph

IP Datagrams Forwarded (Hour)

Average of IP datagrams forwarded through router:

IPv4: 80%IPv6: 20%

IP Datagrams Received (Hour)

Average of IP datagrams received by router:

IPv4: 66%IPv6: 34%

IP Bytes Received (Hour)

Average of bytes received in IP datagrams:

IPv4: 49%IPv6: 51%

IP Datagrams Sent/Received (Hour)

IP Datagrams Sent/Received (Week)

[email protected]

Questions?