Configs/Templates/Templates Switche/Cisco Hardware CPU.xml

258 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.0</version>
<date>2018-11-27T09:37:29Z</date>
<groups>
<group>
<name>Templates Switche</name>
</group>
</groups>
<templates>
<template>
<template>Cisco Hardware CPU</template>
<name>Cisco Hardware CPU</name>
<description/>
<groups>
<group>
<name>Templates Switche</name>
</group>
</groups>
<applications>
<application>
<name>Cisco</name>
</application>
</applications>
<items/>
<discovery_rules>
<discovery_rule>
<name>Cisco CPU Discovery</name>
<type>4</type>
<snmp_community>{$SNMP_COM_SWITCHE}</snmp_community>
<snmp_oid>discovery[{#CPUID},1.3.6.1.4.1.9.9.109.1.1.1.1.2]</snmp_oid>
<key>cpmCPUTotalTable</key>
<delay>3600</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<delay_flex/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>0</evaltype>
<formula/>
<conditions/>
</filter>
<lifetime>1</lifetime>
<description>{#CPUID} --&gt; The physical entity can be a CPU chip, a group of CPUs, a CPU card etc. The exact type of this entity is described by its entPhysicalVendorType value.</description>
<item_prototypes>
<item_prototype>
<name>CPU - usage on core '{#CPUID}'</name>
<type>4</type>
<snmp_community>{$SNMP_COM_SWITCHE}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.9.9.109.1.1.1.1.8.{#SNMPINDEX}</snmp_oid>
<key>cpmCPUTotal5minRev[{#SNMPINDEX}]</key>
<delay>300</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>%</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>The overall CPU busy percentage in the last 5 minute period.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cisco</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Cisco Hardware CPU:cpmCPUTotal5minRev[{#SNMPINDEX}].min(#3)}&gt;{$CPU_PUSED_MAX_1:&quot;{#CPUID}&quot;}</expression>
<name>Cisco: 'CPU usage' on core '{#CPUID}' is high [{ITEM.LASTVALUE}]</name>
<url>http://www.cisco.com/c/en/us/support/docs/routers/10000-series-routers/15095-highcpu.html#anc0</url>
<status>1</status>
<priority>2</priority>
<description>- Check for a possible security issue. Commonly, high CPU utilization is caused by a security issue, such as a worm or virus operating in your network. This is especially likely to be the cause if there have not been recent changes to the network. Usually, a configuration change, such as adding additional lines to your access lists can mitigate the effects of this problem. Cisco Product Security Advisories and Notices contains information on detection of the most likely causes and specific workarounds.&#13;
- Make sure all debugging commands in your router are turned off by issuing the undebug all or no debug all commands. For more information on the use of debugging commands, refer to Using Debug Commands.&#13;
- Are you able to issue show commands on the router? If yes, start collecting more information immediately, using these show commands.&#13;
- Is the router inaccessible? Can you reproduce this problem? If yes, power-cycle the router and, before reproducing the problem, configure the scheduler interval 500 command. This schedules low priority processes to run every 500 milliseconds, which provides time for you to run some commands, even if CPU usage is at 100 percent. On Cisco 7200 and Cisco 7500 Series Routers, use the scheduler allocate 3000 1000 command.&#13;
- Does the router show symptoms of high CPU utilization at brief and unpredictable intervals? If yes, periodically collect the output of the show processes cpu command, which shows if the high CPU utilization is caused by interrupts or by a certain process. Use this UNIX script and, based on the first findings, modify the script to collect data needed for further investigation of the issue.&#13;
&#13;
The overall CPU busy percentage.</description>
<type>0</type>
<dependencies>
<dependency>
<name>Cisco: 'CPU usage' on core '{#CPUID}' is too high [{ITEM.LASTVALUE}]</name>
<expression>{Cisco Hardware CPU:cpmCPUTotal5minRev[{#SNMPINDEX}].min(#3)}&gt;{$CPU_PUSED_MAX_2:&quot;{#CPUID}&quot;}</expression>
</dependency>
</dependencies>
</trigger_prototype>
<trigger_prototype>
<expression>{Cisco Hardware CPU:cpmCPUTotal5minRev[{#SNMPINDEX}].min(#3)}&gt;{$CPU_PUSED_MAX_2:&quot;{#CPUID}&quot;}</expression>
<name>Cisco: 'CPU usage' on core '{#CPUID}' is too high [{ITEM.LASTVALUE}]</name>
<url>http://www.cisco.com/c/en/us/support/docs/routers/10000-series-routers/15095-highcpu.html#anc0</url>
<status>1</status>
<priority>3</priority>
<description>- Check for a possible security issue. Commonly, high CPU utilization is caused by a security issue, such as a worm or virus operating in your network. This is especially likely to be the cause if there have not been recent changes to the network. Usually, a configuration change, such as adding additional lines to your access lists can mitigate the effects of this problem. Cisco Product Security Advisories and Notices contains information on detection of the most likely causes and specific workarounds.&#13;
- Make sure all debugging commands in your router are turned off by issuing the undebug all or no debug all commands. For more information on the use of debugging commands, refer to Using Debug Commands.&#13;
- Are you able to issue show commands on the router? If yes, start collecting more information immediately, using these show commands.&#13;
- Is the router inaccessible? Can you reproduce this problem? If yes, power-cycle the router and, before reproducing the problem, configure the scheduler interval 500 command. This schedules low priority processes to run every 500 milliseconds, which provides time for you to run some commands, even if CPU usage is at 100 percent. On Cisco 7200 and Cisco 7500 Series Routers, use the scheduler allocate 3000 1000 command.&#13;
- Does the router show symptoms of high CPU utilization at brief and unpredictable intervals? If yes, periodically collect the output of the show processes cpu command, which shows if the high CPU utilization is caused by interrupts or by a certain process. Use this UNIX script and, based on the first findings, modify the script to collect data needed for further investigation of the issue.&#13;
&#13;
The overall CPU busy percentage.</description>
<type>0</type>
<dependencies/>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes>
<graph_prototype>
<name>CPU usage on core '{#CPUID}'</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>1</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>1A7C11</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cisco Hardware CPU</host>
<key>cpmCPUTotal5minRev[{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
<host_prototypes/>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$CPU_PUSED_MAX_1}</macro>
<value>85</value>
</macro>
<macro>
<macro>{$CPU_PUSED_MAX_2}</macro>
<value>95</value>
</macro>
<macro>
<macro>{$CRD_SNMPV2_R}</macro>
<value>FillMeIn</value>
</macro>
<macro>
<macro>{$MEM_FREE_MIN_1}</macro>
<value>5000000</value>
</macro>
<macro>
<macro>{$MEM_FREE_MIN_1:&quot;I/O&quot;}</macro>
<value>1400000</value>
</macro>
<macro>
<macro>{$MEM_FREE_MIN_1:&quot;SRAM&quot;}</macro>
<value>3000</value>
</macro>
<macro>
<macro>{$MEM_FREE_MIN_2}</macro>
<value>1000000</value>
</macro>
<macro>
<macro>{$MEM_FREE_MIN_2:&quot;I/O&quot;}</macro>
<value>500000</value>
</macro>
<macro>
<macro>{$MEM_FREE_MIN_2:&quot;SRAM&quot;}</macro>
<value>1000</value>
</macro>
<macro>
<macro>{$SNMP_COMMUNITY}</macro>
<value>FillMeIn</value>
</macro>
</macros>
<templates/>
<screens>
<screen>
<name>Performance screen</name>
<hsize>2</hsize>
<vsize>8</vsize>
<screen_items>
<screen_item>
<resourcetype>20</resourcetype>
<width>500</width>
<height>100</height>
<x>0</x>
<y>1</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>0</valign>
<halign>0</halign>
<style>0</style>
<url/>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<resource>
<name>CPU usage on core '{#CPUID}'</name>
<host>Cisco Hardware CPU</host>
</resource>
<max_columns>2</max_columns>
<application/>
</screen_item>
</screen_items>
</screen>
</screens>
</template>
</templates>
</zabbix_export>