Additional scripts for Zabbix agent on Linux to discover and monitor several services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

378 lines
15 KiB

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T10:42:56Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_UPS_Eaton_SNMP</template>
<name>Template_UPS_Eaton_SNMP</name>
<templates>
<template>
<name>Template_SNMP_Device</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<applications>
<application>
<name>Batterie</name>
</application>
<application>
<name>Entrée</name>
</application>
<application>
<name>Informations carte</name>
</application>
<application>
<name>Informations onduleur</name>
</application>
<application>
<name>Sortie</name>
</application>
</applications>
<items>
<item>
<name>Emplacement onduleur</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.1.6.0</snmp_oid>
<key>emplacement.onduleur</key>
<delay>1h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<inventory_link>LOCATION</inventory_link>
<applications>
<application>
<name>Informations onduleur</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Capacité batterie restante</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.2.4.0</snmp_oid>
<key>ups.battery.remaining</key>
<history>180d</history>
<trends>1825d</trends>
<units>%</units>
<applications>
<application>
<name>Batterie</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last()}&lt;10</expression>
<name>Charge batterie &lt; 10%</name>
<priority>DISASTER</priority>
</trigger>
<trigger>
<expression>{last()}&lt;20</expression>
<name>Charge batterie &lt; 20%</name>
<priority>HIGH</priority>
<dependencies>
<dependency>
<name>Charge batterie &lt; 10%</name>
<expression>{Template_UPS_Eaton_SNMP:ups.battery.remaining.last()}&lt;10</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>Fréquence en entrée</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.3.1.0</snmp_oid>
<key>ups.freq.in</key>
<history>180d</history>
<trends>1825d</trends>
<units>Hz</units>
<applications>
<application>
<name>Entrée</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Fréquence en sortie</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.4.2.0</snmp_oid>
<key>ups.freq.out</key>
<history>180d</history>
<trends>1825d</trends>
<units>Hz</units>
<applications>
<application>
<name>Sortie</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Version firmware</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.1.3.0</snmp_oid>
<key>ups.fw.version</key>
<delay>1h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<inventory_link>SOFTWARE</inventory_link>
<applications>
<application>
<name>Informations onduleur</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Charge de l'onduleur</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.4.1.0</snmp_oid>
<key>ups.load</key>
<delay>2m</delay>
<history>180d</history>
<trends>1825d</trends>
<units>%</units>
<applications>
<application>
<name>Sortie</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last()}&gt;80</expression>
<name>L'onduleur est en surcharge</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Modèle</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.1.2.0</snmp_oid>
<key>ups.model</key>
<delay>2h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<inventory_link>MODEL</inventory_link>
<applications>
<application>
<name>Informations onduleur</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Adresse IP</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.705.1.12.1.0</snmp_oid>
<key>ups.nic.ip</key>
<delay>2h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<inventory_link>OOB_IP</inventory_link>
<applications>
<application>
<name>Informations carte</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Adresse MAC</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.2.2.1.6.2</snmp_oid>
<key>ups.nic.mac</key>
<delay>2h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<inventory_link>MACADDRESS_A</inventory_link>
<applications>
<application>
<name>Informations carte</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Numéro série</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.705.1.1.7.0</snmp_oid>
<key>ups.serial</key>
<delay>1h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Informations onduleur</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>État de l'onduleur</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.2.5.0</snmp_oid>
<key>ups.status</key>
<history>180d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Entrée</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last()}=2</expression>
<name>L'onduleur est sur batterie</name>
<priority>DISASTER</priority>
</trigger>
</triggers>
</item>
<item>
<name>Autonomie restante</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.2.1.0</snmp_oid>
<key>ups.time.remaining</key>
<history>180d</history>
<trends>1825d</trends>
<units>s</units>
<applications>
<application>
<name>Batterie</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Voltage en entrée</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.534.1.3.4.1.2.1</snmp_oid>
<key>ups.voltage.in</key>
<history>180d</history>
<trends>1825d</trends>
<units>V</units>
<applications>
<application>
<name>Entrée</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Voltage en sortie</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.705.1.7.2.1.2.1</snmp_oid>
<key>ups.voltage.out</key>
<history>180d</history>
<trends>1825d</trends>
<units>V</units>
<applications>
<application>
<name>Sortie</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.1</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
</items>
</template>
</templates>
<graphs>
<graph>
<name>Alimentation</name>
<graph_items>
<graph_item>
<drawtype>BOLD_LINE</drawtype>
<color>C80000</color>
<item>
<host>Template_UPS_Eaton_SNMP</host>
<key>ups.freq.in</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>00C800</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_UPS_Eaton_SNMP</host>
<key>ups.voltage.in</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Capacité batterie</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<color>00C800</color>
<item>
<host>Template_UPS_Eaton_SNMP</host>
<key>ups.battery.remaining</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sortie</name>
<graph_items>
<graph_item>
<drawtype>BOLD_LINE</drawtype>
<color>C80000</color>
<item>
<host>Template_UPS_Eaton_SNMP</host>
<key>ups.freq.out</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>00C800</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_UPS_Eaton_SNMP</host>
<key>ups.voltage.out</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>