How do I configure the Spine poller?

You can use the RTM Console to configure the Spine poller.

Before you begin

Before configuring the Spine poller, refer to http://www.cacti.net/spine_info.php to understand if the Spine poller is the right configuration for you.

Procedure

  1. Log in to RTM Console as an administrator.
  2. Set the path for the Spine binary by navigating to Console > Configuration > Settings > Path, and specifying the Spine Binary File Location variable. For example: RTM_TOP/rtm/bin/spine.

    Also specify the Spine Config File Path variable if the Spine configuration file is not in the same location as the Spine binary file. For example: RTM_TOP/rtm/etc/spine.conf.

  3. Change the poller from cmd.php to spine.

    Go to the Console > Configuration > Settings > Poller, and change Poller type to Spine.

  4. Specify the number of Spine processes that can run in parallel by setting the Maximum Concurrent Poller Processes variable.

    As a best practice, use one to two times core count on your RTM server. For example, to start with, if your RTM server has 16 cores, set Maximum Concurrent Poller Processes to 16.

  5. Specify the number of threads each Spine process can spawn by setting the Maximum Threads per Process variable.
    As a best practice, start with 10 threads and increase as needed. Values above 30 threads may degrade performance.
    Note: The best parallelism with Spine is achieved with threads. If you need to tune Spine, consider lowering the number of processes and increasing the threads.
  6. Specify the number of server scripts to run per Spine process by setting the Number of PHP Script Servers variable. For this value, more is better.

    As a best practice, start with half the number of threads and increase as needed. Each script server requires a MySQL connection. See the RTM troubleshooting tips for details.

  7. Click Save in the Poller tab.

What to do next

Important: Monitor Spine performance and adjust the aforementioned variables to obtain the shortest polling times possible.