-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
548 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,311 @@ | ||
<cacti> | ||
<hash_000021d28b86240a5752f83b5ee0fde11ab178> | ||
<name>Cisco - SFP statistics (dBm)</name> | ||
<graph> | ||
<t_title></t_title> | ||
<title>|host_description| - SFP |query_interface| - |query_descr|</title> | ||
<t_image_format_id></t_image_format_id> | ||
<image_format_id>1</image_format_id> | ||
<t_height></t_height> | ||
<height>120</height> | ||
<t_width></t_width> | ||
<width>600</width> | ||
<t_slope_mode></t_slope_mode> | ||
<slope_mode>on</slope_mode> | ||
<t_auto_scale></t_auto_scale> | ||
<auto_scale>on</auto_scale> | ||
<t_auto_scale_opts></t_auto_scale_opts> | ||
<auto_scale_opts>1</auto_scale_opts> | ||
<t_auto_scale_log></t_auto_scale_log> | ||
<auto_scale_log></auto_scale_log> | ||
<t_scale_log_units></t_scale_log_units> | ||
<scale_log_units></scale_log_units> | ||
<t_auto_scale_rigid></t_auto_scale_rigid> | ||
<auto_scale_rigid></auto_scale_rigid> | ||
<t_auto_padding></t_auto_padding> | ||
<auto_padding>on</auto_padding> | ||
<t_export></t_export> | ||
<export>on</export> | ||
<t_upper_limit></t_upper_limit> | ||
<upper_limit>10</upper_limit> | ||
<t_lower_limit></t_lower_limit> | ||
<lower_limit>-40</lower_limit> | ||
<t_base_value></t_base_value> | ||
<base_value>1000</base_value> | ||
<t_unit_value></t_unit_value> | ||
<unit_value></unit_value> | ||
<t_unit_exponent_value></t_unit_exponent_value> | ||
<unit_exponent_value></unit_exponent_value> | ||
<t_vertical_label></t_vertical_label> | ||
<vertical_label>dBm</vertical_label> | ||
</graph> | ||
<items> | ||
<hash_1000217007836117f60c437b1f5cb67cddbe05> | ||
<task_item_id>hash_080021b77e19e466d292239d67fa5fd8f1b3f4</task_item_id> | ||
<color_id>002A97</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>4</graph_type_id> | ||
<consolidation_function_id>4</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>OpticalTxPower</text_format> | ||
<hard_return></hard_return> | ||
<sequence>1</sequence> | ||
</hash_1000217007836117f60c437b1f5cb67cddbe05> | ||
<hash_100021ddc646681bbcd109379c1a64bc2e7623> | ||
<task_item_id>hash_080021b77e19e466d292239d67fa5fd8f1b3f4</task_item_id> | ||
<color_id>0</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>9</graph_type_id> | ||
<consolidation_function_id>4</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>Current:</text_format> | ||
<hard_return></hard_return> | ||
<sequence>2</sequence> | ||
</hash_100021ddc646681bbcd109379c1a64bc2e7623> | ||
<hash_100021b9c7b578859f5c9bca54bd20c56742a0> | ||
<task_item_id>hash_080021b77e19e466d292239d67fa5fd8f1b3f4</task_item_id> | ||
<color_id>0</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>9</graph_type_id> | ||
<consolidation_function_id>1</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>Average:</text_format> | ||
<hard_return></hard_return> | ||
<sequence>3</sequence> | ||
</hash_100021b9c7b578859f5c9bca54bd20c56742a0> | ||
<hash_1000218c02b28b31623e526186de01e63a3aee> | ||
<task_item_id>hash_080021b77e19e466d292239d67fa5fd8f1b3f4</task_item_id> | ||
<color_id>0</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>9</graph_type_id> | ||
<consolidation_function_id>3</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>Maximum:</text_format> | ||
<hard_return>on</hard_return> | ||
<sequence>4</sequence> | ||
</hash_1000218c02b28b31623e526186de01e63a3aee> | ||
<hash_1000213356ab3f7c36a77cb085aa5e0557eff1> | ||
<task_item_id>hash_080021c02d990615e0e8544cbba54721826809</task_item_id> | ||
<color_id>00CF00</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>4</graph_type_id> | ||
<consolidation_function_id>4</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>OpticalRxPower</text_format> | ||
<hard_return></hard_return> | ||
<sequence>5</sequence> | ||
</hash_1000213356ab3f7c36a77cb085aa5e0557eff1> | ||
<hash_1000213090191545315934ac6ff62ba2230f72> | ||
<task_item_id>hash_080021c02d990615e0e8544cbba54721826809</task_item_id> | ||
<color_id>0</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>9</graph_type_id> | ||
<consolidation_function_id>4</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>Current:</text_format> | ||
<hard_return></hard_return> | ||
<sequence>6</sequence> | ||
</hash_1000213090191545315934ac6ff62ba2230f72> | ||
<hash_1000217e6cbeecb942772d1f08ed674df58959> | ||
<task_item_id>hash_080021c02d990615e0e8544cbba54721826809</task_item_id> | ||
<color_id>0</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>9</graph_type_id> | ||
<consolidation_function_id>1</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>Average:</text_format> | ||
<hard_return></hard_return> | ||
<sequence>7</sequence> | ||
</hash_1000217e6cbeecb942772d1f08ed674df58959> | ||
<hash_100021e78def52d478d9e25295c13ce6b185b3> | ||
<task_item_id>hash_080021c02d990615e0e8544cbba54721826809</task_item_id> | ||
<color_id>0</color_id> | ||
<alpha>FF</alpha> | ||
<graph_type_id>9</graph_type_id> | ||
<consolidation_function_id>3</consolidation_function_id> | ||
<cdef_id>0</cdef_id> | ||
<value></value> | ||
<gprint_id>hash_0600216bf08fdd497f43bb9ba34743ad1bcc94</gprint_id> | ||
<text_format>Maximum:</text_format> | ||
<hard_return>on</hard_return> | ||
<sequence>8</sequence> | ||
</hash_100021e78def52d478d9e25295c13ce6b185b3> | ||
</items> | ||
<inputs> | ||
<hash_0900217b4db9f79c2121ff833c40b324ff1cb1> | ||
<name>Data Source [sfp_tx]</name> | ||
<description></description> | ||
<column_name>task_item_id</column_name> | ||
<items>hash_0000217007836117f60c437b1f5cb67cddbe05|hash_000021ddc646681bbcd109379c1a64bc2e7623|hash_000021b9c7b578859f5c9bca54bd20c56742a0|hash_0000218c02b28b31623e526186de01e63a3aee</items> | ||
</hash_0900217b4db9f79c2121ff833c40b324ff1cb1> | ||
<hash_090021d49f52821495044c0f0fc6461164188c> | ||
<name>Data Source [sfp_rx]</name> | ||
<description></description> | ||
<column_name>task_item_id</column_name> | ||
<items>hash_0000213356ab3f7c36a77cb085aa5e0557eff1|hash_0000213090191545315934ac6ff62ba2230f72|hash_0000217e6cbeecb942772d1f08ed674df58959|hash_000021e78def52d478d9e25295c13ce6b185b3</items> | ||
</hash_090021d49f52821495044c0f0fc6461164188c> | ||
</inputs> | ||
</hash_000021d28b86240a5752f83b5ee0fde11ab178> | ||
<hash_01002136235416ea6d526678a4e2470baf7b47> | ||
<name>Cisco 65xx - SFP statistics</name> | ||
<ds> | ||
<t_name></t_name> | ||
<name>|host_description| - SFP Statistics - |query_interface|</name> | ||
<data_input_id>hash_030021332111d8b54ac8ce939af87a7eac0c06</data_input_id> | ||
<t_rra_id></t_rra_id> | ||
<t_rrd_step></t_rrd_step> | ||
<rrd_step>300</rrd_step> | ||
<t_active></t_active> | ||
<active>on</active> | ||
<rra_items>hash_150021c21df5178e5c955013591239eb0afd46|hash_1500210d9c0af8b8acdc7807943937b3208e29|hash_1500216fc2d038fb42950138b0ce3e9874cc60|hash_150021e36f3adb9f152adfa5dc50fd2b23337e|hash_150021283ea2bf1634d92ce081ec82a634f513</rra_items> | ||
</ds> | ||
<items> | ||
<hash_080021c02d990615e0e8544cbba54721826809> | ||
<t_data_source_name></t_data_source_name> | ||
<data_source_name>sfp_rx</data_source_name> | ||
<t_rrd_minimum></t_rrd_minimum> | ||
<rrd_minimum>-40</rrd_minimum> | ||
<t_rrd_maximum></t_rrd_maximum> | ||
<rrd_maximum>10</rrd_maximum> | ||
<t_data_source_type_id></t_data_source_type_id> | ||
<data_source_type_id>1</data_source_type_id> | ||
<t_rrd_heartbeat></t_rrd_heartbeat> | ||
<rrd_heartbeat>600</rrd_heartbeat> | ||
<t_data_input_field_id></t_data_input_field_id> | ||
<data_input_field_id>0</data_input_field_id> | ||
</hash_080021c02d990615e0e8544cbba54721826809> | ||
<hash_080021b77e19e466d292239d67fa5fd8f1b3f4> | ||
<t_data_source_name></t_data_source_name> | ||
<data_source_name>sfp_tx</data_source_name> | ||
<t_rrd_minimum></t_rrd_minimum> | ||
<rrd_minimum>-40</rrd_minimum> | ||
<t_rrd_maximum></t_rrd_maximum> | ||
<rrd_maximum>10</rrd_maximum> | ||
<t_data_source_type_id></t_data_source_type_id> | ||
<data_source_type_id>1</data_source_type_id> | ||
<t_rrd_heartbeat></t_rrd_heartbeat> | ||
<rrd_heartbeat>600</rrd_heartbeat> | ||
<t_data_input_field_id></t_data_input_field_id> | ||
<data_input_field_id>0</data_input_field_id> | ||
</hash_080021b77e19e466d292239d67fa5fd8f1b3f4> | ||
</items> | ||
<data> | ||
<item_000> | ||
<data_input_field_id>hash_07002131112c85ae4ff821d3b288336288818c</data_input_field_id> | ||
<t_value></t_value> | ||
<value></value> | ||
</item_000> | ||
<item_001> | ||
<data_input_field_id>hash_07002130fb5d5bcf3d66bb5abe88596f357c26</data_input_field_id> | ||
<t_value></t_value> | ||
<value></value> | ||
</item_001> | ||
<item_002> | ||
<data_input_field_id>hash_070021172b4b0eacee4948c6479f587b62e512</data_input_field_id> | ||
<t_value></t_value> | ||
<value></value> | ||
</item_002> | ||
</data> | ||
</hash_01002136235416ea6d526678a4e2470baf7b47> | ||
<hash_030021332111d8b54ac8ce939af87a7eac0c06> | ||
<name>Get Script Server Data (Indexed)</name> | ||
<type_id>6</type_id> | ||
<input_string></input_string> | ||
<fields> | ||
<hash_070021172b4b0eacee4948c6479f587b62e512> | ||
<name>Index Type</name> | ||
<update_rra></update_rra> | ||
<regexp_match></regexp_match> | ||
<allow_nulls></allow_nulls> | ||
<type_code>index_type</type_code> | ||
<input_output>in</input_output> | ||
<data_name>index_type</data_name> | ||
</hash_070021172b4b0eacee4948c6479f587b62e512> | ||
<hash_07002130fb5d5bcf3d66bb5abe88596f357c26> | ||
<name>Index Value</name> | ||
<update_rra></update_rra> | ||
<regexp_match></regexp_match> | ||
<allow_nulls></allow_nulls> | ||
<type_code>index_value</type_code> | ||
<input_output>in</input_output> | ||
<data_name>index_value</data_name> | ||
</hash_07002130fb5d5bcf3d66bb5abe88596f357c26> | ||
<hash_07002131112c85ae4ff821d3b288336288818c> | ||
<name>Output Type ID</name> | ||
<update_rra></update_rra> | ||
<regexp_match></regexp_match> | ||
<allow_nulls></allow_nulls> | ||
<type_code>output_type</type_code> | ||
<input_output>in</input_output> | ||
<data_name>output_type</data_name> | ||
</hash_07002131112c85ae4ff821d3b288336288818c> | ||
<hash_0700215be8fa85472d89c621790b43510b5043> | ||
<name>Output Value</name> | ||
<update_rra>on</update_rra> | ||
<regexp_match></regexp_match> | ||
<allow_nulls></allow_nulls> | ||
<type_code></type_code> | ||
<input_output>out</input_output> | ||
<data_name>output</data_name> | ||
</hash_0700215be8fa85472d89c621790b43510b5043> | ||
</fields> | ||
</hash_030021332111d8b54ac8ce939af87a7eac0c06> | ||
<hash_150021c21df5178e5c955013591239eb0afd46> | ||
<name>Daily (5 Minute Average)</name> | ||
<x_files_factor>0.5</x_files_factor> | ||
<steps>1</steps> | ||
<rows>600</rows> | ||
<timespan>86400</timespan> | ||
<cf_items>1|2|3|4</cf_items> | ||
</hash_150021c21df5178e5c955013591239eb0afd46> | ||
<hash_1500210d9c0af8b8acdc7807943937b3208e29> | ||
<name>Weekly (30 Minute Average)</name> | ||
<x_files_factor>0.5</x_files_factor> | ||
<steps>6</steps> | ||
<rows>700</rows> | ||
<timespan>604800</timespan> | ||
<cf_items>1|2|3|4</cf_items> | ||
</hash_1500210d9c0af8b8acdc7807943937b3208e29> | ||
<hash_1500216fc2d038fb42950138b0ce3e9874cc60> | ||
<name>Monthly (2 Hour Average)</name> | ||
<x_files_factor>0.5</x_files_factor> | ||
<steps>24</steps> | ||
<rows>775</rows> | ||
<timespan>2678400</timespan> | ||
<cf_items>1|2|3|4</cf_items> | ||
</hash_1500216fc2d038fb42950138b0ce3e9874cc60> | ||
<hash_150021e36f3adb9f152adfa5dc50fd2b23337e> | ||
<name>Yearly (1 Day Average)</name> | ||
<x_files_factor>0.5</x_files_factor> | ||
<steps>288</steps> | ||
<rows>797</rows> | ||
<timespan>33053184</timespan> | ||
<cf_items>1|2|3|4</cf_items> | ||
</hash_150021e36f3adb9f152adfa5dc50fd2b23337e> | ||
<hash_150021283ea2bf1634d92ce081ec82a634f513> | ||
<name>Hourly (1 Minute Average)</name> | ||
<x_files_factor>0.5</x_files_factor> | ||
<steps>1</steps> | ||
<rows>500</rows> | ||
<timespan>14400</timespan> | ||
<cf_items>1|2|3|4</cf_items> | ||
</hash_150021283ea2bf1634d92ce081ec82a634f513> | ||
<hash_0600216bf08fdd497f43bb9ba34743ad1bcc94> | ||
<name>Optical Power</name> | ||
<gprint_text>%2.1lf</gprint_text> | ||
</hash_0600216bf08fdd497f43bb9ba34743ad1bcc94> | ||
</cacti> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,46 @@ | ||
<interface> | ||
<name>Get Cisco SFP Statistics</name> | ||
<script_path>|path_cacti|/scripts/ss_65xx_sfp.php</script_path> | ||
<script_server>php</script_server> | ||
<name>Get Cisco SFP Statistics</name> | ||
<description>Get Cisco SFP Statistics</description> | ||
<script_path>|path_cacti|/scripts/ss_65xx_sfp.php</script_path> | ||
<script_function>ss_sfp</script_function> | ||
<arg_prepend>|host_hostname| |host_id| |host_snmp_version|:|host_snmp_port|:|host_snmp_timeout|:|host_ping_retries|:|host_max_oids|:|host_snmp_community|:|host_snmp_username|:|host_snmp_password|:|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context|</arg_prepend> | ||
<arg_index>index</arg_index> | ||
<arg_query>query</arg_query> | ||
<arg_get>get</arg_get> | ||
<index_order>device</index_order> | ||
<index_order_type>alphabetic</index_order_type> | ||
<index_title_format>|chosen_order_field|</index_title_format> | ||
<output_delimeter>:</output_delimeter> | ||
<fields> | ||
<device> | ||
<name>Interface</name> | ||
<direction>input</direction> | ||
<query_name>index</query_name> | ||
</device> | ||
<status> | ||
<name>Operational status</name> | ||
<direction>input</direction> | ||
<query_name>status</query_name> | ||
</status> | ||
<descr> | ||
<name>Interface Description</name> | ||
<direction>input</direction> | ||
<query_name>descr</query_name> | ||
</descr> | ||
<SensorTXPower> | ||
<name>SensorTXPower</name> | ||
<direction>output</direction> | ||
<query_name>tx</query_name> | ||
</SensorTXPower> | ||
<SensorRXPower> | ||
<name>SensorRXPower</name> | ||
<direction>output</direction> | ||
<query_name>rx</query_name> | ||
</SensorRXPower> | ||
<script_server>php</script_server> | ||
<arg_prepend>|host_hostname|:|host_id|:|host_snmp_version|:|host_snmp_port|:|host_snmp_timeout|:|host_ping_retries|:|host_max_oids|:|host_snmp_community|:|host_snmp_username|:|host_snmp_password|:|host_snmp_context|:|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|</arg_prepend> | ||
<arg_index>index</arg_index> | ||
<arg_query>query</arg_query> | ||
<arg_get>get</arg_get> | ||
<output_delimeter>:</output_delimeter> | ||
<index_order>sfpindex</index_order> | ||
|
||
</fields> | ||
<fields> | ||
<sfpindex> | ||
<name>SFP Index</name> | ||
<direction>input</direction> | ||
<query_name>sfpindex</query_name> | ||
</sfpindex> | ||
<status> | ||
<name>Operational status</name> | ||
<direction>input</direction> | ||
<query_name>status</query_name> | ||
</status> | ||
<interface> | ||
<name>Interface name</name> | ||
<direction>input</direction> | ||
<query_name>interface</query_name> | ||
</interface> | ||
<descr> | ||
<name>Interface Description</name> | ||
<direction>input</direction> | ||
<query_name>descr</query_name> | ||
</descr> | ||
<SensorTXPower> | ||
<name>SensorTXPower</name> | ||
<direction>output</direction> | ||
<query_name>tx</query_name> | ||
</SensorTXPower> | ||
<SensorRXPower> | ||
<name>SensorRXPower</name> | ||
<direction>output</direction> | ||
<query_name>rx</query_name> | ||
</SensorRXPower> | ||
</fields> | ||
</interface> |
Oops, something went wrong.