zabbix-templates/system_tpl.xml in zabbix-ruby-client-0.0.20 vs zabbix-templates/system_tpl.xml in zabbix-ruby-client-0.0.21
- old
+ new
@@ -1,25 +1,342 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
- <date>2013-10-02T08:36:05Z</date>
+ <date>2014-01-02T03:33:56Z</date>
<groups>
<group>
<name>3. Service Ubuntu</name>
</group>
</groups>
<templates>
<template>
+ <template>Sysinfo</template>
+ <name>Sysinfo (zrc)</name>
+ <groups>
+ <group>
+ <name>3. Service Ubuntu</name>
+ </group>
+ </groups>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <items>
+ <item>
+ <name>Arch</name>
+ <type>2</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>sysinfo[kernel]</key>
+ <delay>0</delay>
+ <history>365</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>4</value_type>
+ <allowed_hosts/>
+ <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/>
+ <inventory_link>5</inventory_link>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <valuemap/>
+ </item>
+ <item>
+ <name>Hostname</name>
+ <type>2</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>sysinfo[hostname]</key>
+ <delay>0</delay>
+ <history>365</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>4</value_type>
+ <allowed_hosts/>
+ <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/>
+ <inventory_link>4</inventory_link>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <valuemap/>
+ </item>
+ <item>
+ <name>Kernel</name>
+ <type>2</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>sysinfo[kernell]</key>
+ <delay>0</delay>
+ <history>365</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>4</value_type>
+ <allowed_hosts/>
+ <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/>
+ <inventory_link>6</inventory_link>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <valuemap/>
+ </item>
+ <item>
+ <name>Name</name>
+ <type>2</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>sysinfo[name]</key>
+ <delay>0</delay>
+ <history>365</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>4</value_type>
+ <allowed_hosts/>
+ <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/>
+ <inventory_link>3</inventory_link>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <valuemap/>
+ </item>
+ <item>
+ <name>Platform</name>
+ <type>2</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>sysinfo[platform]</key>
+ <delay>0</delay>
+ <history>365</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>4</value_type>
+ <allowed_hosts/>
+ <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/>
+ <inventory_link>7</inventory_link>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <valuemap/>
+ </item>
+ <item>
+ <name>Serial</name>
+ <type>2</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>sysinfo[serial]</key>
+ <delay>0</delay>
+ <history>365</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>4</value_type>
+ <allowed_hosts/>
+ <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/>
+ <inventory_link>8</inventory_link>
+ <applications>
+ <application>
+ <name>Sysinfo</name>
+ </application>
+ </applications>
+ <valuemap/>
+ </item>
+ </items>
+ <discovery_rules/>
+ <macros/>
+ <templates/>
+ <screens/>
+ </template>
+ <template>
<template>Ubuntu System</template>
<name>Ubuntu System (zrc)</name>
<groups>
<group>
<name>3. Service Ubuntu</name>
</group>
</groups>
<applications/>
- <items/>
+ <items>
+ <item>
+ <name>SSH Check</name>
+ <type>3</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>net.tcp.service[ssh,,{$SSH_PORT}]</key>
+ <delay>60</delay>
+ <history>7</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>3</value_type>
+ <allowed_hosts/>
+ <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>3</data_type>
+ <authtype>0</authtype>
+ <username/>
+ <password/>
+ <publickey/>
+ <privatekey/>
+ <port/>
+ <description/>
+ <inventory_link>0</inventory_link>
+ <applications>
+ <application>
+ <name>System</name>
+ </application>
+ </applications>
+ <valuemap>
+ <name>Service state</name>
+ </valuemap>
+ </item>
+ </items>
<discovery_rules/>
<macros/>
<templates>
<template>
<name>Apt</name>
@@ -32,18 +349,21 @@
</template>
<template>
<name>Load</name>
</template>
<template>
- <name>Memory ZRC</name>
+ <name>Memory zrc</name>
</template>
<template>
<name>Network</name>
</template>
<template>
<name>Sysinfo</name>
</template>
+ <template>
+ <name>Who</name>
+ </template>
</templates>
<screens>
<screen>
<name>System</name>
<hsize>2</hsize>
@@ -66,10 +386,11 @@
<sort_triggers>0</sort_triggers>
<resource>
<name>Load</name>
<host>Ubuntu System</host>
</resource>
+ <application/>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<width>500</width>
<height>100</height>
@@ -86,10 +407,11 @@
<sort_triggers>0</sort_triggers>
<resource>
<name>Memory use</name>
<host>Ubuntu System</host>
</resource>
+ <application/>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<width>500</width>
<height>100</height>
@@ -106,10 +428,11 @@
<sort_triggers>0</sort_triggers>
<resource>
<name>CPU used</name>
<host>Ubuntu System</host>
</resource>
+ <application/>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<width>500</width>
<height>100</height>
@@ -126,12 +449,25 @@
<sort_triggers>0</sort_triggers>
<resource>
<name>s. CPU Details</name>
<host>Ubuntu System</host>
</resource>
+ <application/>
</screen_item>
</screen_items>
</screen>
</screens>
</template>
</templates>
+ <triggers>
+ <trigger>
+ <expression>{Ubuntu System:net.tcp.service[ssh,,{$SSH_PORT}].max(180)}=0</expression>
+ <name>SSH Down</name>
+ <url/>
+ <status>0</status>
+ <priority>5</priority>
+ <description/>
+ <type>0</type>
+ <dependencies/>
+ </trigger>
+ </triggers>
</zabbix_export>