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.
 
 

195 lines
7.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:16:26Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_OS_Fortigate</template>
<name>Template_OS_Fortigate</name>
<templates>
<template>
<name>Template_Switch_Generic</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<applications>
<application>
<name>Logiciel</name>
</application>
<application>
<name>Matériel</name>
</application>
<application>
<name>Mémoire</name>
</application>
<application>
<name>Performances</name>
</application>
<application>
<name>Processeur</name>
</application>
<application>
<name>Réseau</name>
</application>
</applications>
<items>
<item>
<name>Connexions en cours</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.12356.101.4.1.8.0</snmp_oid>
<key>fortigate.conn.num</key>
<trends>1825d</trends>
<applications>
<application>
<name>Réseau</name>
</application>
</applications>
</item>
<item>
<name>Occupation CPU</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.12356.101.4.1.3.0</snmp_oid>
<key>fortigate.cpu.usage</key>
<delay>30s</delay>
<trends>1825d</trends>
<units>%</units>
<applications>
<application>
<name>Matériel</name>
</application>
<application>
<name>Performances</name>
</application>
<application>
<name>Processeur</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{avg(10)}&gt;75</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{avg(10)}&lt;70</recovery_expression>
<name>Occupation CPU importante</name>
<priority>WARNING</priority>
</trigger>
</triggers>
</item>
<item>
<name>Occupation mémoire</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.12356.101.4.1.4.0</snmp_oid>
<key>fortigate.mem.usage</key>
<delay>30s</delay>
<trends>1825d</trends>
<units>%</units>
<applications>
<application>
<name>Matériel</name>
</application>
<application>
<name>Mémoire</name>
</application>
<application>
<name>Performances</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{avg(10)}&gt;80</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{avg(10)}&lt;75</recovery_expression>
<name>Occupation Mémoire importante</name>
<priority>WARNING</priority>
</trigger>
</triggers>
</item>
<item>
<name>Numéro de série</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.12356.100.1.1.1.0</snmp_oid>
<key>fortigate.serial</key>
<delay>6h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Matériel</name>
</application>
</applications>
</item>
<item>
<name>Version du firmware</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.12356.101.4.1.1.0</snmp_oid>
<key>fortigate.version</key>
<delay>30m</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Logiciel</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{diff()}=1</expression>
<name>La version du firmware a changé</name>
<priority>WARNING</priority>
</trigger>
</triggers>
</item>
</items>
</template>
</templates>
<graphs>
<graph>
<name>Nombre de connexions</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>00BFFF</color>
<item>
<host>Template_OS_Fortigate</host>
<key>fortigate.conn.num</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Occupation CPU</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template_OS_Fortigate</host>
<key>fortigate.cpu.usage</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Occupation Mémoire</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>FF0000</color>
<item>
<host>Template_OS_Fortigate</host>
<key>fortigate.mem.usage</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>