vADC Docs

Cacti Templates for Stingray Traffic Manager

by dnahas on ‎10-23-2013 09:51 AM - edited on ‎05-29-2015 09:18 AM by pwallace_1 (5,046 Views)

Installation

 

  1. Unzip the download (Stingray Traffic Manager Cacti Templates.zip)

  2. Via the Cacti UI, “Import Templates” and import the Data, Host, and Graph templates.  * Included graph templates are not required for functionality.

  3. Copy the files for the Cacti folder in the zip file to their corresponding directory inn your cacti install.
    1. Stingray Global Values script query - /cacti/site/scripts/stingray_globals.pl
    2. Stingray Virtual Server Table snmp query - cacti/resource/snmp_queries/stingray_vservers.
  4. Assign the host template to Traffic Manager(s) and create new graphs.

 

* Due to the method used by Cacti for creating graphs and the related RRD files, it is my recommendation NOT to create all graphs via the Device Page.   If you create all the graphs via the “*Create Graphs for this Host” link on the device page, Cacti will create an individual data source (RRD file and SNMP query for each graph) resulting in a significant amount of wasted Cacti and Device resources. Test yourself with the Stingray SNMP graph.

 

My recommendation is to create a single initial graph for each Data Query or Data Input method (i.e. one for Virtual Servers and one for Global values) and add any additional graphs via the Cacti’s Graph Management using the existing Data Source Drop downs.

 

Data Queries

 

  1. Stingray Global Values script query - /cacti/site/scripts/stingray_globals.pl
    * Perl script to query the STM for most of the sys.globals values
  2. Stingray Virtual Server Table snmp query - cacti/resource/snmp_queries/stingray_vservers.xml
    * Cacti XML snmp query for the Virtual Servers Table MIB

 

Graph Templates

 

  1. Stingray_-_global_-_cpu.xml
  2. Stingray_-_global_-_dns_lookups.xml
  3. Stingray_-_global_-_dns_traffic.xml
  4. Stingray_-_global_-_memory.xml
  5. Stingray_-_global_-_snmp.xml
  6. Stingray_-_global_-_ssl_-_client_cert.xml
  7. Stingray_-_global_-_ssl_-_decryption_cipher.xml
  8. Stingray_-_global_-_ssl_-_handshakes.xml
  9. Stingray_-_global_-_ssl_-_session_id.xml
  10. Stingray_-_global_-_ssl_-_throughput.xml
  11. Stingray_-_global_-_swap_memory.xml
  12. Stingray_-_global_-_system_-_misc.xml
  13. Stingray_-_global_-_traffic_-_misc.xml
  14. Stingray_-_global_-_traffic_-_tcp.xml
  15. Stingray_-_global_-_traffic_-_throughput.xml
  16. Stingray_-_global_-_traffic_script_data_usage.xml
  17. Stingray_-_virtual_server_-_total_timeouts.xml
  18. Stingray_-_virtual_server_-_connections.xml
  19. Stingray_-_virtual_server_-_timeouts.xml
  20. Stingray_-_virtual_server_-_traffic.xml

 

 

Sample Graphs

(click image for full size)

Sample 1.png   Sample 2.png   Sample 3.png

 

 

Compatibility

 

  1. This template has been tested with STM 9.4 and Cacti 0.8.8.a

 

Known Issues

 

  1. Cacti will create unnecessary queries and data files if the “*Create Graphs for this Host” link on the device page is used. See install notes for work around.

 

Conclusion

 

Cacti is sufficient with providing SNMP based RRD graphs, but is limited in Information available, Analytics, Correlation, Scale, Stability and Support.

 

This is not just a shameless plug; Brocade offers a MUCH more robust set of monitoring and performance tools.

Contributors