62d2093b8d
- Total memory used by Python process? | Stack Overflow - http://stackoverflow.com/a/40173829/686105
111 lines
3.9 KiB
XML
111 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>3.0</version>
|
|
<date>2016-10-24T05:01:54Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>Zabbix Templates</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template Specific Process Memory Used</template>
|
|
<name>Template Specific Process Memory Used</name>
|
|
<description>custom monitoring for specific process.</description>
|
|
<groups>
|
|
<group>
|
|
<name>Zabbix Templates</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>Memory</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>Used memory of $1</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>memory_sum[python]</key>
|
|
<delay>60</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units>B</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>Sum the used memory of python process.</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Memory</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules/>
|
|
<macros/>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
</templates>
|
|
<graphs>
|
|
<graph>
|
|
<name>Specific Memory Used</name>
|
|
<width>900</width>
|
|
<height>200</height>
|
|
<yaxismin>0.0000</yaxismin>
|
|
<yaxismax>100.0000</yaxismax>
|
|
<show_work_period>1</show_work_period>
|
|
<show_triggers>1</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>0</ymin_type_1>
|
|
<ymax_type_1>0</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>Template Specific Process Memory Used</host>
|
|
<key>memory_sum[python]</key>
|
|
</item>
|
|
</graph_item>
|
|
</graph_items>
|
|
</graph>
|
|
</graphs>
|
|
</zabbix_export>
|