415 lines
19 KiB
XML
415 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>3.4</version>
|
|
<date>2021-02-15T11:33:22Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>TEMPLATES</name>
|
|
</group>
|
|
<group>
|
|
<name>test</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>mdmcertchek-active-test</template>
|
|
<name>mdmcertchek-active-test</name>
|
|
<description>this is the test</description>
|
|
<groups>
|
|
<group>
|
|
<name>TEMPLATES</name>
|
|
</group>
|
|
<group>
|
|
<name>test</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck</name>
|
|
</application>
|
|
<application>
|
|
<name>mdmcertcheck-cert</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>script.version</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[script.version]</key>
|
|
<delay>30s</delay>
|
|
<history>90d</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>4</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<master_item/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules>
|
|
<discovery_rule>
|
|
<name>mdmcertcheck discovery</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[discovery]</key>
|
|
<delay>30s</delay>
|
|
<status>0</status>
|
|
<allowed_hosts/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<filter>
|
|
<evaltype>0</evaltype>
|
|
<formula/>
|
|
<conditions/>
|
|
</filter>
|
|
<lifetime>1d</lifetime>
|
|
<description/>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>Cert $2 certholder</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[certholder,{#CERT}]</key>
|
|
<delay>30s</delay>
|
|
<history>90d</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>4</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck-cert</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<application_prototypes/>
|
|
<master_item_prototype/>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>Cert $2 expire</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[expire,{#CERT}]</key>
|
|
<delay>30s</delay>
|
|
<history>90d</history>
|
|
<trends>365d</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck-cert</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<application_prototypes/>
|
|
<master_item_prototype/>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>Cert $2 isexist</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[isexist,{#CERT}]</key>
|
|
<delay>30s</delay>
|
|
<history>90d</history>
|
|
<trends>365d</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck-cert</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<application_prototypes/>
|
|
<master_item_prototype/>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>Cert $2 valid</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[valid,{#CERT}]</key>
|
|
<delay>30s</delay>
|
|
<history>90d</history>
|
|
<trends>365d</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck-cert</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<application_prototypes/>
|
|
<master_item_prototype/>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>Cert $2 valid_status</name>
|
|
<type>7</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>mdmcertcheck[valid_status,{#CERT}]</key>
|
|
<delay>30s</delay>
|
|
<history>90d</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>4</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>mdmcertcheck-cert</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<application_prototypes/>
|
|
<master_item_prototype/>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<trigger_prototypes>
|
|
<trigger_prototype>
|
|
<expression>{mdmcertchek-active-test:mdmcertcheck[expire,{#CERT}].last()}<1</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>Cert {#CERT} expire 1 days</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>5</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger_prototype>
|
|
<trigger_prototype>
|
|
<expression>{mdmcertchek-active-test:mdmcertcheck[expire,{#CERT}].last()}<3</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>Cert {#CERT} expire 3 days</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger_prototype>
|
|
<trigger_prototype>
|
|
<expression>{mdmcertchek-active-test:mdmcertcheck[expire,{#CERT}].last()}<5</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>Cert {#CERT} expire 5 days</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger_prototype>
|
|
<trigger_prototype>
|
|
<expression>{mdmcertchek-active-test:mdmcertcheck[valid,{#CERT}].last()}=0</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>Cert {#CERT} is not valid</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>5</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger_prototype>
|
|
<trigger_prototype>
|
|
<expression>{mdmcertchek-active-test:mdmcertcheck[isexist,{#CERT}].last()}<>1</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>cert {#CERT} not found</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger_prototype>
|
|
</trigger_prototypes>
|
|
<graph_prototypes/>
|
|
<host_prototypes/>
|
|
<jmx_endpoint/>
|
|
</discovery_rule>
|
|
</discovery_rules>
|
|
<httptests/>
|
|
<macros/>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
</templates>
|
|
</zabbix_export>
|