Time for action – presenting data on the tree view page

You're going to present the enhanced information as a table embedded in a table row.

  1. Go to the cbEnhancedInfo_tree_after function again and search for the following code:
       /* Example 3 - Data presentation is missing here ---> */
       /* <--- */
  2. As you can see, there's already some data between these two lines. If you're now going to the tree view page for your localhost device, you should actually see some data being displayed.
  3. Replace the lines between the two code lines with the following code:
    ?> <tr bgcolor='#6d88ad'><td> <tr bgcolor='#a9b7cb'> <td colspan='3' class='textHeaderDark'> <strong>Enhanced Information</strong> </td> </tr> <tr align='center' style='background-color: #f9f9f9;'> <td align='center'> ...

Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.