Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installation + Configuration

Installation and configuration of cacti is done via the script installCacti.sh

Code Block
languagebash
/var/www/lara/modules/ProvMon/Console/installCacti.sh

It will ask for:

  1. MySQL root password (to create the cacti DB)
  2. MySQL password of user 'cactiuser' which will be created, if necessary
  3. WebGUI password for user 'admin'

Available Modems are auto-detected and their corresponding graphs will automatically created.

 

Available CMTSs will also be added automatically. However, their interface graphs won't be automatically created, as we don't know which interfaces are of interest.

To select which CMTS interfaces should be graphed:

  1. Login as 'admin' into the cacti web interface
  2. Goto Console -> Devices -> click on the corresponding CMTS
  3. "Create Graphs for this Host" (upper right corner)
  4. Select the interfaces of interest
  5. "Create"

After 5 minutes the graphs should be shown in Laravel (Main Menu -> CMTS -> Analysis)

Spine

As per the default settings cacti uses cmd.php to query the devices. If cmd.php is to slow or doesn't work properly, one can use spine instead.

Unfortunately, spine isn't shipped with CentOS7. The following spec file can be used to create the package cacti-spine.

Code Block
titlecacti-spine.spec
collapsetrue
 

After building and installing (see VoIP Monitoring) the package, one must set the Poller type from cmd.php to spine:

  1. Login into the cacti web interfaces as 'admin'
  2. Goto Console -> Settings -> Poller -> Poller Type -> spine
  3. "Save"