Skip to content

Commit

Permalink
Update ZBX-HWG-DAMOCLES.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
bradpeczka authored Sep 21, 2017
1 parent 35d66f2 commit bd4df55
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions HW-Group/ZBX-HWG-DAMOCLES.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2017-08-29T00:22:58Z</date>
<date>2017-09-21T05:24:08Z</date>
<groups>
<group>
<name>Templates</name>
Expand Down Expand Up @@ -64,12 +64,12 @@
<description/>
<item_prototypes>
<item_prototype>
<name>Input $1 Alarm State</name>
<name>$1 Alarm State</name>
<type>1</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.5.{#SNMPINDEX}</snmp_oid>
<key>inpAlarmState[{#SNMPINDEX}]</key>
<key>inpAlarmState[{#SNMPVALUE}]</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
Expand Down Expand Up @@ -109,17 +109,17 @@
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Input $1 Name</name>
<name>$1 Input State</name>
<type>1</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.3.{#SNMPINDEX}</snmp_oid>
<key>inpName[{#SNMPINDEX}]</key>
<delay>600</delay>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.2.{#SNMPINDEX}</snmp_oid>
<key>inpValue[{#SNMPVALUE}]</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>4</value_type>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
Expand All @@ -134,35 +134,37 @@
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<data_type>3</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>The binary input name.</description>
<description>The binary input value.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Input</name>
</application>
</applications>
<valuemap/>
<valuemap>
<name>damoclesOnOff</name>
</valuemap>
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Input $1 Number of State Changes</name>
<name>Input $1 Name</name>
<type>1</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.6.{#SNMPINDEX}</snmp_oid>
<key>inpCounter[{#SNMPINDEX}]</key>
<delay>30</delay>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.3.{#SNMPINDEX}</snmp_oid>
<key>inpName[{#SNMPINDEX}]</key>
<delay>600</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<value_type>4</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
Expand All @@ -184,9 +186,7 @@
<publickey/>
<privatekey/>
<port/>
<description>Number of pulses on this input.&#13;
Entering edge is used to increment this counter.&#13;
Only pulses longer than sampling interval are counted.</description>
<description>The binary input name.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
Expand All @@ -197,12 +197,12 @@ Only pulses longer than sampling interval are counted.</description>
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Input $1 Status</name>
<name>Number of $1 State Changes</name>
<type>1</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.2.{#SNMPINDEX}</snmp_oid>
<key>inpValue[{#SNMPINDEX}]</key>
<snmp_oid>1.3.6.1.4.1.21796.3.4.1.1.6.{#SNMPINDEX}</snmp_oid>
<key>inpCounter[{#SNMPVALUE}]</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
Expand All @@ -222,29 +222,29 @@ Only pulses longer than sampling interval are counted.</description>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>3</data_type>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>The binary input value.</description>
<description>Number of pulses on this input.&#13;
Entering edge is used to increment this counter.&#13;
Only pulses longer than sampling interval are counted.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Input</name>
</application>
</applications>
<valuemap>
<name>damoclesOnOff</name>
</valuemap>
<valuemap/>
<logtimefmt/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{ZBX-HWG-DAMOCLES:inpValue[{#SNMPINDEX}].diff(0)}=1</expression>
<expression>{ZBX-HWG-DAMOCLES:inpValue[{#SNMPVALUE}].diff(0)}=1</expression>
<name>{#SNMPVALUE} input status was changed on {HOST.NAME}</name>
<url/>
<status>0</status>
Expand All @@ -253,7 +253,7 @@ Only pulses longer than sampling interval are counted.</description>
<type>0</type>
</trigger_prototype>
<trigger_prototype>
<expression>{ZBX-HWG-DAMOCLES:inpAlarmState[{#SNMPINDEX}].last()}=1</expression>
<expression>{ZBX-HWG-DAMOCLES:inpAlarmState[{#SNMPVALUE}].last()}=1</expression>
<name>{HOST.NAME} {#SNMPVALUE} Alarm</name>
<url/>
<status>0</status>
Expand Down

0 comments on commit bd4df55

Please sign in to comment.