Jump to content
Калькуляторы

Поделитесь, плиз, шаблоном Zabbix дли ИБП SNR модуль управления SNR-UPS-ODC-SNMP-CARD

может кому пригодиться

 

 

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
   <version>2.0</version>
   <date>2016-11-21T15:24:48Z</date>
   <groups>
       <group>
           <name>myTemplates</name>
       </group>
   </groups>
   <templates>
       <template>
           <template>myTemplate SNMP UPS SNR</template>
           <name>myTemplate SNMP UPS SNR</name>
           <description/>
           <groups>
               <group>
                   <name>myTemplates</name>
               </group>
           </groups>
           <applications>
               <application>
                   <name>Availability</name>
               </application>
               <application>
                   <name>Environment</name>
               </application>
               <application>
                   <name>General</name>
               </application>
           </applications>
           <items>
               <item>
                   <name>BatteryRunTimeRemaining</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.4.0</snmp_oid>
                   <key>BatteryRunTimeRemaining</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>s</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>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery Status</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.1.1.0</snmp_oid>
                   <key>BatteryStatus</key>
                   <delay>30</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_capacity</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.1.0</snmp_oid>
                   <key>Battery_capacity</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>%</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>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_current</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.7.0</snmp_oid>
                   <key>Battery_current</key>
                   <delay>30</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Environment</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_supplying_time</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.1.2.0</snmp_oid>
                   <key>Battery_supplying_time</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>s</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>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_Temperature</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>1</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.3.0</snmp_oid>
                   <key>Battery_Temperature</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>°C</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>0.1</formula>
                   <delay_flex/>
                   <params/>
                   <ipmi_sensor/>
                   <data_type>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Environment</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>icmpping</name>
                   <type>3</type>
                   <snmp_community/>
                   <multiplier>0</multiplier>
                   <snmp_oid/>
                   <key>icmpping[,,,,]</key>
                   <delay>60</delay>
                   <history>1</history>
                   <trends>7</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port/>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>General</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Output_load</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.4.2.3.0</snmp_oid>
                   <key>Output_load</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>0</value_type>
                   <allowed_hosts/>
                   <units>%</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>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Output_Status</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.4.1.1.0</snmp_oid>
                   <key>Output_Status</key>
                   <delay>30</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Output_voltage</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>1</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.4.2.1.0</snmp_oid>
                   <key>Output_voltage</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>0.1</formula>
                   <delay_flex/>
                   <params/>
                   <ipmi_sensor/>
                   <data_type>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port/>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
           </items>
           <discovery_rules/>
           <macros/>
           <templates/>
           <screens/>
       </template>
   </templates>
   <triggers>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<25</expression>
           <name>Battery Charge < 25%:</name>
           <url/>
           <status>0</status>
           <priority>4</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<50</expression>
           <name>Battery Charge < 50 %:</name>
           <url/>
           <status>0</status>
           <priority>5</priority>
           <description/>
           <type>0</type>
           <dependencies>
               <dependency>
                   <name>Battery Charge < 25%:</name>
                   <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<25</expression>
               </dependency>
           </dependencies>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<75</expression>
           <name>Battery Charge < 75%:</name>
           <url/>
           <status>0</status>
           <priority>2</priority>
           <description/>
           <type>0</type>
           <dependencies>
               <dependency>
                   <name>Battery Charge < 50 %:</name>
                   <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<50</expression>
               </dependency>
           </dependencies>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:BatteryStatus.last()}<>2</expression>
           <name>Battery Status</name>
           <url/>
           <status>0</status>
           <priority>5</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_Temperature.last(0)}>40</expression>
           <name>High Battery Temperature</name>
           <url/>
           <status>0</status>
           <priority>3</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Output_load.last(0)}>90</expression>
           <name>Load Too High</name>
           <url/>
           <status>0</status>
           <priority>3</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Output_Status.min(#3)}<>2</expression>
           <name>Loss of Input Power</name>
           <url/>
           <status>0</status>
           <priority>5</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:icmpping[,,,,].max(#3)}=0</expression>
           <name>ping_{HOST.HOST}</name>
           <url/>
           <status>0</status>
           <priority>3</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
   </triggers>
</zabbix_export>

Share this post


Link to post
Share on other sites

В 21.11.2016 в 18:28, man781 сказал:

может кому пригодиться

 

 

 


<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
   <version>2.0</version>
   <date>2016-11-21T15:24:48Z</date>
   <groups>
       <group>
           <name>myTemplates</name>
       </group>
   </groups>
   <templates>
       <template>
           <template>myTemplate SNMP UPS SNR</template>
           <name>myTemplate SNMP UPS SNR</name>
           <description/>
           <groups>
               <group>
                   <name>myTemplates</name>
               </group>
           </groups>
           <applications>
               <application>
                   <name>Availability</name>
               </application>
               <application>
                   <name>Environment</name>
               </application>
               <application>
                   <name>General</name>
               </application>
           </applications>
           <items>
               <item>
                   <name>BatteryRunTimeRemaining</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.4.0</snmp_oid>
                   <key>BatteryRunTimeRemaining</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>s</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>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery Status</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.1.1.0</snmp_oid>
                   <key>BatteryStatus</key>
                   <delay>30</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_capacity</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.1.0</snmp_oid>
                   <key>Battery_capacity</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>%</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>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_current</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.7.0</snmp_oid>
                   <key>Battery_current</key>
                   <delay>30</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Environment</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_supplying_time</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.1.2.0</snmp_oid>
                   <key>Battery_supplying_time</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>s</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>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Battery_Temperature</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>1</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.2.2.3.0</snmp_oid>
                   <key>Battery_Temperature</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>3</value_type>
                   <allowed_hosts/>
                   <units>°C</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>0.1</formula>
                   <delay_flex/>
                   <params/>
                   <ipmi_sensor/>
                   <data_type>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Environment</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>icmpping</name>
                   <type>3</type>
                   <snmp_community/>
                   <multiplier>0</multiplier>
                   <snmp_oid/>
                   <key>icmpping[,,,,]</key>
                   <delay>60</delay>
                   <history>1</history>
                   <trends>7</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port/>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>General</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Output_load</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.4.2.3.0</snmp_oid>
                   <key>Output_load</key>
                   <delay>30</delay>
                   <history>7</history>
                   <trends>365</trends>
                   <status>0</status>
                   <value_type>0</value_type>
                   <allowed_hosts/>
                   <units>%</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>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Output_Status</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>0</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.4.1.1.0</snmp_oid>
                   <key>Output_Status</key>
                   <delay>30</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>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port>161</port>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
               <item>
                   <name>Output_voltage</name>
                   <type>1</type>
                   <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                   <multiplier>1</multiplier>
                   <snmp_oid>1.3.6.1.4.1.935.1.1.1.4.2.1.0</snmp_oid>
                   <key>Output_voltage</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>0.1</formula>
                   <delay_flex/>
                   <params/>
                   <ipmi_sensor/>
                   <data_type>0</data_type>
                   <authtype>0</authtype>
                   <username/>
                   <password/>
                   <publickey/>
                   <privatekey/>
                   <port/>
                   <description/>
                   <inventory_link>0</inventory_link>
                   <applications>
                       <application>
                           <name>Availability</name>
                       </application>
                   </applications>
                   <valuemap/>
                   <logtimefmt/>
               </item>
           </items>
           <discovery_rules/>
           <macros/>
           <templates/>
           <screens/>
       </template>
   </templates>
   <triggers>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<25</expression>
           <name>Battery Charge < 25%:</name>
           <url/>
           <status>0</status>
           <priority>4</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<50</expression>
           <name>Battery Charge < 50 %:</name>
           <url/>
           <status>0</status>
           <priority>5</priority>
           <description/>
           <type>0</type>
           <dependencies>
               <dependency>
                   <name>Battery Charge < 25%:</name>
                   <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<25</expression>
               </dependency>
           </dependencies>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<75</expression>
           <name>Battery Charge < 75%:</name>
           <url/>
           <status>0</status>
           <priority>2</priority>
           <description/>
           <type>0</type>
           <dependencies>
               <dependency>
                   <name>Battery Charge < 50 %:</name>
                   <expression>{myTemplate SNMP UPS SNR:Battery_capacity.last(0)}<50</expression>
               </dependency>
           </dependencies>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:BatteryStatus.last()}<>2</expression>
           <name>Battery Status</name>
           <url/>
           <status>0</status>
           <priority>5</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Battery_Temperature.last(0)}>40</expression>
           <name>High Battery Temperature</name>
           <url/>
           <status>0</status>
           <priority>3</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Output_load.last(0)}>90</expression>
           <name>Load Too High</name>
           <url/>
           <status>0</status>
           <priority>3</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:Output_Status.min(#3)}<>2</expression>
           <name>Loss of Input Power</name>
           <url/>
           <status>0</status>
           <priority>5</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
       <trigger>
           <expression>{myTemplate SNMP UPS SNR:icmpping[,,,,].max(#3)}=0</expression>
           <name>ping_{HOST.HOST}</name>
           <url/>
           <status>0</status>
           <priority>3</priority>
           <description/>
           <type>0</type>
           <dependencies/>
       </trigger>
   </triggers>
</zabbix_export>
Перезалейте пожалуйста 

 

 

 

Парни, поделитесь файлом  шаблона в xml 

Share this post


Link to post
Share on other sites

8 часов назад, roysbike сказал:

Парни, поделитесь файлом  шаблона в xml 

А что мешает весь код запихнуть в текстовый файл и дать ему расширение xml?

Share this post


Link to post
Share on other sites

В 21.09.2018 в 22:42, FATHER_FBI сказал:

А что мешает весь код запихнуть в текстовый файл и дать ему расширение xml?

ругается в 3.4. Но у меня оказалась другая плата , выложу позже для новой шаблон

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.