You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Description

This provides HTML diagnostic clients which can be used for Hybrid Gateway devices as well as IP clients. It also supports retrieving diagnostic values over a TR-069 interface for devices where snmpsupport is not present (IP client devices). Also additional diagnostic screens to monitor MOCA devices are available.
HTML based diagnostic screens will send a JSON request to the Lighttpdserver. This request is converted to a corresponding SNMP trigger or a TR-69 request to retrieve the data and send it back as a JSON response to the HTML client.

Capabilities

  • Handle HTTP gets from Diagnostics Application.
  • Retrieve data from SNMP and/or TR-069 Clients.

Feature Summary

  • Application access to SNMP MIB objects

  • Application access to TR-069 parameters
  • Application access to RDK state variables



Diagnostic Parameters (example)

ParameterSNMP MIBTR-069 Object
MoCA Enable/Disable StatusmocaIfEnableDevice.MoCA.Interface.{i}.Enable
Firmware VersionocStbHostSoftwareFirmwareVersionSoftwareVersion
LAN IP Address
Device.IP.Interface.{i}.IPv4Address.{i}.IPAddress

State Variables

RDK will signal state variable transitions to application, and application will present the corresponding error messages to the user if necessary. 

Diagnostics using SNMP

A glance on SNMP

  • Simple Network Management Protocol (SNMP) is an Internet-standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behaviour.
  • SNMP is the opensource component which is integrated with RDK.
  • “snmpd” is the snmp agent which is running in the box.
  • All MIBs are available in /usr/share/snmp/mibs/

SNMP Diagnostics

  • SNMP queries are used to fetch the details from the box which will be displayed in the “Diagnostics” page
  • SNMP is used only in “hybrid” box types and not in client boxes.
  • Client boxes use TR069 protocol for fetching diagnostic details.

Steps to display Diagnostics page in PC Browser 

  • Step 1:

        Copy lighttpd config file from /etc to /opt

        cp /etc/lighttpd.conf /opt/

  • Step 2 :

        Modify config file to show the page in browser.

               vi /opt/lighttpd.conf

        Comment below line

               server.bind                 = "127.0.0.1"

  • Step 3:

        Execute below command

               ps -ef| grep "/usr/sbin/lighttpd" | grep -v "grep" | awk '{print $2}' | xargs kill -9 >& /dev/null;/usr/sbin/lighttpd -D -f /opt/lighttpd.conf &

  • Step 4:

        Use below url in the browser to see diagnostics page

                http://<box lan ip address>:50050/htmldiag/summary_info.html

                eg: http://192.168.160.83:50050/htmldiag/summary_info.html 

   Note: Use TAB, SHIFT+TAB and ENTER keys to browse through this page

SNMP queries through command line


Steps to display Diagnostics page in PC Browserto di


Steps to display Diagnostics page in PC Browser

Steps to display Diagnostics page in PC Browser

  • No labels