This is to host code for https://forums.cacti.net/viewtopic.php?f=19&t=23089 for others to use. I do not actively maintain this code, but welcome pull requests from others where they believe this can be improved.
Cisco SFP Statistics for Cacti (c) 2007-2008 sodium in 2017 the code copyright moved Github under Creative Commons BY-NC-SA
Version | Branch | Compatability |
---|---|---|
v0.3.0 - vx.x.x | master | This code is compatible with Cacti 1.x. |
x.x.x - v0.2.5 | cacti-v.0.8.8 | This code is compatible with Cacti 0.8.8x |
cisco_sfp.xml
to [$cacti_home]/resources/script_server
directoryss_cisco_catalyst_sfp.php
to [$cacti_home]/scripts
directorycacti_data_query_cisco_catalyst_sfp_statistics.xml
Cisco - Catalyst - SFP statistics
to the desired host template, or add it to the Associated Data Queries
section when editing host.That's it...
If your are running the thold plugin you may need to patch it as the baseline
function can't handle negative numbers under earlier versions of the plugin. If you only utilise high/low
watermark checking, you do NOT need to patch.
NOTE: The patch file was made against THold v0.3.9 and may no longer apply. Use of the patch is at your descresion
cacti/plugins/thold$ patch -p0 < thold_functions-0.3.9.patch
Assumptions made within the code: