<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export><version>5.0</version><date>2021-11-21T21:33:16Z</date><groups><group><name>Templates</name></group></groups><templates><template><template>App e2guardian - Active</template><name>App e2guardian - Active</name><description>## Description

https://github.com/e2guardian/e2guardian/blob/master/notes/dstats_format USER.MACRO={$E2GUARDIAN_DSTATS} UserParameter=e2guardian[*],tail -1 $1 | cut -f $2

## Overview

Introduction
============


This is my approach for a performance monitoring Template of [E2guardian](http://e2guardian.org/).


This Template was created on and for Zabbix 3.4 and E2Guardian 4.1.x on Debian 9 Stretch.


Installation
------------


Please check the GitHub Page for latest version and instructions. 


Changes
-------


 


* February 2018: initial commit.
* 03 April 2018: Switch to Zabbix agent (active) &amp; converted s


## Author

Marco Hofmann

</description><groups><group><name>Templates</name></group></groups><applications><application><name>e2guardian</name></application></applications><items><item><name>e2guardian - timestamp of dstats dump</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},1]</key><delay>5m</delay><history>7d</history><trends>180d</trends><units>unixtime</units><description>1. Time  - in unix format</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - httpworkers total</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},2]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>2. httpw - Number of httpworker threads running</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - httpworkers busy</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},3]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>3. busy - Number of httpworker threads busy handling connections at current time</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - httpworkers queue</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},4]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>4. httpwQ - Number of connections waiting in queue for a worker thread.   &#13;
   In normal use this will be 0 (and on occasion 1 or 2) but will increase once &#13;
   all worker threads are busy.   Lowish numbers are OK for transitory peaks.  &#13;
   High numbers indicate an overloaded system.   If there is still memory and &#13;
   cpu available, then httpworkers may be increased.</description><applications><application><name>e2guardian</name></application></applications><triggers><trigger><expression>{min(30m)}&gt;0</expression><name>e2guardian - connections waiting in queue for a worker thread</name><priority>WARNING</priority></trigger></triggers></item><item><name>e2guardian - log queue</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},5]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>5. logQ - Number of messages waiting to be logged to disk.   In normal use 0.  &#13;
   An increase in number may indicate system overloading, but should not &#13;
   otherwise affect performance.</description><applications><application><name>e2guardian</name></application></applications><triggers><trigger><expression>{min(30m)}&gt;0</expression><name>e2guardian - messages waiting to be logged to disk</name><priority>WARNING</priority></trigger></triggers></item><item><name>e2guardian - total sum connections each 5 minutes</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},6]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>6. conx - number of connections handled since last stats line.</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - connections per second</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},7]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>7. conx/s - average connections per sec over period since last stats line.</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - requests since last stats dump</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},8]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>8. reqs - indication of number of requests handled since last stats line.  &#13;
   Only an indication as requests made over https tunnels (i.e. non-MITM) cannot&#13;
   be counted, so each https tunnel is counted as one request.</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - requests per second</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},9]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>9. reqs/s - average requests per sec over period since last stats line.</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - maximum number file descriptor in use</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},10]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>10. maxfd - Indication of maximum number file descriptor in use</description><applications><application><name>e2guardian</name></application></applications></item><item><name>e2guardian - Number of List Option Containers in use</name><type>ZABBIX_ACTIVE</type><key>e2guardian[{$E2GUARDIAN_DSTATS},11]</key><delay>5m</delay><history>7d</history><trends>180d</trends><description>11. LCcnt - Number of List Option Containers in use. A new List Option Container&#13;
   is created at start up and on gentle restart.  Old containers are deleted&#13;
   once all connections still using it have finished.  Normally figure will be &#13;
   one, but may rise after a gentle restart(s) and should return to one after a &#13;
   period of time.</description><applications><application><name>e2guardian</name></application></applications></item></items><macros><macro><macro>{$E2GUARDIAN_DSTATS}</macro><value>/var/log/e2guardian/dstats.log</value></macro></macros></template></templates><graphs><graph><name>e2guardian - httpworkers</name><width>1200</width><height>300</height><ymin_type_1>FIXED</ymin_type_1><ymax_type_1>ITEM</ymax_type_1><ymax_item_1><host>App e2guardian - Active</host><key>e2guardian[{$E2GUARDIAN_DSTATS},2]</key></ymax_item_1><graph_items><graph_item><color>1A7C11</color><item><host>App e2guardian - Active</host><key>e2guardian[{$E2GUARDIAN_DSTATS},3]</key></item></graph_item></graph_items></graph></graphs></zabbix_export>
