This section describes how to use the Cardinal feature in OpenDaylight and contains configuration, administration, and management sections for the feature.
Cardinal (OpenDaylight Monitoring as a Service) enables OpenDaylight and the underlying software defined network to be remotely monitored by deployed Network Management Systems (NMS) or Analytics suite. In the Boron release, Cardinal will add:
The Cardinal architecture can be found at the below link:
https://wiki.opendaylight.org/images/8/89/Cardinal-ODL_Monitoring_as_a_Service_V2.pdf
To start Cardinal feature, start karaf and type the following command:
feature:install odl-cardinal
After this Cardinal should be up and working with SNMP daemon running on port 161.
Below are tutorials for Cardinal.
These tutorials are intended for any user who wants to monitor three basic component in OpenDaylight
There is no as such specific prerequisite. Cardinal can work without installing any third party software. However If one wants to see the output of a snmpget/snmpwalk on the CLI prompt, than one can install the SNMP using the below link:
Using the above command line utility one can get the same result as the cardinal APIs will give for the snmpget/snmpwalk request.
This tutorial is developed considering the following environment:
controller-Linux(Ubuntu 14.02).
Open karaf and install the cardinal feature using the following command:
feature:install odl-cardinal
Please verify that SNMP daemon is up on port 161 using the following command on the terminal window of Linux machine:
netstat -anp | grep "161"
netstat -anp | grep "2001"
netstat -anp | grep "2003"
If the grep on the ``snmpd`` port is successful than SNMP daemon is up and working.
Please see Developer guide for usage of Cardinal APIs.
One can do snmpget/walk on the ODL-CARDINAL-MIB. Open the linux terminal and type the below command:
snmpget -v2c -c public localhost Oid_Of_the_mib_variable
Or
snmpget -v2c -c public localhost ODL-CARDINAL-MIB::mib_variable_name
For snmpwalk use the below command:
snmpwalk -v2c -c public localhost SNMPv2-SMI::experimental
For tabular data (netconf devices), snmpwalk use the below command:
snmpwalk -v2c -c public localhost:2001 SNMPv2-SMI::experimental
For tabular data (openflow devices), snmpwalk use the below command:
snmpwalk -v2c -c public localhost:2003 SNMPv2-SMI::experimental