1 .. _cardinal-user-guide:
3 Cardinal: OpenDaylight Monitoring as a Service
4 ==============================================
6 This section describes how to use the Cardinal feature in OpenDaylight
7 and contains configuration, administration, and management sections for
13 Cardinal (OpenDaylight Monitoring as a Service) enables OpenDaylight and
14 the underlying software defined network to be remotely monitored by
15 deployed Network Management Systems (NMS) or Analytics suite. In the
16 Boron release, Cardinal will add:
20 2. Enable ODL diagnostics/monitoring to be exposed across SNMP (v2c, v3)
23 3. Extend ODL System health, Karaf parameter and feature info, ODL
24 plugin scalability and network parameters.
26 4. Support autonomous notifications (SNMP Traps).
31 The Cardinal architecture can be found at the below link:
33 https://wiki.opendaylight.org/images/8/89/Cardinal-ODL_Monitoring_as_a_Service_V2.pdf
35 Configuring Cardinal feature
36 ----------------------------
38 To start Cardinal feature, start karaf and type the following command:
42 feature:install odl-cardinal
44 After this Cardinal should be up and working with SNMP daemon running on
50 Below are tutorials for Cardinal.
55 These tutorials are intended for any user who wants to monitor three
56 basic component in OpenDaylight
58 1. System Info in which controller is running.
62 3. Project Specific Information (Openflow and Netconf devices).
67 There is no as such specific prerequisite. Cardinal can work without
68 installing any third party software. However If one wants to see the
69 output of a snmpget/snmpwalk on the CLI prompt, than one can install the
70 SNMP using the below link:
72 https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-an-snmp-daemon-and-client-on-ubuntu-14-04
74 Using the above command line utility one can get the same result as the
75 cardinal APIs will give for the snmpget/snmpwalk request.
80 This tutorial is developed considering the following environment:
82 controller-Linux(Ubuntu 14.02).
87 Install Cardinal feature
88 ''''''''''''''''''''''''
90 Open karaf and install the cardinal feature using the following command:
94 feature:install odl-cardinal
96 Please verify that SNMP daemon is up on port 161 using the following
97 command on the terminal window of Linux machine:
101 netstat -anp | grep "161"
102 netstat -anp | grep "2001"
103 netstat -anp | grep "2003"
105 If the grep on the \`\`snmpd\`\` port is successful than SNMP daemon is
111 Please see Developer guide for usage of Cardinal APIs.
113 CLI commands to do snmpget/walk
114 '''''''''''''''''''''''''''''''
116 One can do snmpget/walk on the ODL-CARDINAL-MIB. Open the linux terminal
117 and type the below command:
121 snmpget -v2c -c public localhost Oid_Of_the_mib_variable
127 snmpget -v2c -c public localhost ODL-CARDINAL-MIB::mib_variable_name
129 For snmpwalk use the below command:
133 snmpwalk -v2c -c public localhost SNMPv2-SMI::experimental
135 For tabular data (netconf devices), snmpwalk use the
140 snmpwalk -v2c -c public localhost:2001 SNMPv2-SMI::experimental
142 For tabular data (openflow devices), snmpwalk use the
147 snmpwalk -v2c -c public localhost:2003 SNMPv2-SMI::experimental