forked from fernandobrunelli/Zabbix-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Template Module Cisco CISCO-MEMORY-POOL-MIB SNMP.xml
122 lines (122 loc) · 6.38 KB
/
Template Module Cisco CISCO-MEMORY-POOL-MIB SNMP.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<groups>
<group>
<name>Templates/Modules</name>
</group>
</groups>
<templates>
<template>
<template>Template Module Cisco CISCO-MEMORY-POOL-MIB SNMP</template>
<name>Template Module Cisco CISCO-MEMORY-POOL-MIB SNMP</name>
<description>Template Cisco CISCO-MEMORY-POOL-MIB
MIBs used:
CISCO-MEMORY-POOL-MIB
Template tooling version used: 0.36</description>
<groups>
<group>
<name>Templates/Modules</name>
</group>
</groups>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<discovery_rules>
<discovery_rule>
<name>Memory Discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.48.1.1.1.2]</snmp_oid>
<key>memory.discovery</key>
<delay>1h</delay>
<description>Discovery of ciscoMemoryPoolTable, a table of memory pool monitoring entries.
http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html</description>
<item_prototypes>
<item_prototype>
<name>{#SNMPVALUE}: Free memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.9.9.48.1.1.1.6.{#SNMPINDEX}</snmp_oid>
<key>vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}]</key>
<history>7d</history>
<units>B</units>
<description>MIB: CISCO-MEMORY-POOL-MIB
Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool
Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#SNMPVALUE}: Used memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.9.9.48.1.1.1.5.{#SNMPINDEX}</snmp_oid>
<key>vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]</key>
<history>7d</history>
<units>B</units>
<description>MIB: CISCO-MEMORY-POOL-MIB
Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.
Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#SNMPVALUE}: Memory utilization</name>
<type>CALCULATED</type>
<key>vm.memory.util[vm.memory.util.{#SNMPINDEX}]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<params>last("vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]")/(last("vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}]")+last("vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]"))*100</params>
<description>Memory utilization in %</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{min(5m)}>{$MEMORY.UTIL.MAX}</expression>
<name>{#SNMPVALUE}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)</name>
<priority>AVERAGE</priority>
<description>The system is running out of free memory.</description>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>{#SNMPVALUE}: Memory utilization</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template Module Cisco CISCO-MEMORY-POOL-MIB SNMP</host>
<key>vm.memory.util[vm.memory.util.{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$MEMORY.UTIL.MAX}</macro>
<value>90</value>
</macro>
</macros>
</template>
</templates>
</zabbix_export>