View Source

h6. Overview

Cacti supports plugins that allow it to be extended with additional capabilities, such as device discovery and basic alarms, which further contribute to the visualization feature set. This page reviews the Cacti Aggregate, Nectar, and Realtime plugins.

{note}
The inclusion of these Cacti plugins into the product is new with the GroundWork Monitor 7.1.1 release. If you are using version 7.1.0 and wish to use these plugins please contact GroundWork Support.
{note}{section}
{column:width=33%}CONTENTS
{toc:minLevel=1|maxLevel=1|printable=false}
{column}{column:width=33%}RELATED RESOURCES
* [Cacti]
* [RAPID-based Feeders|RAPID-based Feeders]
{column}{column}WAS THIS PAGE HELPFUL?

* {html}<a href="mailto:training@gwos.com?subject=Cacti Plugins">Leave Feedback</a>{html}{column}{section}

h1. 1.0 Cacti Aggregate Plugin

The installation of the Cacti *aggregate* plugin also includes a full manual, located within the GroundWork Cacti distribution: /usr/local/groundwork/cacti/htdocs/plugins/aggregate/aggregate_manual.pdf

The manual can also be viewed directly on-line: [http://docs.cacti.net/_media/plugin:aggregate_manual_v075.pdf|http://docs.cacti.net/_media/plugin:aggregate_manual_v075.pdf]

h1. 2.0 Cacti Nectar Plugin

Useful documentation on the *nectar* plugin is somewhat sparse. You should start with the advice on the plugin's official page, [http://docs.cacti.net/plugin:nectar|http://docs.cacti.net/plugin:nectar]. Following is practical advice for setting up and using this plugin under GroundWork Monitor.
# Go to the Cacti plugins page at *Advanced* > *Network Graphing*.
# Select *Plugin Management*.
\\
\\
Figure: Accessing Cacti
!bookshelf_cacti_plugins_01.png|border=1!\\
# Install and enable the Nectar plugin by clicking on the *blue-arrow* button for that plugin, then the *green-arrow* button for that plugin.
# A new blue *nectar* tab will show up at the top of the Cacti screen once the plugin is enabled.
{note:title=IMPORTANT}Read the Installation instructions found in the {{/usr/local/groundwork/cacti/htdocs/plugins/nectar/GROUNDWORK_NOTES}} file, and complete the installation of the plugin using those notes.{note}
Figure: Install, Enable, New Tab
!bookshelf_cacti_plugins_02.png|border=1!\\
# Go to *User Management*.
# Select _user name_.
\\
\\
Figure: User Management
!bookshelf_cacti_plugins_03.png|border=1!\\
# Select *Realm Permissions*.
# Verify that you have given access to *Plugin \-> Nectar Reports Admin* and/or *Plugin \-> Nectar Reports User* to the users who will be operating this plugin. Admin access encompasses everything allowed by User access, along with the ability to access the *nectar* tab. It's not clear what the utility of just User access is, since with just that level of permission, one cannot access anything under the *nectar* tab.
# If you make a change, click *Save*.
\\
\\
Figure: Realm Permissions
!bookshelf_cacti_plugins_04.png|border=1!\\
# Click on the *nectar* tab.
# On the right side of the screen, click on *Add*.
\\
\\
Figure: Add Reports
!bookshelf_cacti_plugins_05.png|border=1!\\
# Fill in the details for the report you desire.
# For the moment, leave the *Enable Report* checkbox unchecked.
# When you've completed selecting your choices, click the *Create* button at the bottom of the page.
\\
\\
Figure: Report Details
!bookshelf_cacti_plugins_06.png|border=1!\\
# Click on the *Items* tab.
# On the right side of the screen, click on *Add*.
\\
\\
Figure: Add Item
!bookshelf_cacti_plugins_07.png|border=1!\\
# Then make your desired selections.
# Click the *Save* button at the bottom of the page.
\\
\\
Figure: Report Item
!bookshelf_cacti_plugins_08.png|border=1!\\
# Click on the *Preview*&nbsp;tab, to see what a sample email would look like.
# Adjust the *Detail* and *Items* to your taste.
# On the right side of the screen, click on *Send Report*. This will generate and send an email, as configured. You should see *Nectar Report 'My Sample Report' Sent Successfully* at the top of the screen. If you see an error message (such as *Problems sending Nectar Report 'My Sample Report'*), you will need to debug the problem by adjusting either your report settings or some system issue.
\\
\\
Figure: Report Preview
!bookshelf_cacti_plugins_09.png|border=1!\\
# Click on the *Events* tab. If you don't like the set of scheduled events, go back and edit the *Next Timestamp for Sending Mail Report* field under *Details*, and *Save*. Check again under the *Events* tab.
\\
\\
Figure: Events
!bookshelf_cacti_plugins_10.png|border=1!\\
# If you want this report to be sent out automatically on the schedule you see under the *Events* tab (above), go back under the *Details* tab.
# Check the *Enable Report* checkbox,&nbsp;&nbsp;(you can experiment with the other on-screen configuration data for email reports. We won't describe any of that further here).&nbsp;
# Click *Save*.
\\
\\
Figure: Enable Report
!bookshelf_cacti_plugins_11.png|border=1!

h1. 3.0 Cacti Realtime Plugin

Useful documentation on the *realtime* plugin is somewhat sparse. You should start with the advice on the plugin's official page, [http://docs.cacti.net/plugin:realtime|http://docs.cacti.net/plugin:realtime]. Following is practical advice for setting up and using this plugin under GroundWork Monitor.
# Go to the Cacti plugins page at *Advanced* > *Network Graphing*.
# Select *Plugin Management*.
\\
\\
Figure: Accessing Cacti
!bookshelf_cacti_plugins_01.png|border=1!
# Install and enable the *Realtime* plugin by clicking on the *blue-arrow* button for that plugin, then the *green-arrow* button for that plugin.
\\
\\
Figure: Install, Enable
!bookshelf_cacti_plugins_12.png|border=1!
# While logged in to a terminal window as the *nagios* user, make a directory for the *realtime* plugin to use to store its RRD files (its *Cache Directory*). For general security, make sure the directory is created with appropriately restricted permissions. Here is a suggested location for the Cacti *realtime* plugin Cache Directory:
{noformat}su - nagios
umask 22
mkdir /usr/local/groundwork/cacti/htdocs/plugins/realtime/rrd
exit{noformat}
# Go to *Settings* from the left side of the screen.
# Select the *Misc* tab.
# In the *Realtime Graphs* section, choose the setup options you desire.
# Use *Ajax* if you can; it operates smoother than not using it.
# Set the *Cache Directory* to the absolute pathname of the directory you just created.
# Scroll down to the bottom of the screen, and click the *Save* button.
# Scroll back up and look at the notation (e.g., OK: DIR FOUND) under the *Cache Directory* setting, to ensure that the path you have chosen is acceptable to the *realtime* plugin.
\\
\\
Figure: Setting, Misc
!bookshelf_cacti_plugins_13.png|border=1!
# Go to *User Management* and select a _user name,_ click *Realm Permissions* and verify that you have given access to *Plugin \-> Realtime* to the user who will be operating this plugin.
# If you make a change, *Save* it.
\\
\\
Figure: Realm Permissions
!bookshelf_cacti_plugins_14.png|border=1!
# Now go to the *graphs* tab at the top of the Cacti screen.
# For each graph, you should now see a small squiggley-line icon to the right of each graph image. If you hover your mouse pointer over that icon, you will see a *Realtime* tooltip show up.
# Just click on that icon to see a pop-up window containing the real-time version of that graph. If this is the first time you have viewed the real-time version of a particular graph, it may take a cycle or two of the configured Interval for data to start showing up in the displayed graph. You can experiment with the other plugin-level settings and the controls for an individual graph in its pop-up window. We won't describe those further here.
\\
\\
Figure: Graphs (Realtime)
!bookshelf_cacti_plugins_15.png|border=1!