Project

General

Profile

« Previous | Next » 

Revision 96ba0c24

Added by Marc Dequènes over 7 years ago

[sync] updated OS, new System and SNMP templates

View differences:

agentd.conf
1
UserParameter=vfs.dev.discovery,list= ;for disk in $(ls /dev/[hsv]d[a-z] 2>/dev/null); do list=$list',{"{#DISK}":"'$disk'"}'; done; echo '{"data":['${list#,}']}'
2
UserParameter=vfs.dev.sector_size[*],cat /sys/block/$$(echo "$1" | tr -d "/.")/queue/hw_sector_size
3

  
4
UserParameter=random.poolsize,cat /proc/sys/kernel/random/poolsize
5
UserParameter=random.entropy_available,cat /proc/sys/kernel/random/entropy_avail
6

  
7
UserParameter=smart.phydev.ata.discovery,list= ; while read line; do disk=$(echo $line | cut -d: -f1); list=$list',{"{#DISK}":"'$disk'"}'; done </etc/zabbix/smart_phydev_ata; echo '{"data":['${list#,}']}'
8
UserParameter=smart.phydev.ata.attr[*],sudo /usr/local/sbin/stat_smart_ata "$1" "$2"
9
UserParameter=smart.phydev.sas.discovery,list= ; while read line; do disk=$(echo $line | cut -d: -f1); list=$list',{"{#DISK}":"'$disk'"}'; done </etc/zabbix/smart_phydev_sas; echo '{"data":['${list#,}']}'
10
UserParameter=smart.phydev.sas.attr[*],sudo /usr/local/sbin/stat_smart_sas "$1" "$2"
11

  
12
UserParameter=3ware.units.disco,sudo /usr/local/sbin/stat_3ware_units_disco
13
UserParameter=3ware.unit.status[*],sudo /usr/local/sbin/stat_3ware_unit_status "$1"
14

  
15
UserParameter=bind9.stats[*],/usr/local/sbin/stat_bind9 "$1"
16

  
17
UserParameter=postfix.queue_size[*],sudo stat_postfix_queue_size $1
18

  
19
UserParameter=apache.status[*],/usr/local/sbin/stat_apache "$1"
20

  
21
UserParameter=mysql.status[*],/usr/local/sbin/stat_mysql_status "$1"
22
UserParameter=mysql.variables[*],/usr/local/sbin/stat_mysql_variables "$1"
23
UserParameter=mysql.ping,mysqladmin --defaults-file=/etc/mysql/debian.cnf ping | grep alive | wc -l
24

  
25
UserParameter=openldap.stats[*],sudo /usr/local/sbin/stat_openldap "$1"
26

  
27
UserParameter=proftpd.users.num,NB=$(ftpwho | grep -E 'users?$' | sed -r 's/^.*([0-9]+) users?/\1/'); echo ${NB:-0}
28

  
29
UserParameter=ntpd.stat[*],/usr/local/sbin/stat_ntpd $1
30

  
scripts/stat_3ware_unit_status
1
#!/bin/sh
2

  
3
UNIT=${1:-noexistent}
4

  
5
STATE=$(tw_cli "${UNIT}" show | grep -E "^u[0-9]+ " | awk '{print $3}')
6

  
7
if [ "${STATE}" = "OK" ]; then
8
  echo 1
9
else
10
  echo 0
11
fi
scripts/stat_3ware_units_disco
1
#!/bin/sh
2

  
3
list=
4
for CONTROLLER in $(tw_cli show | grep -E "^c[0-9]+" | cut -f1 -d" "); do
5
  for UNIT in $(tw_cli /${CONTROLLER} show | grep -E "^u[0-9]+" | cut -f1 -d" "); do
6
    list=$list',{"{#UNIT}":"'/${CONTROLLER}/${UNIT}'"}'
7
  done
8
done
9

  
10
echo '{"data":['${list#,}']}'
scripts/stat_pgsql_find_dbname
1
#!/bin/bash
2

  
3
# Get list of Database Name which you want to monitor.
4
# The default settings are excepted template databases(template0/template1).
5
#
6
# :Example
7
#
8
# If you want to monitor "foo" and "bar" databases, you set the GETDB as
9
# GETDB="select datname from pg_database where datname in ('foo','bar');"
10

  
11
GETDB="select datname from pg_database where datistemplate = 'f';"
12

  
13
for dbname in $(psql -q -A -d $4 -t -c "${GETDB}"); do
14
    dblist="$dblist,"'{"{#DBNAME}":"'$dbname'"}'
15
done
16
echo '{"data":['${dblist#,}' ]}'
scripts/stat_pgsql_find_dbname_table
1
#!/bin/bash
2

  
3
# This low level discovery rules are disabled by deafult.
4
# For using this rules, you set the status to enable from 
5
# [Configuration]->[Hosts]->[Discovery]->[DB and Table Name List]
6
# at Zabbix WEB.
7

  
8
# Get list of Database Name which you want to monitor.
9
# The default settings are excepted template databases(template0/template1).
10
# 
11
# :Customize Example
12
#
13
# For "foo" and "bar" databases, set the GETDB as
14
# GETDB="select datname from pg_database where datname in ('foo','bar');"
15
 
16
GETDB="select datname from pg_database where datistemplate = 'f';"
17

  
18
# Get List of Table Name
19
# Using the default setting, Zabbix make a discovery "ALL" user tables.
20
# If you want to specify the tables, you can change the $GETTABLE query.
21
# 
22
# :Customize Example
23
#
24
# For pgbench tables, set the GETTABLE as 
25
#GETTABLE="select \
26
#            row_to_json(t) \
27
#          from (
28
#            select current_database() as "{#DBNAME}\",schemaname as \"{#SCHEMANAME}\",tablename as \"{#TABLENAME}\" \
29
#            from \
30
#              pg_tables \
31
#            where \
32
#              schemaname not in ('pg_catalog','information_schema') \
33
#            and \
34
#              tablename in ('pgbench_accounts','pgbench_branches','pgbench_history','pgbench_tellers') \
35
#           ) as t" 
36
 
37

  
38
GETTABLE="select row_to_json(t) from (select current_database() as \"{#DBNAME}\",schemaname as \"{#SCHEMANAME}\",tablename as \"{#TABLENAME}\" from pg_tables where schemaname not in ('pg_catalog','information_schema')) as t"
39

  
40
for dbname in $(psql -q -A -d $4 -t -c "${GETDB}"); do
41
    for tablename in $(psql -q -A -d $dbname -t -c "${GETTABLE}"); do
42
    dblist="$dblist,"$tablename
43
    done
44
done
45
echo '{"data":['${dblist#,}' ]}'
scripts/stat_smart_ata
1
#!/bin/sh
2

  
3
DEV=${1:-noexistent}
4
ATTR=${2:-noexistent}
5

  
6
opts=$(grep "^$1:" /etc/zabbix/smart_phydev_ata | cut -d: -s -f 2)
7

  
8
CACHE_FILE=/tmp/zbx-smart_ata_${DEV}
9
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
10
	smartctl -A $opts >"${CACHE_FILE}"
11

  
12
cat "${CACHE_FILE}" | awk -vval="${ATTR}" '{ if ($2 == val) { print $10 } }'
13

  
scripts/stat_smart_sas
1
#!/bin/sh
2

  
3
DEV=${1:-noexistent}
4
ATTR=${2:-noexistent}
5

  
6
opts=$(grep "^$1:" /etc/zabbix/smart_phydev_sas | cut -d: -s -f 2)
7

  
8
CACHE_FILE=/tmp/zbx-smart_sas_${DEV}
9
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
10
	smartctl -A $opts >"${CACHE_FILE}"
11

  
12
cat "${CACHE_FILE}" | perl -ne "print \$1 if m/^${ATTR}:\s+([\d.]+)/"
13

  
templates/Template_App_Backup_Bacula-Dir.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:37:39Z</date>
5
    <groups>
6
        <group>
7
            <name>GNU/Linux servers</name>
8
        </group>
9
        <group>
10
            <name>Servers</name>
11
        </group>
12
        <group>
13
            <name>Templates</name>
14
        </group>
15
    </groups>
16
    <templates>
17
        <template>
18
            <template>Template App Backup Bacula-Dir</template>
19
            <name>Template App Backup Bacula-Dir</name>
20
            <groups>
21
                <group>
22
                    <name>GNU/Linux servers</name>
23
                </group>
24
                <group>
25
                    <name>Servers</name>
26
                </group>
27
                <group>
28
                    <name>Templates</name>
29
                </group>
30
            </groups>
31
            <applications>
32
                <application>
33
                    <name>Bacula</name>
34
                </application>
35
            </applications>
36
            <items>
37
                <item>
38
                    <name>Number of running processes bacula-dir</name>
39
                    <type>0</type>
40
                    <snmp_community/>
41
                    <multiplier>0</multiplier>
42
                    <snmp_oid/>
43
                    <key>proc.num[bacula-dir]</key>
44
                    <delay>60</delay>
45
                    <history>7</history>
46
                    <trends>365</trends>
47
                    <status>0</status>
48
                    <value_type>3</value_type>
49
                    <allowed_hosts/>
50
                    <units/>
51
                    <delta>0</delta>
52
                    <snmpv3_contextname/>
53
                    <snmpv3_securityname/>
54
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
56
                    <snmpv3_authpassphrase/>
57
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
58
                    <snmpv3_privpassphrase/>
59
                    <formula>1</formula>
60
                    <delay_flex/>
61
                    <params/>
62
                    <ipmi_sensor/>
63
                    <data_type>0</data_type>
64
                    <authtype>0</authtype>
65
                    <username/>
66
                    <password/>
67
                    <publickey/>
68
                    <privatekey/>
69
                    <port/>
70
                    <description/>
71
                    <inventory_link>0</inventory_link>
72
                    <applications>
73
                        <application>
74
                            <name>Bacula</name>
75
                        </application>
76
                    </applications>
77
                    <valuemap/>
78
                    <logtimefmt/>
79
                </item>
80
            </items>
81
            <discovery_rules/>
82
            <macros/>
83
            <templates/>
84
            <screens/>
85
        </template>
86
    </templates>
87
    <triggers>
88
        <trigger>
89
            <expression>{Template App Backup Bacula-Dir:proc.num[bacula-dir].last(0)}&lt;1</expression>
90
            <name>Bacula-Dir is not running on {HOSTNAME}</name>
91
            <url/>
92
            <status>0</status>
93
            <priority>4</priority>
94
            <description/>
95
            <type>0</type>
96
            <dependencies/>
97
        </trigger>
98
    </triggers>
99
</zabbix_export>
templates/Template_App_Backup_Bacula-FD.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:40:12Z</date>
5
    <groups>
6
        <group>
7
            <name>GNU/Linux servers</name>
8
        </group>
9
        <group>
10
            <name>Servers</name>
11
        </group>
12
        <group>
13
            <name>Templates</name>
14
        </group>
15
    </groups>
16
    <templates>
17
        <template>
18
            <template>Template App Backup Bacula-FD</template>
19
            <name>Template App Backup Bacula-FD</name>
20
            <groups>
21
                <group>
22
                    <name>GNU/Linux servers</name>
23
                </group>
24
                <group>
25
                    <name>Servers</name>
26
                </group>
27
                <group>
28
                    <name>Templates</name>
29
                </group>
30
            </groups>
31
            <applications>
32
                <application>
33
                    <name>Bacula</name>
34
                </application>
35
            </applications>
36
            <items>
37
                <item>
38
                    <name>Number of running processes bacula-fd</name>
39
                    <type>0</type>
40
                    <snmp_community/>
41
                    <multiplier>0</multiplier>
42
                    <snmp_oid/>
43
                    <key>proc.num[bacula-fd]</key>
44
                    <delay>60</delay>
45
                    <history>7</history>
46
                    <trends>365</trends>
47
                    <status>0</status>
48
                    <value_type>3</value_type>
49
                    <allowed_hosts/>
50
                    <units/>
51
                    <delta>0</delta>
52
                    <snmpv3_contextname/>
53
                    <snmpv3_securityname/>
54
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
56
                    <snmpv3_authpassphrase/>
57
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
58
                    <snmpv3_privpassphrase/>
59
                    <formula>1</formula>
60
                    <delay_flex/>
61
                    <params/>
62
                    <ipmi_sensor/>
63
                    <data_type>0</data_type>
64
                    <authtype>0</authtype>
65
                    <username/>
66
                    <password/>
67
                    <publickey/>
68
                    <privatekey/>
69
                    <port/>
70
                    <description/>
71
                    <inventory_link>0</inventory_link>
72
                    <applications>
73
                        <application>
74
                            <name>Bacula</name>
75
                        </application>
76
                    </applications>
77
                    <valuemap/>
78
                    <logtimefmt/>
79
                </item>
80
            </items>
81
            <discovery_rules/>
82
            <macros/>
83
            <templates/>
84
            <screens/>
85
        </template>
86
    </templates>
87
    <triggers>
88
        <trigger>
89
            <expression>{Template App Backup Bacula-FD:proc.num[bacula-fd].last(0)}&lt;1</expression>
90
            <name>Bacula-FD is not running on {HOSTNAME}</name>
91
            <url/>
92
            <status>0</status>
93
            <priority>4</priority>
94
            <description/>
95
            <type>0</type>
96
            <dependencies/>
97
        </trigger>
98
    </triggers>
99
</zabbix_export>
templates/Template_App_Backup_Bacula-SD.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:40:44Z</date>
5
    <groups>
6
        <group>
7
            <name>GNU/Linux servers</name>
8
        </group>
9
        <group>
10
            <name>Servers</name>
11
        </group>
12
        <group>
13
            <name>Templates</name>
14
        </group>
15
    </groups>
16
    <templates>
17
        <template>
18
            <template>Template App Backup Bacula-SD</template>
19
            <name>Template App Backup Bacula-SD</name>
20
            <groups>
21
                <group>
22
                    <name>GNU/Linux servers</name>
23
                </group>
24
                <group>
25
                    <name>Servers</name>
26
                </group>
27
                <group>
28
                    <name>Templates</name>
29
                </group>
30
            </groups>
31
            <applications>
32
                <application>
33
                    <name>Bacula</name>
34
                </application>
35
            </applications>
36
            <items>
37
                <item>
38
                    <name>Number of running processes bacula-sd</name>
39
                    <type>0</type>
40
                    <snmp_community/>
41
                    <multiplier>0</multiplier>
42
                    <snmp_oid/>
43
                    <key>proc.num[bacula-sd]</key>
44
                    <delay>60</delay>
45
                    <history>7</history>
46
                    <trends>365</trends>
47
                    <status>0</status>
48
                    <value_type>3</value_type>
49
                    <allowed_hosts/>
50
                    <units/>
51
                    <delta>0</delta>
52
                    <snmpv3_contextname/>
53
                    <snmpv3_securityname/>
54
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
56
                    <snmpv3_authpassphrase/>
57
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
58
                    <snmpv3_privpassphrase/>
59
                    <formula>1</formula>
60
                    <delay_flex/>
61
                    <params/>
62
                    <ipmi_sensor/>
63
                    <data_type>0</data_type>
64
                    <authtype>0</authtype>
65
                    <username/>
66
                    <password/>
67
                    <publickey/>
68
                    <privatekey/>
69
                    <port/>
70
                    <description/>
71
                    <inventory_link>0</inventory_link>
72
                    <applications>
73
                        <application>
74
                            <name>Bacula</name>
75
                        </application>
76
                    </applications>
77
                    <valuemap/>
78
                    <logtimefmt/>
79
                </item>
80
            </items>
81
            <discovery_rules/>
82
            <macros/>
83
            <templates/>
84
            <screens/>
85
        </template>
86
    </templates>
87
    <triggers>
88
        <trigger>
89
            <expression>{Template App Backup Bacula-SD:proc.num[bacula-sd].last(0)}&lt;1</expression>
90
            <name>Bacula-SD is not running on {HOSTNAME}</name>
91
            <url/>
92
            <status>0</status>
93
            <priority>4</priority>
94
            <description/>
95
            <type>0</type>
96
            <dependencies/>
97
        </trigger>
98
    </triggers>
99
</zabbix_export>
templates/Template_App_DNS_Bind9.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:45:35Z</date>
5
    <groups>
6
        <group>
7
            <name>GNU/Linux servers</name>
8
        </group>
9
        <group>
10
            <name>Servers</name>
11
        </group>
12
        <group>
13
            <name>Templates</name>
14
        </group>
15
    </groups>
16
    <templates>
17
        <template>
18
            <template>Template App DNS Bind9</template>
19
            <name>Template App DNS Bind9</name>
20
            <groups>
21
                <group>
22
                    <name>GNU/Linux servers</name>
23
                </group>
24
                <group>
25
                    <name>Servers</name>
26
                </group>
27
                <group>
28
                    <name>Templates</name>
29
                </group>
30
            </groups>
31
            <applications>
32
                <application>
33
                    <name>Bind9</name>
34
                </application>
35
            </applications>
36
            <items>
37
                <item>
38
                    <name>Bind9 IPv4 requests</name>
39
                    <type>0</type>
40
                    <snmp_community/>
41
                    <multiplier>0</multiplier>
42
                    <snmp_oid/>
43
                    <key>bind9.stats[ipv4]</key>
44
                    <delay>300</delay>
45
                    <history>7</history>
46
                    <trends>365</trends>
47
                    <status>0</status>
48
                    <value_type>3</value_type>
49
                    <allowed_hosts>localhost</allowed_hosts>
50
                    <units/>
51
                    <delta>1</delta>
52
                    <snmpv3_contextname/>
53
                    <snmpv3_securityname/>
54
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
56
                    <snmpv3_authpassphrase/>
57
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
58
                    <snmpv3_privpassphrase/>
59
                    <formula>0</formula>
60
                    <delay_flex/>
61
                    <params/>
62
                    <ipmi_sensor/>
63
                    <data_type>0</data_type>
64
                    <authtype>0</authtype>
65
                    <username/>
66
                    <password/>
67
                    <publickey/>
68
                    <privatekey/>
69
                    <port/>
70
                    <description/>
71
                    <inventory_link>0</inventory_link>
72
                    <applications>
73
                        <application>
74
                            <name>Bind9</name>
75
                        </application>
76
                    </applications>
77
                    <valuemap/>
78
                    <logtimefmt/>
79
                </item>
80
                <item>
81
                    <name>Bind9 IPv6 requests</name>
82
                    <type>0</type>
83
                    <snmp_community/>
84
                    <multiplier>0</multiplier>
85
                    <snmp_oid/>
86
                    <key>bind9.stats[ipv6]</key>
87
                    <delay>300</delay>
88
                    <history>7</history>
89
                    <trends>365</trends>
90
                    <status>0</status>
91
                    <value_type>3</value_type>
92
                    <allowed_hosts>localhost</allowed_hosts>
93
                    <units/>
94
                    <delta>1</delta>
95
                    <snmpv3_contextname/>
96
                    <snmpv3_securityname/>
97
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
98
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
99
                    <snmpv3_authpassphrase/>
100
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
101
                    <snmpv3_privpassphrase/>
102
                    <formula>0</formula>
103
                    <delay_flex/>
104
                    <params/>
105
                    <ipmi_sensor/>
106
                    <data_type>0</data_type>
107
                    <authtype>0</authtype>
108
                    <username/>
109
                    <password/>
110
                    <publickey/>
111
                    <privatekey/>
112
                    <port/>
113
                    <description/>
114
                    <inventory_link>0</inventory_link>
115
                    <applications>
116
                        <application>
117
                            <name>Bind9</name>
118
                        </application>
119
                    </applications>
120
                    <valuemap/>
121
                    <logtimefmt/>
122
                </item>
123
                <item>
124
                    <name>Bind9 NXDOMAIN answers</name>
125
                    <type>0</type>
126
                    <snmp_community/>
127
                    <multiplier>0</multiplier>
128
                    <snmp_oid/>
129
                    <key>bind9.stats[nxdomain]</key>
130
                    <delay>300</delay>
131
                    <history>7</history>
132
                    <trends>365</trends>
133
                    <status>0</status>
134
                    <value_type>3</value_type>
135
                    <allowed_hosts>localhost</allowed_hosts>
136
                    <units/>
137
                    <delta>1</delta>
138
                    <snmpv3_contextname/>
139
                    <snmpv3_securityname/>
140
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
141
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
142
                    <snmpv3_authpassphrase/>
143
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
144
                    <snmpv3_privpassphrase/>
145
                    <formula>0</formula>
146
                    <delay_flex/>
147
                    <params/>
148
                    <ipmi_sensor/>
149
                    <data_type>0</data_type>
150
                    <authtype>0</authtype>
151
                    <username/>
152
                    <password/>
153
                    <publickey/>
154
                    <privatekey/>
155
                    <port/>
156
                    <description/>
157
                    <inventory_link>0</inventory_link>
158
                    <applications>
159
                        <application>
160
                            <name>Bind9</name>
161
                        </application>
162
                    </applications>
163
                    <valuemap/>
164
                    <logtimefmt/>
165
                </item>
166
                <item>
167
                    <name>Bind9 NXRRSET answers</name>
168
                    <type>0</type>
169
                    <snmp_community/>
170
                    <multiplier>0</multiplier>
171
                    <snmp_oid/>
172
                    <key>bind9.stats[nxrrset]</key>
173
                    <delay>300</delay>
174
                    <history>7</history>
175
                    <trends>365</trends>
176
                    <status>0</status>
177
                    <value_type>3</value_type>
178
                    <allowed_hosts>localhost</allowed_hosts>
179
                    <units/>
180
                    <delta>1</delta>
181
                    <snmpv3_contextname/>
182
                    <snmpv3_securityname/>
183
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
184
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
185
                    <snmpv3_authpassphrase/>
186
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
187
                    <snmpv3_privpassphrase/>
188
                    <formula>0</formula>
189
                    <delay_flex/>
190
                    <params/>
191
                    <ipmi_sensor/>
192
                    <data_type>0</data_type>
193
                    <authtype>0</authtype>
194
                    <username/>
195
                    <password/>
196
                    <publickey/>
197
                    <privatekey/>
198
                    <port/>
199
                    <description/>
200
                    <inventory_link>0</inventory_link>
201
                    <applications>
202
                        <application>
203
                            <name>Bind9</name>
204
                        </application>
205
                    </applications>
206
                    <valuemap/>
207
                    <logtimefmt/>
208
                </item>
209
                <item>
210
                    <name>Bind9 recursions</name>
211
                    <type>0</type>
212
                    <snmp_community/>
213
                    <multiplier>0</multiplier>
214
                    <snmp_oid/>
215
                    <key>bind9.stats[recursion]</key>
216
                    <delay>300</delay>
217
                    <history>7</history>
218
                    <trends>365</trends>
219
                    <status>0</status>
220
                    <value_type>3</value_type>
221
                    <allowed_hosts>localhost</allowed_hosts>
222
                    <units/>
223
                    <delta>1</delta>
224
                    <snmpv3_contextname/>
225
                    <snmpv3_securityname/>
226
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
227
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
228
                    <snmpv3_authpassphrase/>
229
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
230
                    <snmpv3_privpassphrase/>
231
                    <formula>0</formula>
232
                    <delay_flex/>
233
                    <params/>
234
                    <ipmi_sensor/>
235
                    <data_type>0</data_type>
236
                    <authtype>0</authtype>
237
                    <username/>
238
                    <password/>
239
                    <publickey/>
240
                    <privatekey/>
241
                    <port/>
242
                    <description/>
243
                    <inventory_link>0</inventory_link>
244
                    <applications>
245
                        <application>
246
                            <name>Bind9</name>
247
                        </application>
248
                    </applications>
249
                    <valuemap/>
250
                    <logtimefmt/>
251
                </item>
252
                <item>
253
                    <name>Bind9 referrals</name>
254
                    <type>0</type>
255
                    <snmp_community/>
256
                    <multiplier>0</multiplier>
257
                    <snmp_oid/>
258
                    <key>bind9.stats[referral]</key>
259
                    <delay>300</delay>
260
                    <history>7</history>
261
                    <trends>365</trends>
262
                    <status>0</status>
263
                    <value_type>3</value_type>
264
                    <allowed_hosts>localhost</allowed_hosts>
265
                    <units/>
266
                    <delta>1</delta>
267
                    <snmpv3_contextname/>
268
                    <snmpv3_securityname/>
269
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
270
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
271
                    <snmpv3_authpassphrase/>
272
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
273
                    <snmpv3_privpassphrase/>
274
                    <formula>0</formula>
275
                    <delay_flex/>
276
                    <params/>
277
                    <ipmi_sensor/>
278
                    <data_type>0</data_type>
279
                    <authtype>0</authtype>
280
                    <username/>
281
                    <password/>
282
                    <publickey/>
283
                    <privatekey/>
284
                    <port/>
285
                    <description/>
286
                    <inventory_link>0</inventory_link>
287
                    <applications>
288
                        <application>
289
                            <name>Bind9</name>
290
                        </application>
291
                    </applications>
292
                    <valuemap/>
293
                    <logtimefmt/>
294
                </item>
295
                <item>
296
                    <name>Bind9 successful answers</name>
297
                    <type>0</type>
298
                    <snmp_community/>
299
                    <multiplier>0</multiplier>
300
                    <snmp_oid/>
301
                    <key>bind9.stats[success]</key>
302
                    <delay>300</delay>
303
                    <history>7</history>
304
                    <trends>365</trends>
305
                    <status>0</status>
306
                    <value_type>3</value_type>
307
                    <allowed_hosts>localhost</allowed_hosts>
308
                    <units/>
309
                    <delta>1</delta>
310
                    <snmpv3_contextname/>
311
                    <snmpv3_securityname/>
312
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
313
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
314
                    <snmpv3_authpassphrase/>
315
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
316
                    <snmpv3_privpassphrase/>
317
                    <formula>0</formula>
318
                    <delay_flex/>
319
                    <params/>
320
                    <ipmi_sensor/>
321
                    <data_type>0</data_type>
322
                    <authtype>0</authtype>
323
                    <username/>
324
                    <password/>
325
                    <publickey/>
326
                    <privatekey/>
327
                    <port/>
328
                    <description/>
329
                    <inventory_link>0</inventory_link>
330
                    <applications>
331
                        <application>
332
                            <name>Bind9</name>
333
                        </application>
334
                    </applications>
335
                    <valuemap/>
336
                    <logtimefmt/>
337
                </item>
338
                <item>
339
                    <name>Number of running processes named</name>
340
                    <type>0</type>
341
                    <snmp_community/>
342
                    <multiplier>0</multiplier>
343
                    <snmp_oid/>
344
                    <key>proc.num[named]</key>
345
                    <delay>60</delay>
346
                    <history>7</history>
347
                    <trends>365</trends>
348
                    <status>0</status>
349
                    <value_type>3</value_type>
350
                    <allowed_hosts/>
351
                    <units/>
352
                    <delta>0</delta>
353
                    <snmpv3_contextname/>
354
                    <snmpv3_securityname/>
355
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
356
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
357
                    <snmpv3_authpassphrase/>
358
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
359
                    <snmpv3_privpassphrase/>
360
                    <formula>1</formula>
361
                    <delay_flex/>
362
                    <params/>
363
                    <ipmi_sensor/>
364
                    <data_type>0</data_type>
365
                    <authtype>0</authtype>
366
                    <username/>
367
                    <password/>
368
                    <publickey/>
369
                    <privatekey/>
370
                    <port/>
371
                    <description/>
372
                    <inventory_link>0</inventory_link>
373
                    <applications>
374
                        <application>
375
                            <name>Bind9</name>
376
                        </application>
377
                    </applications>
378
                    <valuemap/>
379
                    <logtimefmt/>
380
                </item>
381
            </items>
382
            <discovery_rules/>
383
            <macros/>
384
            <templates/>
385
            <screens>
386
                <screen>
387
                    <name>Bind</name>
388
                    <hsize>2</hsize>
389
                    <vsize>1</vsize>
390
                    <screen_items>
391
                        <screen_item>
392
                            <resourcetype>0</resourcetype>
393
                            <width>500</width>
394
                            <height>100</height>
395
                            <x>0</x>
396
                            <y>0</y>
397
                            <colspan>1</colspan>
398
                            <rowspan>1</rowspan>
399
                            <elements>0</elements>
400
                            <valign>0</valign>
401
                            <halign>0</halign>
402
                            <style>0</style>
403
                            <url/>
404
                            <dynamic>0</dynamic>
405
                            <sort_triggers>0</sort_triggers>
406
                            <resource>
407
                                <name>Bind9 requests protocol</name>
408
                                <host>Template App DNS Bind9</host>
409
                            </resource>
410
                            <application/>
411
                        </screen_item>
412
                        <screen_item>
413
                            <resourcetype>0</resourcetype>
414
                            <width>500</width>
415
                            <height>100</height>
416
                            <x>1</x>
417
                            <y>0</y>
418
                            <colspan>1</colspan>
419
                            <rowspan>1</rowspan>
420
                            <elements>0</elements>
421
                            <valign>0</valign>
422
                            <halign>0</halign>
423
                            <style>0</style>
424
                            <url/>
425
                            <dynamic>0</dynamic>
426
                            <sort_triggers>0</sort_triggers>
427
                            <resource>
428
                                <name>Bind9 replies</name>
429
                                <host>Template App DNS Bind9</host>
430
                            </resource>
431
                            <application/>
432
                        </screen_item>
433
                    </screen_items>
434
                </screen>
435
            </screens>
436
        </template>
437
    </templates>
438
    <triggers>
439
        <trigger>
440
            <expression>{Template App DNS Bind9:proc.num[named].last(0)}&lt;1</expression>
441
            <name>Named is not running on {HOSTNAME}</name>
442
            <url/>
443
            <status>0</status>
444
            <priority>4</priority>
445
            <description/>
446
            <type>0</type>
447
            <dependencies/>
448
        </trigger>
449
    </triggers>
450
    <graphs>
451
        <graph>
452
            <name>Bind9 replies</name>
453
            <width>900</width>
454
            <height>200</height>
455
            <yaxismin>0.0000</yaxismin>
456
            <yaxismax>100.0000</yaxismax>
457
            <show_work_period>0</show_work_period>
458
            <show_triggers>1</show_triggers>
459
            <type>0</type>
460
            <show_legend>1</show_legend>
461
            <show_3d>0</show_3d>
462
            <percent_left>0.0000</percent_left>
463
            <percent_right>0.0000</percent_right>
464
            <ymin_type_1>1</ymin_type_1>
465
            <ymax_type_1>0</ymax_type_1>
466
            <ymin_item_1>0</ymin_item_1>
467
            <ymax_item_1>0</ymax_item_1>
468
            <graph_items>
469
                <graph_item>
470
                    <sortorder>2</sortorder>
471
                    <drawtype>0</drawtype>
472
                    <color>EE0000</color>
473
                    <yaxisside>0</yaxisside>
474
                    <calc_fnc>2</calc_fnc>
475
                    <type>0</type>
476
                    <item>
477
                        <host>Template App DNS Bind9</host>
478
                        <key>bind9.stats[nxdomain]</key>
479
                    </item>
480
                </graph_item>
481
                <graph_item>
482
                    <sortorder>3</sortorder>
483
                    <drawtype>0</drawtype>
484
                    <color>0000DD</color>
485
                    <yaxisside>0</yaxisside>
486
                    <calc_fnc>2</calc_fnc>
487
                    <type>0</type>
488
                    <item>
489
                        <host>Template App DNS Bind9</host>
490
                        <key>bind9.stats[recursion]</key>
491
                    </item>
492
                </graph_item>
493
                <graph_item>
494
                    <sortorder>0</sortorder>
495
                    <drawtype>0</drawtype>
496
                    <color>009900</color>
497
                    <yaxisside>0</yaxisside>
498
                    <calc_fnc>2</calc_fnc>
499
                    <type>0</type>
500
                    <item>
501
                        <host>Template App DNS Bind9</host>
502
                        <key>bind9.stats[success]</key>
503
                    </item>
504
                </graph_item>
505
                <graph_item>
506
                    <sortorder>1</sortorder>
507
                    <drawtype>0</drawtype>
508
                    <color>BB00BB</color>
509
                    <yaxisside>0</yaxisside>
510
                    <calc_fnc>2</calc_fnc>
511
                    <type>0</type>
512
                    <item>
513
                        <host>Template App DNS Bind9</host>
514
                        <key>bind9.stats[nxrrset]</key>
515
                    </item>
516
                </graph_item>
517
                <graph_item>
518
                    <sortorder>4</sortorder>
519
                    <drawtype>0</drawtype>
520
                    <color>9999FF</color>
521
                    <yaxisside>0</yaxisside>
522
                    <calc_fnc>2</calc_fnc>
523
                    <type>0</type>
524
                    <item>
525
                        <host>Template App DNS Bind9</host>
526
                        <key>bind9.stats[referral]</key>
527
                    </item>
528
                </graph_item>
529
            </graph_items>
530
        </graph>
531
        <graph>
532
            <name>Bind9 requests protocol</name>
533
            <width>900</width>
534
            <height>200</height>
535
            <yaxismin>0.0000</yaxismin>
536
            <yaxismax>100.0000</yaxismax>
537
            <show_work_period>0</show_work_period>
538
            <show_triggers>0</show_triggers>
539
            <type>1</type>
540
            <show_legend>1</show_legend>
541
            <show_3d>0</show_3d>
542
            <percent_left>0.0000</percent_left>
543
            <percent_right>0.0000</percent_right>
544
            <ymin_type_1>1</ymin_type_1>
545
            <ymax_type_1>0</ymax_type_1>
546
            <ymin_item_1>0</ymin_item_1>
547
            <ymax_item_1>0</ymax_item_1>
548
            <graph_items>
549
                <graph_item>
550
                    <sortorder>1</sortorder>
551
                    <drawtype>1</drawtype>
552
                    <color>0000EE</color>
553
                    <yaxisside>0</yaxisside>
554
                    <calc_fnc>2</calc_fnc>
555
                    <type>0</type>
556
                    <item>
557
                        <host>Template App DNS Bind9</host>
558
                        <key>bind9.stats[ipv4]</key>
559
                    </item>
560
                </graph_item>
561
                <graph_item>
562
                    <sortorder>0</sortorder>
563
                    <drawtype>1</drawtype>
564
                    <color>00DD00</color>
565
                    <yaxisside>0</yaxisside>
566
                    <calc_fnc>2</calc_fnc>
567
                    <type>0</type>
568
                    <item>
569
                        <host>Template App DNS Bind9</host>
570
                        <key>bind9.stats[ipv6]</key>
571
                    </item>
572
                </graph_item>
573
            </graph_items>
574
        </graph>
575
    </graphs>
576
</zabbix_export>
templates/Template_App_Database_MySQL.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:41:04Z</date>
5
    <groups>
6
        <group>
7
            <name>GNU/Linux servers</name>
8
        </group>
9
        <group>
10
            <name>Servers</name>
11
        </group>
12
        <group>
13
            <name>Templates</name>
14
        </group>
15
    </groups>
16
    <templates>
17
        <template>
18
            <template>Template App Database MySQL</template>
19
            <name>Template App Database MySQL</name>
20
            <groups>
21
                <group>
22
                    <name>GNU/Linux servers</name>
23
                </group>
24
                <group>
25
                    <name>Servers</name>
26
                </group>
27
                <group>
28
                    <name>Templates</name>
29
                </group>
30
            </groups>
31
            <applications>
32
                <application>
33
                    <name>MySQL</name>
34
                </application>
35
            </applications>
36
            <items>
37
                <item>
38
                    <name>MySQL all queries</name>
39
                    <type>0</type>
40
                    <snmp_community/>
41
                    <multiplier>0</multiplier>
42
                    <snmp_oid/>
43
                    <key>mysql.status[Queries]</key>
44
                    <delay>300</delay>
45
                    <history>7</history>
46
                    <trends>365</trends>
47
                    <status>0</status>
48
                    <value_type>3</value_type>
49
                    <allowed_hosts>localhost</allowed_hosts>
50
                    <units/>
51
                    <delta>1</delta>
52
                    <snmpv3_contextname/>
53
                    <snmpv3_securityname/>
54
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
55
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
56
                    <snmpv3_authpassphrase/>
57
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
58
                    <snmpv3_privpassphrase/>
59
                    <formula>0</formula>
60
                    <delay_flex/>
61
                    <params/>
62
                    <ipmi_sensor/>
63
                    <data_type>0</data_type>
64
                    <authtype>0</authtype>
65
                    <username/>
66
                    <password/>
67
                    <publickey/>
68
                    <privatekey/>
69
                    <port/>
70
                    <description/>
71
                    <inventory_link>0</inventory_link>
72
                    <applications>
73
                        <application>
74
                            <name>MySQL</name>
75
                        </application>
76
                    </applications>
77
                    <valuemap/>
78
                    <logtimefmt/>
79
                </item>
80
                <item>
81
                    <name>MySQL connections aborted</name>
82
                    <type>0</type>
83
                    <snmp_community/>
84
                    <multiplier>0</multiplier>
85
                    <snmp_oid/>
86
                    <key>mysql.status[Aborted_clients]</key>
87
                    <delay>300</delay>
88
                    <history>7</history>
89
                    <trends>365</trends>
90
                    <status>0</status>
91
                    <value_type>3</value_type>
92
                    <allowed_hosts>localhost</allowed_hosts>
93
                    <units/>
94
                    <delta>1</delta>
95
                    <snmpv3_contextname/>
96
                    <snmpv3_securityname/>
97
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
98
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
99
                    <snmpv3_authpassphrase/>
100
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
101
                    <snmpv3_privpassphrase/>
102
                    <formula>0</formula>
103
                    <delay_flex/>
104
                    <params/>
105
                    <ipmi_sensor/>
106
                    <data_type>0</data_type>
107
                    <authtype>0</authtype>
108
                    <username/>
109
                    <password/>
110
                    <publickey/>
111
                    <privatekey/>
112
                    <port/>
113
                    <description/>
114
                    <inventory_link>0</inventory_link>
115
                    <applications>
116
                        <application>
117
                            <name>MySQL</name>
118
                        </application>
119
                    </applications>
120
                    <valuemap/>
121
                    <logtimefmt/>
122
                </item>
123
                <item>
124
                    <name>MySQL connections attempted</name>
125
                    <type>0</type>
126
                    <snmp_community/>
127
                    <multiplier>0</multiplier>
128
                    <snmp_oid/>
129
                    <key>mysql.status[Connections]</key>
130
                    <delay>300</delay>
131
                    <history>7</history>
132
                    <trends>365</trends>
133
                    <status>0</status>
134
                    <value_type>3</value_type>
135
                    <allowed_hosts>localhost</allowed_hosts>
136
                    <units/>
137
                    <delta>1</delta>
138
                    <snmpv3_contextname/>
139
                    <snmpv3_securityname/>
140
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
141
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
142
                    <snmpv3_authpassphrase/>
143
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
144
                    <snmpv3_privpassphrase/>
145
                    <formula>0</formula>
146
                    <delay_flex/>
147
                    <params/>
148
                    <ipmi_sensor/>
149
                    <data_type>0</data_type>
150
                    <authtype>0</authtype>
151
                    <username/>
152
                    <password/>
153
                    <publickey/>
154
                    <privatekey/>
155
                    <port/>
156
                    <description/>
157
                    <inventory_link>0</inventory_link>
158
                    <applications>
159
                        <application>
160
                            <name>MySQL</name>
161
                        </application>
162
                    </applications>
163
                    <valuemap/>
164
                    <logtimefmt/>
165
                </item>
166
                <item>
167
                    <name>MySQL connections failed</name>
168
                    <type>0</type>
169
                    <snmp_community/>
170
                    <multiplier>0</multiplier>
171
                    <snmp_oid/>
172
                    <key>mysql.status[Aborted_connects]</key>
173
                    <delay>300</delay>
174
                    <history>7</history>
175
                    <trends>365</trends>
176
                    <status>0</status>
177
                    <value_type>3</value_type>
178
                    <allowed_hosts>localhost</allowed_hosts>
179
                    <units/>
180
                    <delta>1</delta>
181
                    <snmpv3_contextname/>
182
                    <snmpv3_securityname/>
183
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
184
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
185
                    <snmpv3_authpassphrase/>
186
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
187
                    <snmpv3_privpassphrase/>
188
                    <formula>0</formula>
189
                    <delay_flex/>
190
                    <params/>
191
                    <ipmi_sensor/>
192
                    <data_type>0</data_type>
193
                    <authtype>0</authtype>
194
                    <username/>
195
                    <password/>
196
                    <publickey/>
197
                    <privatekey/>
198
                    <port/>
199
                    <description/>
200
                    <inventory_link>0</inventory_link>
201
                    <applications>
202
                        <application>
203
                            <name>MySQL</name>
204
                        </application>
205
                    </applications>
206
                    <valuemap/>
207
                    <logtimefmt/>
208
                </item>
209
                <item>
210
                    <name>MySQL DELETE statements</name>
211
                    <type>0</type>
212
                    <snmp_community/>
213
                    <multiplier>0</multiplier>
214
                    <snmp_oid/>
215
                    <key>mysql.status[Com_delete]</key>
216
                    <delay>300</delay>
217
                    <history>7</history>
218
                    <trends>365</trends>
219
                    <status>0</status>
220
                    <value_type>3</value_type>
221
                    <allowed_hosts>localhost</allowed_hosts>
222
                    <units/>
223
                    <delta>1</delta>
224
                    <snmpv3_contextname/>
225
                    <snmpv3_securityname/>
226
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
227
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
228
                    <snmpv3_authpassphrase/>
229
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
230
                    <snmpv3_privpassphrase/>
231
                    <formula>0</formula>
232
                    <delay_flex/>
233
                    <params/>
234
                    <ipmi_sensor/>
235
                    <data_type>0</data_type>
236
                    <authtype>0</authtype>
237
                    <username/>
238
                    <password/>
239
                    <publickey/>
240
                    <privatekey/>
241
                    <port/>
242
                    <description/>
243
                    <inventory_link>0</inventory_link>
244
                    <applications>
245
                        <application>
246
                            <name>MySQL</name>
247
                        </application>
248
                    </applications>
249
                    <valuemap/>
250
                    <logtimefmt/>
251
                </item>
252
                <item>
253
                    <name>MySQL INSERT statements</name>
254
                    <type>0</type>
255
                    <snmp_community/>
256
                    <multiplier>0</multiplier>
257
                    <snmp_oid/>
258
                    <key>mysql.status[Com_insert]</key>
259
                    <delay>300</delay>
260
                    <history>7</history>
261
                    <trends>365</trends>
262
                    <status>0</status>
263
                    <value_type>3</value_type>
264
                    <allowed_hosts>localhost</allowed_hosts>
265
                    <units/>
266
                    <delta>1</delta>
267
                    <snmpv3_contextname/>
268
                    <snmpv3_securityname/>
269
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
270
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
271
                    <snmpv3_authpassphrase/>
272
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
273
                    <snmpv3_privpassphrase/>
274
                    <formula>0</formula>
275
                    <delay_flex/>
276
                    <params/>
277
                    <ipmi_sensor/>
278
                    <data_type>0</data_type>
279
                    <authtype>0</authtype>
280
                    <username/>
281
                    <password/>
282
                    <publickey/>
283
                    <privatekey/>
284
                    <port/>
285
                    <description/>
286
                    <inventory_link>0</inventory_link>
287
                    <applications>
288
                        <application>
289
                            <name>MySQL</name>
290
                        </application>
291
                    </applications>
292
                    <valuemap/>
293
                    <logtimefmt/>
294
                </item>
295
                <item>
296
                    <name>MySQL INSERT…SELECT statements</name>
297
                    <type>0</type>
298
                    <snmp_community/>
299
                    <multiplier>0</multiplier>
300
                    <snmp_oid/>
301
                    <key>mysql.status[Com_insert_select]</key>
302
                    <delay>300</delay>
303
                    <history>7</history>
304
                    <trends>365</trends>
305
                    <status>0</status>
306
                    <value_type>3</value_type>
307
                    <allowed_hosts>localhost</allowed_hosts>
308
                    <units/>
309
                    <delta>1</delta>
310
                    <snmpv3_contextname/>
311
                    <snmpv3_securityname/>
312
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
313
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
314
                    <snmpv3_authpassphrase/>
315
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
316
                    <snmpv3_privpassphrase/>
317
                    <formula>0</formula>
318
                    <delay_flex/>
319
                    <params/>
320
                    <ipmi_sensor/>
321
                    <data_type>0</data_type>
322
                    <authtype>0</authtype>
323
                    <username/>
324
                    <password/>
325
                    <publickey/>
326
                    <privatekey/>
327
                    <port/>
328
                    <description/>
329
                    <inventory_link>0</inventory_link>
330
                    <applications>
331
                        <application>
332
                            <name>MySQL</name>
333
                        </application>
334
                    </applications>
335
                    <valuemap/>
336
                    <logtimefmt/>
337
                </item>
338
                <item>
339
                    <name>MySQL LOAD statements</name>
340
                    <type>0</type>
341
                    <snmp_community/>
342
                    <multiplier>0</multiplier>
343
                    <snmp_oid/>
344
                    <key>mysql.status[Com_load]</key>
345
                    <delay>300</delay>
346
                    <history>7</history>
347
                    <trends>365</trends>
348
                    <status>0</status>
349
                    <value_type>3</value_type>
350
                    <allowed_hosts>localhost</allowed_hosts>
351
                    <units/>
352
                    <delta>1</delta>
353
                    <snmpv3_contextname/>
354
                    <snmpv3_securityname/>
355
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
356
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
357
                    <snmpv3_authpassphrase/>
358
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
359
                    <snmpv3_privpassphrase/>
360
                    <formula>0</formula>
361
                    <delay_flex/>
362
                    <params/>
363
                    <ipmi_sensor/>
364
                    <data_type>0</data_type>
365
                    <authtype>0</authtype>
366
                    <username/>
367
                    <password/>
368
                    <publickey/>
369
                    <privatekey/>
370
                    <port/>
371
                    <description/>
372
                    <inventory_link>0</inventory_link>
373
                    <applications>
374
                        <application>
375
                            <name>MySQL</name>
376
                        </application>
377
                    </applications>
378
                    <valuemap/>
379
                    <logtimefmt/>
380
                </item>
381
                <item>
382
                    <name>MySQL max concurrent connections</name>
383
                    <type>0</type>
384
                    <snmp_community/>
385
                    <multiplier>0</multiplier>
386
                    <snmp_oid/>
387
                    <key>mysql.status[Max_used_connections]</key>
388
                    <delay>300</delay>
389
                    <history>7</history>
390
                    <trends>365</trends>
391
                    <status>0</status>
392
                    <value_type>3</value_type>
393
                    <allowed_hosts>localhost</allowed_hosts>
394
                    <units/>
395
                    <delta>0</delta>
396
                    <snmpv3_contextname/>
397
                    <snmpv3_securityname/>
398
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
399
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
400
                    <snmpv3_authpassphrase/>
401
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
402
                    <snmpv3_privpassphrase/>
403
                    <formula>0</formula>
404
                    <delay_flex/>
405
                    <params/>
406
                    <ipmi_sensor/>
407
                    <data_type>0</data_type>
408
                    <authtype>0</authtype>
409
                    <username/>
410
                    <password/>
411
                    <publickey/>
412
                    <privatekey/>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff