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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.