Update and provide more templates

tags/zabbix-agent-addons-0.2.150-1
Daniel Berteaud 3 years ago
parent 6b2c293acd
commit 02cec2e7e8
  1. 2
      zabbix_templates/Template_App_BackupPC.xml
  2. 278
      zabbix_templates/Template_App_DRBD.xml
  3. 393
      zabbix_templates/Template_App_GlusterFS.xml
  4. 97
      zabbix_templates/Template_App_HSQL.xml
  5. 2
      zabbix_templates/Template_App_Multipath.xml
  6. 2
      zabbix_templates/Template_App_MySQL.xml
  7. 78
      zabbix_templates/Template_App_MySQL_Legacy.xml
  8. 1816
      zabbix_templates/Template_App_PMG.xml
  9. 2
      zabbix_templates/Template_App_PVE_Cluster.xml
  10. 73
      zabbix_templates/Template_App_Qmail.xml
  11. 66
      zabbix_templates/Template_App_SOGo.xml
  12. 51
      zabbix_templates/Template_App_SSLExpire.xml
  13. 124
      zabbix_templates/Template_App_Samba.xml
  14. 165
      zabbix_templates/Template_App_Samba_DC.xml
  15. 177
      zabbix_templates/Template_App_Samba_DC_Aggregate.xml
  16. 31
      zabbix_templates/Template_App_Squid.xml
  17. 160
      zabbix_templates/Template_App_Squid_Legacy.xml
  18. 27
      zabbix_templates/Template_App_Unifi.xml
  19. 11
      zabbix_templates/Template_App_ZFS.xml
  20. 937
      zabbix_templates/Template_App_Zabbix_Server.xml
  21. 1760
      zabbix_templates/Template_Dell_Equallogic.xml
  22. 603
      zabbix_templates/Template_Netgear_ReadyNAS.xml
  23. 195
      zabbix_templates/Template_OS_Fortigate.xml
  24. 1983
      zabbix_templates/Template_OS_Linux_Minimal.xml
  25. 1168
      zabbix_templates/Template_OS_Linux_Server.xml
  26. 626
      zabbix_templates/Template_OS_PfSense2.xml
  27. 806
      zabbix_templates/Template_OS_Windows_Minimal.xml
  28. 339
      zabbix_templates/Template_OS_Windows_Server.xml
  29. 980
      zabbix_templates/Template_OS_iPasserelle.xml
  30. 43
      zabbix_templates/Template_Ping.xml
  31. 134
      zabbix_templates/Template_PublicService_HTTP.xml
  32. 723
      zabbix_templates/Template_QNAP_NAS.xml
  33. 63
      zabbix_templates/Template_Switch_Cisco.xml
  34. 429
      zabbix_templates/Template_Switch_Dell_PowerConnect.xml
  35. 145
      zabbix_templates/Template_Switch_Netgear_ProSafe.xml
  36. 26
      zabbix_templates/Template_Switch_Unifi.xml
  37. 183
      zabbix_templates/Template_UPS_APC_SNMP.xml
  38. 26
      zabbix_templates/Temùplate_Switch_ZyXel_GS.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-01-13T18:30:36Z</date>
<date>2021-06-19T12:07:27Z</date>
<groups>
<group>
<name>Templates</name>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.2</version>
<date>2019-10-11T16:40:31Z</date>
<version>5.0</version>
<date>2021-06-19T12:07:47Z</date>
<groups>
<group>
<name>Templates</name>
@ -11,7 +11,6 @@
<template>
<template>Template_App_DRBD</template>
<name>Template_App_DRBD</name>
<description/>
<groups>
<group>
<name>Templates</name>
@ -25,70 +24,20 @@
<name>Storage</name>
</application>
</applications>
<items/>
<discovery_rules>
<discovery_rule>
<name>DRBD resources</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>drbd.resource.discovery[]</key>
<delay>30m</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>2d</lifetime>
<description/>
<item_prototypes>
<item_prototype>
<name>DRBD: {#DRBD_RES_NAME} connexion status</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>drbd.resource.status[{#DRBD_RES_NAME},cstate]</key>
<delay>5m</delay>
<history>180d</history>
<trends>0</trends>
<status>0</status>
<value_type>1</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>
<value_type>CHAR</value_type>
<applications>
<application>
<name>DRBD</name>
@ -97,61 +46,23 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<application_prototypes/>
<master_item/>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{str(Connected)}=0 and {str(SyncSource)}=0 and&#13;
{str(SyncTarget)}=0</expression>
<name>DRBD: ({#DRBD_RES_NAME}): connexion is not established</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>DRBD: {#DRBD_RES_NAME} data status</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>drbd.resource.status[{#DRBD_RES_NAME},dstate]</key>
<delay>5m</delay>
<history>180d</history>
<trends>0</trends>
<status>0</status>
<value_type>1</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>
<value_type>CHAR</value_type>
<applications>
<application>
<name>DRBD</name>
@ -160,61 +71,22 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<application_prototypes/>
<master_item/>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{str(UpToDate)}=0</expression>
<name>DRBD ({#DRBD_RES_NAME}): data is not up to date</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>DRBD: {#DRBD_RES_NAME} role</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>drbd.resource.status[{#DRBD_RES_NAME},role]</key>
<delay>5m</delay>
<history>180d</history>
<trends>0</trends>
<status>0</status>
<value_type>1</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>
<value_type>CHAR</value_type>
<applications>
<application>
<name>DRBD</name>
@ -223,113 +95,19 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<application_prototypes/>
<master_item/>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_App_DRBD:drbd.resource.status[{#DRBD_RES_NAME},dstate].str(UpToDate)}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>DRBD ({#DRBD_RES_NAME}): data is not up to date</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>{Template_App_DRBD:drbd.resource.status[{#DRBD_RES_NAME},role].diff()}=1</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<expression>{diff()}=1</expression>
<name>DRBD ({#DRBD_RES_NAME}) node role has changed</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>{Template_App_DRBD:drbd.resource.status[{#DRBD_RES_NAME},cstate].str(Connected)}=0 and {Template_App_DRBD:drbd.resource.status[{#DRBD_RES_NAME},cstate].str(SyncSource)}=0 and&#13;
{Template_App_DRBD:drbd.resource.status[{#DRBD_RES_NAME},cstate].str(SyncTarget)}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>DRBD: ({#DRBD_RES_NAME}): connexion is not established</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/>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<lld_macro_paths/>
<preprocessing/>
<master_item/>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
</discovery_rules>
<httptests/>
<macros/>
<templates/>
<screens/>
<tags/>
</template>
</templates>
</zabbix_export>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.2</version>
<date>2019-10-11T16:47:18Z</date>
<version>5.0</version>
<date>2021-06-19T12:08:07Z</date>
<groups>
<group>
<name>Templates</name>
@ -11,7 +11,6 @@
<template>
<template>Template_App_GlusterFS</template>
<name>Template_App_GlusterFS</name>
<description/>
<groups>
<group>
<name>Templates</name>
@ -28,34 +27,10 @@
<items>
<item>
<name>GlusterFS: memory used by gluster processes</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.mem[glusterfs]</key>
<delay>5m</delay>
<history>90d</history>
<trends>1825d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<trends>730d</trends>
<units>B</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>Gluster</name>
@ -64,60 +39,13 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<master_item/>
<request_method>POST</request_method>
</item>
<item>
<name>GlusterFS: number of processes</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.num[glusterfs]</key>
<delay>5m</delay>
<history>90d</history>
<trends>1825d</trends>
<status>0</status>
<value_type>3</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>
<trends>730d</trends>
<applications>
<application>
<name>Gluster</name>
@ -126,94 +54,28 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<master_item/>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last()}&lt;1</expression>
<name>GlusterFS: No gluster process runing</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>GlusterFS: peer discovery</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>gluster.discovery[peers]</key>
<delay>2h</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>30d</lifetime>
<description/>
<item_prototypes>
<item_prototype>
<name>GlusterFS peer: {#GLUSTER_PEER_UUID} ({#GLUSTER_PEER_HOST}) status</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>gluster.peer.status[{#GLUSTER_PEER_UUID}]</key>
<delay>633s</delay>
<history>90d</history>
<trends>0</trends>
<status>0</status>
<value_type>1</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>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Gluster</name>
@ -222,136 +84,29 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<application_prototypes/>
<master_item/>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_App_GlusterFS:gluster.peer.status[{#GLUSTER_PEER_UUID}].str(Connected)}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<expression>{str(Connected)}=0</expression>
<name>GlusterFS peer {#GLUSTER_PEER_HOST} disconnected</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/>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<lld_macro_paths/>
<preprocessing/>
<master_item/>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
<discovery_rule>
<name>GlusterFS: Volume discovery</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>gluster.discovery[volumes]</key>
<delay>2h</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>30d</lifetime>
<description/>
<item_prototypes>
<item_prototype>
<name>GlusterFS {#GLUSTER_VOL_NAME} status</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>gluster.volume.status[{#GLUSTER_VOL_NAME},{#GLUSTER_VOL_BRICKS}]</key>
<delay>614s</delay>
<history>90d</history>
<trends>0</trends>
<status>0</status>
<value_type>1</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>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Gluster</name>
@ -360,114 +115,24 @@
<name>Storage</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<application_prototypes/>
<master_item/>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_App_GlusterFS:gluster.volume.status[{#GLUSTER_VOL_NAME},{#GLUSTER_VOL_BRICKS}].str(OK)}=0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<expression>{str(OK)}=0</expression>
<name>GlusterFS: {#GLUSTER_VOL_NAME} failure detected</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/>
<priority>HIGH</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{Template_App_GlusterFS:gluster.volume.status[{#GLUSTER_VOL_NAME},{#GLUSTER_VOL_BRICKS}].nodata(2460)}=1</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<expression>{nodata(2460)}=1</expression>
<name>GlusterFS: {#GLUSTER_VOL_NAME} not sending health info</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/>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>1</request_method>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<lld_macro_paths/>
<preprocessing/>
<master_item/>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
</discovery_rules>
<httptests/>
<macros/>
<templates/>
<screens/>
<tags/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template_App_GlusterFS:proc.num[glusterfs].last()}&lt;1</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>GlusterFS: No gluster process runing</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>
</triggers>
</zabbix_export>

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:08:22Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_HSQL</template>
<name>Template_App_HSQL</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>HSQL</name>
</application>
</applications>
<items>
<item>
<name>HSQL TCP Service</name>
<key>net.tcp.listen[{$HSQL_PORT}]</key>
<delay>6m</delay>
<history>30d</history>
<trends>0</trends>
<applications>
<application>
<name>HSQL</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}&lt;&gt;1</expression>
<name>HSQL port {$HSQL_PORT} is not listening</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>No HSQL Service running</name>
<expression>{Template_App_HSQL:proc.num[manta,hyperfile,,HFCS-Serveur].last()}&lt;1</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>HSQL Server Processes</name>
<key>proc.num[manta,hyperfile,,HFCS-Serveur]</key>
<delay>5m</delay>
<history>30d</history>
<units>!process</units>
<applications>
<application>
<name>HSQL</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}&lt;1</expression>
<name>No HSQL Service running</name>
<priority>WARNING</priority>
</trigger>
</triggers>
</item>
<item>
<name>HSQL MantaManager Processes</name>
<key>proc.num[mantamanager,root,,]</key>
<delay>5m</delay>
<history>30d</history>
<units>!process</units>
<applications>
<application>
<name>HSQL</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}&lt;1</expression>
<name>No HSQL Manager Service running</name>
<priority>WARNING</priority>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$HSQL_PORT}</macro>
<value>4900</value>
</macro>
</macros>
</template>
</templates>
</zabbix_export>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2020-10-20T16:43:35Z</date>
<date>2021-06-19T12:08:45Z</date>
<groups>
<group>
<name>Templates</name>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2020-12-17T15:29:59Z</date>
<date>2021-06-19T12:09:04Z</date>
<groups>
<group>
<name>Templates</name>

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:09:19Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_MySQL_legacy</template>
<name>Template_App_MySQL_legacy</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>MySQL queries per second</name>
<key>mysql.qps</key>
<delay>5m</delay>
<trends>1095d</trends>
<value_type>FLOAT</value_type>
<units>qps</units>
<request_method>POST</request_method>
</item>
<item>
<name>MySQL number of slow queries</name>
<key>mysql.slowqueries</key>
<delay>5m</delay>
<trends>1095d</trends>
<request_method>POST</request_method>
</item>
<item>
<name>MySQL number of threads</name>
<key>mysql.threads</key>
<delay>5m</delay>
<trends>1095d</trends>
<request_method>POST</request_method>
</item>
<item>
<name>MySQL uptime</name>
<key>mysql.uptime</key>
<delay>5m</delay>
<trends>1095d</trends>
<status>DISABLED</status>
<units>uptime</units>
<request_method>POST</request_method>
</item>
<item>
<name>MySQL is alive</name>
<key>mysql[ping]</key>
<delay>5m</delay>
<trends>1095d</trends>
<value_type>FLOAT</value_type>
<request_method>POST</request_method>
</item>
<item>
<name>MySQL version</name>
<key>version[mysql]</key>
<delay>2h</delay>
<trends>0</trends>
<status>DISABLED</status>
<value_type>CHAR</value_type>
<request_method>POST</request_method>
</item>
</items>
</template>
</templates>
</zabbix_export>

File diff suppressed because it is too large Load Diff

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-01-08T12:03:11Z</date>
<date>2021-06-19T12:09:52Z</date>
<groups>
<group>
<name>Templates</name>

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:10:10Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_Qmail</template>
<name>Template_App_Qmail</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>qmail</name>
</application>
</applications>
<items>
<item>
<name>Emails locaux en queue</name>
<key>qmail[queue_local]</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>mail</units>
<applications>
<application>
<name>qmail</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Emails distant en queue</name>
<key>qmail[queue_remote]</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>mail</units>
<applications>
<application>
<name>qmail</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Emails en queue</name>
<key>qmail[queue_total]</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>mail</units>
<applications>
<application>
<name>qmail</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
</items>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:11:20Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_SOGo</template>
<name>Template_App_SOGo</name>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<applications>
<application>
<name>sogo</name>
</application>
</applications>
<items>
<item>
<name>Mémoire utilisée par SOGo</name>
<key>proc.mem[sogod]</key>
<delay>3m</delay>
<trends>1825d</trends>
<units>o</units>
<applications>
<application>
<name>sogo</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Numbre de processus sogod</name>
<key>proc.num[sogod]</key>
<delay>2m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>sogo</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{$SOGO}=1 and {last()}&lt;1</expression>
<name>Aucun processus SOGo</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$SOGO}</macro>
<value>1</value>
</macro>
</macros>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:12:08Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_SSLExpire</template>
<name>Template_App_SSLExpire</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Expiration du certificat</name>
<type>EXTERNAL</type>
<key>cert_expire.pl[&quot;-h&quot;,&quot;{HOST.CONN}&quot;]</key>
<delay>30m</delay>
<trends>1825d</trends>
<units>jours</units>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&lt;{$SSL_WARN_EXPIRE} and {$SSL_WARN_EXPIRE}&lt;&gt;0</expression>
<name>Le certificat expire dans {ITEM.LASTVALUE1}</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$SSL_WARN_EXPIRE}</macro>
<value>90</value>
</macro>
</macros>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:10:27Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_Samba</template>
<name>Template_App_Samba</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<items>
<item>
<name>Écoute smbd</name>
<key>net.tcp.port[,139]</key>
<delay>5m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Mémoire $1</name>
<key>proc.mem[nmbd,,sum]</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>o</units>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Mémoire $1</name>
<key>proc.mem[smbd,,sum]</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>o</units>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre de processus $1</name>
<key>proc.num[nmbd]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>process</units>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre de processus $1</name>
<key>proc.num[smbd]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>process</units>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Lookup nmbd</name>
<key>samba.nmbd.status</key>
<delay>3m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>samba</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
</items>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template_App_Samba:proc.num[nmbd].last()}&lt;1 or {Template_App_Samba:samba.nmbd.status.sum(#2)}&lt;1</expression>
<name>le démon nmbd ne fonctionne pas</name>
<status>DISABLED</status>
<priority>AVERAGE</priority>
</trigger>
<trigger>
<expression>{Template_App_Samba:proc.num[smbd].last()}&lt;1 or {Template_App_Samba:net.tcp.port[,139].last()}&lt;&gt;1</expression>
<name>le démon smbd n'est pas en fonctionnement</name>
<status>DISABLED</status>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</zabbix_export>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-01-14T18:29:20Z</date>
<date>2021-06-19T12:10:45Z</date>
<groups>
<group>
<name>Templates</name>
@ -666,172 +666,9 @@
</discovery_rule>
</discovery_rules>
</template>
<template>
<template>Template_App_Samba_DC_Aggregate</template>
<name>Template_App_Samba_DC_Aggregate</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Samba</name>
</application>
<application>
<name>samba</name>
</application>
</applications>
<items>
<item>
<name>Samba: Aggregated number of failed computers authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.failure]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of successful computers authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.success]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of failed users authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.failure]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of successful users authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.success]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of computers authorization requests</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.computers]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of users authorization requests</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.users]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
</items>
<macros>
<macro>
<macro>{$SAMBA_AGGREGATE_GROUP}</macro>
<value>Samba_DC</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>Samba: Aggregated Authentications &amp; Authorizations</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<color>EF9A9A</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.computers]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>CE93D8</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.success]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>9FA8DA</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.failure]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>81D4FA</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.users]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<color>B2DFDB</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.success]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>6</sortorder>
<color>FFF59D</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.failure]&quot;,last]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Samba: Authentications &amp; Authorizations</name>
<show_work_period>NO</show_work_period>
<show_triggers>NO</show_triggers>

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:11:01Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_Samba_DC_Aggregate</template>
<name>Template_App_Samba_DC_Aggregate</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Samba</name>
</application>
<application>
<name>samba</name>
</application>
</applications>
<items>
<item>
<name>Samba: Aggregated number of failed computers authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.failure]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of successful computers authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.success]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of failed users authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.failure]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of successful users authentications</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.success]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of computers authorization requests</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.computers]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
<item>
<name>Samba: Aggregated number of users authorization requests</name>
<type>AGGREGATE</type>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.users]&quot;,last]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>!auth</units>
<applications>
<application>
<name>Samba</name>
</application>
</applications>
</item>
</items>
<macros>
<macro>
<macro>{$SAMBA_AGGREGATE_GROUP}</macro>
<value>Samba_DC</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>Samba: Aggregated Authentications &amp; Authorizations</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<color>EF9A9A</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.computers]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>CE93D8</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.success]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>9FA8DA</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.computers.failure]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>81D4FA</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authorizations.users]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<color>B2DFDB</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.success]&quot;,last]</key>
</item>
</graph_item>
<graph_item>
<sortorder>6</sortorder>
<color>FFF59D</color>
<item>
<host>Template_App_Samba_DC_Aggregate</host>
<key>grpsum[&quot;{$SAMBA_AGGREGATE_GROUP}&quot;,&quot;samba_dc.info[activity.authentications.users.failure]&quot;,last]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-01-16T17:32:11Z</date>
<version>5.0</version>
<date>2021-06-19T12:11:35Z</date>
<groups>
<group>
<name>Templates</name>
@ -28,8 +28,8 @@
<item>
<name>Squid: Used memory</name>
<key>proc.mem[squid]</key>
<delay>5m</delay>
<trends>1825d</trends>
<delay>10m</delay>
<trends>730d</trends>
<units>B</units>
<applications>
<application>
@ -44,7 +44,8 @@
<name>Squid: Number of processes</name>
<key>proc.num[squid]</key>
<delay>5m</delay>
<trends>1825d</trends>
<history>30d</history>
<trends>0</trends>
<units>!process</units>
<applications>
<application>
@ -65,7 +66,7 @@
<item>
<name>Squid: Info</name>
<key>squid.check[all]</key>
<delay>300s</delay>
<delay>10m</delay>
<history>0</history>
<trends>0</trends>
<value_type>TEXT</value_type>
@ -83,7 +84,7 @@
<type>DEPENDENT</type>
<key>squid.check[clients_num]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<units>!client(s)</units>
<applications>
<application>
@ -108,7 +109,7 @@
<type>DEPENDENT</type>
<key>squid.check[cpu_usage_avg_5min]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
@ -134,7 +135,7 @@
<type>DEPENDENT</type>
<key>squid.check[disk_hits_req_percent]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
@ -160,7 +161,7 @@
<type>DEPENDENT</type>
<key>squid.check[fd_used_percent]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
@ -193,7 +194,7 @@
<type>DEPENDENT</type>
<key>squid.check[hits_req_percent]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
@ -219,7 +220,7 @@
<type>DEPENDENT</type>
<key>squid.check[mean_object_size]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<units>B</units>
<applications>
<application>
@ -244,7 +245,7 @@
<type>DEPENDENT</type>
<key>squid.check[mem_hits_req_percent]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
@ -270,7 +271,7 @@
<type>DEPENDENT</type>
<key>squid.check[requests]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>req/s</units>
<applications>
@ -300,7 +301,7 @@
<type>DEPENDENT</type>
<key>squid.check[stor_swap_used_percent]</key>
<delay>0</delay>
<trends>1825d</trends>
<trends>730d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>

@ -0,0 +1,160 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:11:50Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_Squid_legacy</template>
<name>Template_App_Squid_legacy</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Nombre de File Descriptors disponibles</name>
<key>squid.available_fd</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>fd</units>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre moyen de requêtes HTTP par minute</name>
<key>squid.avg_http_req_per_min</key>
<delay>1h</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>req/min</units>
<request_method>POST</request_method>
</item>
<item>
<name>Taux du volume en cache</name>
<key>squid.byte_hit_ratio</key>
<delay>10m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<request_method>POST</request_method>
</item>
<item>
<name>Taille du cache sur disque</name>
<key>squid.cache_size_disk</key>
<delay>30m</delay>
<trends>1825d</trends>
<units>byte</units>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Taille du cache en mémoire</name>
<key>squid.cache_size_mem</key>
<delay>30m</delay>
<trends>1825d</trends>
<units>byte</units>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre maximum de Files Descriptors</name>
<key>squid.max_fd</key>
<delay>2h</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>fd</units>
<request_method>POST</request_method>
</item>
<item>
<name>Taux des requêtes en cache</name>
<key>squid.request_hit_ratio</key>
<delay>10m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre de File Descriptors réservés</name>
<key>squid.reserved_fd</key>
<delay>2h</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>fd</units>
<request_method>POST</request_method>
</item>
</items>
<macros>
<macro>
<macro>{$SQUID_MIN_FREE_FD}</macro>
<value>20</value>
</macro>
</macros>
</template>
</templates>
<triggers>
<trigger>
<expression>({Template_App_Squid_legacy:squid.available_fd.last(0)} - {Template_App_Squid_legacy:squid.reserved_fd.last(0)})*100/{Template_App_Squid_legacy:squid.max_fd.last(0)}&lt;{$SQUID_MIN_FREE_FD}</expression>
<name>Moins de {$SQUID_MIN_FREE_FD} % de descripteurs de fichiers disponibles pour Squid</name>
<priority>AVERAGE</priority>
<description>Plus que {ITEM.LASTVALUE1} descripteurs de fichiers disponibles pour Squid.</description>
</trigger>
</triggers>
<graphs>
<graph>
<name>Réseau: Statistiques Squid</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>BOLD_LINE</drawtype>
<color>009900</color>
<item>
<host>Template_App_Squid_legacy</host>
<key>squid.byte_hit_ratio</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>DD0000</color>
<item>
<host>Template_App_Squid_legacy</host>
<key>squid.request_hit_ratio</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>0000DD</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_App_Squid_legacy</host>
<key>squid.avg_http_req_per_min</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-03-02T14:24:14Z</date>
<version>5.0</version>
<date>2021-06-19T12:12:25Z</date>
<groups>
<group>
<name>Templates</name>
@ -347,6 +347,7 @@
<expression>{str(true)}=0</expression>
<name>AP {#UNIFI_DEV_NAME} is waiting adoption</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -914,7 +915,7 @@
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
<params>1h</params>
</step>
</preprocessing>
<master_item>
@ -926,6 +927,7 @@
<expression>{diff()}=1</expression>
<name>AP {#UNIFI_DEV_NAME} received a new config</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -1158,6 +1160,7 @@
<expression>{diff()}=1</expression>
<name>AP {#UNIFI_AP_NAME} changed its inform URL ({ITEM.LASTVALUE1})</name>
<priority>AVERAGE</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -1189,6 +1192,7 @@
<expression>{last()}&gt;{$UNIFI_LAST_SEEN_WARN}</expression>
<name>No contact with AP {#UNIFI_DEV_NAME} since {ITEM.LASTVALUE1}</name>
<priority>AVERAGE</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -1296,6 +1300,7 @@
<expression>{str(false)}=0</expression>
<name>AP {#UNIFI_DEV_NAME} location is enabled</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -1875,6 +1880,7 @@
<expression>{last()}&lt;2h</expression>
<name>AP {#UNIFI_DEV_NAME} rebooted</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -2060,7 +2066,7 @@
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
<params>1h</params>
</step>
</preprocessing>
<master_item>
@ -2072,6 +2078,7 @@
<expression>{diff()}=1</expression>
<name>AP {#UNIFI_DEV_NAME} changed firmware version ({ITEM.LASTVALUE1})</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -2398,6 +2405,7 @@
<expression>{str(true)}=0</expression>
<name>Switch {#UNIFI_DEV_NAME} is waiting adoption</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -2421,7 +2429,7 @@
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
<params>1h</params>
</step>
</preprocessing>
<master_item>
@ -2433,6 +2441,7 @@
<expression>{diff()}=1</expression>
<name>Switch {#UNIFI_DEV_NAME} received a new configuration</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -2531,6 +2540,7 @@
<expression>{last()}&gt;{$UNIFI_LAST_SEEN_WARN}</expression>
<name>No contact with switch {#UNIFI_DEV_NAME} since {ITEM.LASTVALUE1}</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -2638,6 +2648,7 @@
<expression>{str(false)}=0</expression>
<name>Switch {#UNIFI_DEV_NAME} has location enabed</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -2992,6 +3003,7 @@
<expression>{last()}&lt;2h</expression>
<name>Switch {#UNIFI_DEV_NAME} rebooted</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -3015,7 +3027,7 @@
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
<params>1h</params>
</step>
</preprocessing>
<master_item>
@ -3027,6 +3039,7 @@
<expression>{diff()}=1</expression>
<name>Firmware version of switch {#UNIFI_DEV_NAME} changed ({ITEM.LASTVALUE1})</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
@ -4917,7 +4930,7 @@
</macro>
<macro>
<macro>{$UNIFI_NOISE_WARN}</macro>
<value>-85</value>
<value>-82</value>
</macro>
<macro>
<macro>{$UNIFI_PASS}</macro>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2020-12-17T15:28:00Z</date>
<date>2021-06-19T12:12:56Z</date>
<groups>
<group>
<name>Templates</name>
@ -1110,8 +1110,8 @@ return (diff &lt; 0 ? 0 : diff);</params>
<step>
<type>JAVASCRIPT</type>
<params>json = JSON.parse(value);
logicalused = json.logicalused;
used = json.used;
logicalused = new Number(json.logicalused);
used = new Number(json.used);
return (logicalused &gt; used ? logicalused - used : 0);</params>
</step>
</preprocessing>
@ -1870,6 +1870,11 @@ return (logicalused &gt; used ? logicalused - used : 0);</params>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_App_ZFS:vfs.zfs.zpool[{#ZPOOL},status].nodata(2d)}=1 or {Template_App_ZFS:vfs.zfs.zpool[{#ZPOOL},allocated].nodata(2h)}=1</expression>
<name>ZFS: pool {#ZPOOL} has a monitoring issue</name>
<priority>WARNING</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{Template_App_ZFS:vfs.zfs.zpool[{#ZPOOL},write_errors].last()}&lt;&gt;0 or {Template_App_ZFS:vfs.zfs.zpool[{#ZPOOL},read_errors].last()}&lt;&gt;0 or {Template_App_ZFS:vfs.zfs.zpool[{#ZPOOL},cksum_errors].last()}&lt;&gt;0</expression>
<name>ZFS: Pool {#ZPOOL} has errors</name>
<priority>AVERAGE</priority>

@ -0,0 +1,937 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:12:41Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_App_Zabbix_Server</template>
<name>Template_App_Zabbix_Server</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<items>
<item>
<name>Mémoire utilisée par le serveur Zabbix</name>
<key>proc.mem[zabbix_server_mysql]</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>Octets</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,alerter,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus d'alertes sont occupés</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,configuration syncer,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de synchronisation de configuration sont occupés</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,db watchdog,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de surveillance de la base de données sont occupés</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,discoverer,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de découverte sont occupés</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,escalator,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus d'escalade d'alertes sont occupés</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,history syncer,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de synchronisation de l'historique sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix history syncer processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,housekeeper,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(1800)}&gt;75</expression>
<name>Plus de 75% des processus de nettoyage de l'historique sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix housekeeper processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,http poller,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes HTTP sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix http poller processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,icmp pinger,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes ICMP sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix icmp pinger processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,ipmi poller,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes IMPI sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix ipmi poller processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,java poller,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes java sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix java poller processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,node watcher,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de vérification des nœuds sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix node watcher processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,poller,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix poller processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,proxy poller,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes de proxy sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix proxy poller processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,self-monitoring,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus d'auto surveillance sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix self-monitoring processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,snmp trapper,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus d'écoute SNMP sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix snmp trapper processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,timer,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus d'ordonnancement sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix timer processes more than 75% busy&#13;
&#13;
Timer processes usually are busy because they have to process time based trigger functions</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,trapper,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus d'écoute sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix trapper processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Processus $2 en état $4 (en %)</name>
<type>INTERNAL</type>
<key>zabbix[process,unreachable poller,avg,busy]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;75</expression>
<name>Plus de 75% des processus de requêtes d'hôte injoignable sont occupés</name>
<priority>AVERAGE</priority>
<description>Zabbix unreachable poller processes more than 75% busy</description>
</trigger>
</triggers>
</item>
<item>
<name>Nombre d'éléments en attente depuis $2</name>
<type>INTERNAL</type>
<key>zabbix[queue,10m]</key>
<delay>10m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&gt;{$MAX_MISS_DATA_10M}</expression>
<name>{ITEM.VALUE1} éléments ont des données manquantes pendant plus de 10 minutes</name>
<priority>WARNING</priority>
<description>zabbix[queue,10m] item is collecting data about how many items are missing data for more than 10 minutes (next parameter)</description>
</trigger>
</triggers>
</item>
<item>
<name>Nombre d'éléments en attente</name>
<type>INTERNAL</type>
<key>zabbix[queue]</key>
<delay>10m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Cache de configuration (% libre)</name>
<type>INTERNAL</type>
<key>zabbix[rcache,buffer,pfree]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&lt;25</expression>
<name>Moins de 25% du cache de configuration libre</name>
<priority>AVERAGE</priority>
<description>Augmenter le CacheSize dans le fichier de configuration zabbix_server.conf</description>
</trigger>
</triggers>
</item>
<item>
<name>Cache en écriture de l'historique (% libre)</name>
<type>INTERNAL</type>
<key>zabbix[wcache,history,pfree]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&lt;25</expression>
<name>Moins de 25% du cache d'historique libre</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Cache en écriture des données texte (% libre)</name>
<type>INTERNAL</type>
<key>zabbix[wcache,text,pfree]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&lt;25</expression>
<name>Moins de 25% du cache des données texte libre</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Cache en écriture des tendances (% libre)</name>
<type>INTERNAL</type>
<key>zabbix[wcache,trend,pfree]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{min(600)}&lt;25</expression>
<name>Moins de 25% du cache de tendance libre</name>
<priority>AVERAGE</priority>
<description>Less than 25% free in the trends cache</description>
</trigger>
</triggers>
</item>
<item>
<name>Nombre de valeurs traitées par seconde</name>
<type>INTERNAL</type>
<key>zabbix[wcache,values]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Serveur Zabbix</name>
</application>
</applications>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<params/>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
</items>
<macros>
<macro>
<macro>{$MAX_MISS_DATA_10M}</macro>
<value>100</value>
</macro>
</macros>
<screens>
<screen>
<name>Zabbix server health</name>
<hsize>2</hsize>
<vsize>2</vsize>
<screen_items>
<screen_item>
<resourcetype>0</resourcetype>
<style>0</style>
<resource>
<name>Zabbix: Performance du serveur</name>
<host>Template_App_Zabbix_Server</host>
</resource>
<width>500</width>
<height>212</height>
<x>0</x>
<y>0</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<url/>
<application/>
<max_columns>3</max_columns>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<style>0</style>
<resource>
<name>Zabbix: Processus d'acquisition de données</name>
<host>Template_App_Zabbix_Server</host>
</resource>
<width>500</width>
<height>100</height>
<x>1</x>
<y>0</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<url/>
<application/>
<max_columns>3</max_columns>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<style>0</style>
<resource>
<name>Zabbix: Processus internes</name>
<host>Template_App_Zabbix_Server</host>
</resource>
<width>500</width>
<height>100</height>
<x>0</x>
<y>1</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<url/>
<application/>
<max_columns>3</max_columns>
</screen_item>
<screen_item>
<resourcetype>0</resourcetype>
<style>0</style>
<resource>
<name>Zabbix: Utilisation du cache (% libre)</name>
<host>Template_App_Zabbix_Server</host>
</resource>
<width>500</width>
<height>128</height>
<x>1</x>
<y>1</y>
<colspan>1</colspan>
<rowspan>1</rowspan>
<elements>0</elements>
<valign>1</valign>
<halign>0</halign>
<dynamic>0</dynamic>
<sort_triggers>0</sort_triggers>
<url/>
<application/>
<max_columns>3</max_columns>
</screen_item>
</screen_items>
</screen>
</screens>
</template>
</templates>
<graphs>
<graph>
<name>Zabbix: Performance du serveur</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>00C800</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[wcache,values]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>0000C8</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[queue,10m]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>C80000</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[queue]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Zabbix: Processus d'acquisition de données</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<color>990099</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,trapper,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>990000</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,poller,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>0000EE</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,ipmi poller,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>FF33FF</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,discoverer,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>00EE00</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,icmp pinger,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<color>003300</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,http poller,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>6</sortorder>
<color>CCCC00</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,proxy poller,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>7</sortorder>
<color>33FFFF</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,unreachable poller,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>8</sortorder>
<color>DD0000</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,java poller,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>9</sortorder>
<color>000099</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,snmp trapper,avg,busy]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Zabbix: Processus internes</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<color>00EE00</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,timer,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>007777</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,node watcher,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>0000EE</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,escalator,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>FFAA00</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,housekeeper,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>00EEEE</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,alerter,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<color>990099</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,configuration syncer,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>6</sortorder>
<color>666600</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,db watchdog,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>7</sortorder>
<color>EE0000</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,history syncer,avg,busy]</key>
</item>
</graph_item>
<graph_item>
<sortorder>8</sortorder>
<color>FF66FF</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[process,self-monitoring,avg,busy]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Zabbix: Utilisation du cache (% libre)</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<color>009900</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[wcache,trend,pfree]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>DD0000</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[rcache,buffer,pfree]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>00DDDD</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[wcache,text,pfree]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>3333FF</color>
<item>
<host>Template_App_Zabbix_Server</host>
<key>zabbix[wcache,history,pfree]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,603 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:14:06Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_Netgear_ReadyNas</template>
<name>Template_Netgear_ReadyNas</name>
<templates>
<template>
<name>Template_SNMP_Interfaces</name>
</template>
</templates>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Disk</name>
</application>
<application>
<name>Fans</name>
</application>
<application>
<name>General</name>
</application>
<application>
<name>Temperatures</name>
</application>
<application>
<name>Volume</name>
</application>
</applications>
<items>
<item>
<name>Serial number</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.2.0</snmp_oid>
<key>nasMgrSerialNUM</key>
<delay>1h</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>General</name>
</application>
</applications>
</item>
<item>
<name>Firmware version</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.1.0</snmp_oid>
<key>nasMgrSoftwareVersion</key>
<delay>1h</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>General</name>
</application>
</applications>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Discovery_Disk</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.4526.22.3.1.1]</snmp_oid>
<key>Disk</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>[{#SNMPVALUE}]_ataError</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.6.{#SNMPINDEX}</snmp_oid>
<key>DiskAtaError[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskCapacity</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.7.{#SNMPINDEX}</snmp_oid>
<key>DiskCapacity[{#SNMPVALUE}]</key>
<delay>8h</delay>
<history>30d</history>
<trends>0</trends>
<units>B</units>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskID</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.2.{#SNMPINDEX}</snmp_oid>
<key>DiskID[{#SNMPVALUE}]</key>
<delay>8h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskInterface</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.8.{#SNMPINDEX}</snmp_oid>
<key>DiskInterface[{#SNMPVALUE}]</key>
<delay>12h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskModel</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.5.{#SNMPINDEX}</snmp_oid>
<key>DiskModel[{#SNMPVALUE}]</key>
<delay>8h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskSerial</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.4.{#SNMPINDEX}</snmp_oid>
<key>DiskSerial[{#SNMPVALUE}]</key>
<delay>8h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskSlotName</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.3.{#SNMPINDEX}</snmp_oid>
<key>DiskSlotName[{#SNMPVALUE}]</key>
<delay>1h</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskState</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.9.{#SNMPINDEX}</snmp_oid>
<key>DiskState[{#SNMPVALUE}]</key>
<delay>5m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{regexp(&quot;ONLINE&quot;)}&lt;&gt;1</expression>
<name>Disk [{#SNMPVALUE}] status on {HOST.NAME} is {ITEM.LASTVALUE1}</name>
<priority>DISASTER</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_DiskTemperature</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.3.1.10.{#SNMPINDEX}</snmp_oid>
<key>DiskTemperature[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>°C</units>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last(0)}&gt;{$NETGEAR_HD_TEMP_WARN}</expression>
<name>Disk [{#SNMPVALUE}] temp is {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
<description>Disk temp is more than 50C</description>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Disk Temperature {#SNMPVALUE}</name>
<show_work_period>NO</show_work_period>
<show_triggers>NO</show_triggers>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>00C800</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>DiskTemperature[{#SNMPVALUE}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
<discovery_rule>
<name>Discovery_Fan</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.4526.22.4.1.1]</snmp_oid>
<key>Fan</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>[{#SNMPVALUE}]_FanRPM</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.4.1.2.{#SNMPINDEX}</snmp_oid>
<key>FanRPM[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>rpm</units>
<applications>
<application>
<name>Fans</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_FanStatus</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.4.1.3.{#SNMPINDEX}</snmp_oid>
<key>FanStatus[{#SNMPVALUE}]</key>
<delay>5m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Fans</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{regexp(&quot;ok&quot;)}&lt;&gt;1</expression>
<name>Fan [{#SNMPVALUE}] status is {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_FanType</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.4.1.4.{#SNMPINDEX}</snmp_oid>
<key>FanType[{#SNMPVALUE}]</key>
<delay>8h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Fans</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Fan RPM {#SNMPVALUE}</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>FanRPM[{#SNMPVALUE}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
<discovery_rule>
<name>Discovery_Temperatures</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.4526.22.5.1.1]</snmp_oid>
<key>Temperature</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>[{#SNMPVALUE}]_temperatureMax</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.5.1.5.{#SNMPINDEX}</snmp_oid>
<key>TemperatureMax[{#SNMPVALUE}]</key>
<delay>1h</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>°C</units>
<applications>
<application>
<name>Temperatures</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_temperatureMin</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.5.1.4.{#SNMPINDEX}</snmp_oid>
<key>TemperatureMin[{#SNMPVALUE}]</key>
<delay>1h</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>°C</units>
<applications>
<application>
<name>Temperatures</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_temperatureType</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.5.1.3.{#SNMPINDEX}</snmp_oid>
<key>TemperatureType[{#SNMPVALUE}]</key>
<delay>1h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Temperatures</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_temperatureValue</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.5.1.2.{#SNMPINDEX}</snmp_oid>
<key>TemperatureValue[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>°</units>
<description>We use a unsigned int to prevent -1° Temperatures which are sometimes returned by the ReadyNAS.&#13;
Seems to be a know problem in ReadyNAS SNMP implementation.&#13;
&#13;
https://community.netgear.com/t5/ReadyNAS-in-Business/Insane-disk-temp-readings-from-ReadyNAS-3100/td-p/928290</description>
<applications>
<application>
<name>Temperatures</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_Netgear_ReadyNas:TemperatureValue[{#SNMPVALUE}].last()}&lt;{Template_Netgear_ReadyNas:TemperatureMin[{#SNMPVALUE}].last()} or {Template_Netgear_ReadyNas:TemperatureValue[{#SNMPVALUE}].last()}&gt;{Template_Netgear_ReadyNas:TemperatureMax[{#SNMPVALUE}].last()}</expression>
<name>Temperature [{#SNMPVALUE}] is {ITEM.LASTVALUE1}</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Temperature {#SNMPVALUE}</name>
<ymin_type_1>ITEM</ymin_type_1>
<ymin_item_1>
<host>Template_Netgear_ReadyNas</host>
<key>TemperatureMin[{#SNMPVALUE}]</key>
</ymin_item_1>
<ymax_type_1>ITEM</ymax_type_1>
<ymax_item_1>
<host>Template_Netgear_ReadyNas</host>
<key>TemperatureMax[{#SNMPVALUE}]</key>
</ymax_item_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>TemperatureValue[{#SNMPVALUE}]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>EF9A9A</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>TemperatureMin[{#SNMPVALUE}]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>FFCA28</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>TemperatureMax[{#SNMPVALUE}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
<discovery_rule>
<name>Discovery_Volume</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.4526.22.7.1.1]</snmp_oid>
<key>Volume</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>[{#SNMPVALUE}]_VolumeFreeSpace</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.7.1.6.{#SNMPINDEX}</snmp_oid>
<key>volumeFreeSpace[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Volume</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1048576</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_VolumeName</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.7.1.2.{#SNMPINDEX}</snmp_oid>
<key>volumeName[{#SNMPVALUE}]</key>
<delay>1h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Volume</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_volumeRAIDLevel</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.7.1.3.{#SNMPINDEX}</snmp_oid>
<key>volumeRAIDLevel[{#SNMPVALUE}]</key>
<delay>8h</delay>
<history>30d</history>
<trends>0</trends>
<applications>
<application>
<name>Volume</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_VolumeSize</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.7.1.5.{#SNMPINDEX}</snmp_oid>
<key>volumeSize[{#SNMPVALUE}]</key>
<delay>1h</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Volume</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1048576</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_VolumeStatus</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.4526.22.7.1.4.{#SNMPINDEX}</snmp_oid>
<key>volumeStatus[{#SNMPVALUE}]</key>
<delay>5m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Volume</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{regexp(&quot;REDUNDANT&quot;)}&lt;&gt;1 and {regexp(&quot;UNPROTECTED&quot;)}&lt;&gt;1</expression>
<name>Volume[{#SNMPVALUE}] on {HOST.NAME} is {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>[{#SNMPVALUE}]_VolumeUsedSpace</name>
<type>CALCULATED</type>
<key>volumeUsedSpace[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>B</units>
<params>last(volumeSize[{#SNMPVALUE}])-last(volumeFreeSpace[{#SNMPVALUE}])</params>
<applications>
<application>
<name>Disk</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>({Template_Netgear_ReadyNas:volumeFreeSpace[{#SNMPVALUE}].last()} / {Template_Netgear_ReadyNas:volumeSize[{#SNMPVALUE}].last()} * 100) &gt; {$NETGEAR_VOL_USAGE_WARN}</expression>
<name>Volume {#SNMPVALUE} has {ITEM.LASTVALUE1} free space</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Volume Size {#SNMPVALUE}</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>ITEM</ymax_type_1>
<ymax_item_1>
<host>Template_Netgear_ReadyNas</host>
<key>volumeSize[{#SNMPVALUE}]</key>
</ymax_item_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>E1F5FE</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>volumeSize[{#SNMPVALUE}]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>26A69A</color>
<item>
<host>Template_Netgear_ReadyNas</host>
<key>volumeUsedSpace[{#SNMPVALUE}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$NETGEAR_HD_TEMP_WARN}</macro>
<value>50</value>
</macro>
<macro>
<macro>{$NETGEAR_VOL_USAGE_WARN}</macro>
<value>90</value>
</macro>
</macros>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,195 @@
<?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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-03-02T14:08:55Z</date>
<version>5.0</version>
<date>2021-06-19T12:17:25Z</date>
<groups>
<group>
<name>Modèles</name>
@ -46,12 +46,16 @@
<application>
<name>Processus</name>
</application>
<application>
<name>System</name>
</application>
</applications>
<items>
<item>
<name>TCP ping of the agent</name>
<key>agent.ping</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
@ -70,7 +74,7 @@
<dependencies>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_OS_PfSense2:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_PfSense2:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_OS_PfSense2:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_OS_PfSense2:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_OS_PfSense2:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<expression>{Template_OS_PfSense2:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_PfSense2:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_PfSense2:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_OS_PfSense2:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_OS_PfSense2:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_OS_PfSense2:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_OS_PfSense2:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
</dependencies>
@ -80,21 +84,34 @@
<item>
<name>Maximum number of opened files</name>
<key>kernel.maxfiles</key>
<delay>1h</delay>
<history>30d</history>
<trends>0</trends>
<units>fichiers</units>
<delay>2h</delay>
<history>60d</history>
<trends>1825d</trends>
<description>It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.</description>
<applications>
<application>
<name>Processus</name>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>Maximum number of processes</name>
<key>kernel.maxproc</key>
<delay>2h</delay>
<history>60d</history>
<trends>1825d</trends>
<description>It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.</description>
<applications>
<application>
<name>System</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>DNS Resolution response for $2</name>
<key>net.dns.record[127.0.0.1,{$DNS_NAME_CHECK},A,,]</key>
<history>30d</history>
<delay>5m</delay>
<history>15d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
@ -108,7 +125,7 @@
<name>DNS resolution for $2 is working</name>
<key>net.dns[127.0.0.1,{$DNS_NAME_CHECK},A,,]</key>
<delay>5m</delay>
<history>30d</history>
<history>15d</history>
<trends>0</trends>
<applications>
<application>
@ -125,22 +142,178 @@
</triggers>
</item>
<item>
<name>Opened files</name>
<key>openfiles.num</key>
<name>MBUF Cache</name>
<key>pfsense.mbuf.cache</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>fichiers</units>
<applications>
<application>
<name>Processus</name>
<name>Memory</name>
</application>
<application>
<name>Network</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>MBUF Current</name>
<key>pfsense.mbuf.current</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Memory</name>
</application>
<application>
<name>Network</name>
</application>
</applications>
</item>
<item>
<name>MBUF Max</name>
<key>pfsense.mbuf.max</key>
<delay>1h</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Memory</name>
</application>
<application>
<name>Network</name>
</application>
</applications>
</item>
<item>
<name>MBUF Total Used (percent)</name>
<type>CALCULATED</type>
<key>pfsense.mbuf.ptotal</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<params>((last(pfsense.mbuf.current) + last(pfsense.mbuf.cache)) * 100) / last(pfsense.mbuf.max)</params>
<applications>
<application>
<name>Memory</name>
</application>
<application>
<name>Network</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}&gt;80</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last()}&lt;75</recovery_expression>
<name>MBUF used at {ITEM.LASTVALUE1}</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>MBUF used at {ITEM.LASTVALUE1}</name>
<expression>{Template_OS_PfSense2:pfsense.mbuf.ptotal.last()}&gt;90</expression>
<recovery_expression>{Template_OS_PfSense2:pfsense.mbuf.ptotal.last()}&lt;85</recovery_expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{last()}&gt;90</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last()}&lt;85</recovery_expression>
<name>MBUF used at {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>States Table Current</name>
<key>pfsense.states.current</key>
<delay>2m</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>States Table Max</name>
<key>pfsense.states.max</key>
<delay>10m</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>2h</params>
</step>
</preprocessing>
</item>
<item>
<name>States Table Current (percent)</name>
<type>CALCULATED</type>
<key>pfsense.states.pused</key>
<delay>2m</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<params>(last(pfsense.states.current) * 100) / last(pfsense.states.max)</params>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}&gt;80</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last()}&lt;75</recovery_expression>
<name>States table used at {ITEM.LASTVALUE1}</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>States table used at {ITEM.LASTVALUE1}</name>
<expression>{Template_OS_PfSense2:pfsense.states.pused.last()}&gt;90</expression>
<recovery_expression>{Template_OS_PfSense2:pfsense.states.pused.last()}&lt;85</recovery_expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{last()}&gt;90</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last()}&lt;85</recovery_expression>
<name>States table used at {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>pfSense Installed Version</name>
<key>pfsense.value[system,installed_version]</key>
<delay>1h</delay>
<history>60d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
</item>
<item>
<name>Number of active processes</name>
<key>proc.num[,,run]</key>
<delay>2m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>processus</units>
<applications>
@ -161,7 +334,7 @@
<name>Number of sshd processes</name>
<key>proc.num[sshd]</key>
<delay>5m</delay>
<history>30d</history>
<history>60d</history>
<trends>0</trends>
<applications>
<application>
@ -181,6 +354,7 @@
<name>Number of processes</name>
<key>proc.num[]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>processus</units>
<request_method>POST</request_method>
@ -195,6 +369,7 @@
<item>
<name>CPU Load</name>
<key>system.cpu.load[,avg1]</key>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
@ -208,6 +383,7 @@
<name>CPU Load (5min)</name>
<key>system.cpu.load[,avg5]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
@ -221,6 +397,7 @@
<name>CPU Load (15min)</name>
<key>system.cpu.load[,avg15]</key>
<delay>15m</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
@ -231,9 +408,29 @@
<request_method>POST</request_method>
</item>
<item>
<name>Context switches per second</name>
<key>system.cpu.switches</key>
<delay>60</delay>
<history>60d</history>
<trends>1825d</trends>
<units>sps</units>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<params/>
</step>
</preprocessing>
</item>
<item>
<name>CPU usage: $2</name>
<key>system.cpu.util[,interrupt,avg1]</key>
<delay>45s</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -248,6 +445,7 @@
<name>CPU usage: $2</name>
<key>system.cpu.util[,nice,avg1]</key>
<delay>45s</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -262,6 +460,7 @@
<name>CPU usage: $2</name>
<key>system.cpu.util[,system,avg1]</key>
<delay>45s</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -276,6 +475,7 @@
<name>CPU usage: $2</name>
<key>system.cpu.util[,user,avg1]</key>
<delay>45s</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -291,6 +491,7 @@
<type>CALCULATED</type>
<key>system.swap.size.used</key>
<delay>10m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<params>last(&quot;system.swap.size[,total]&quot;)-last(&quot;system.swap.size[,free]&quot;)</params>
@ -305,6 +506,7 @@
<name>Swap: $2</name>
<key>system.swap.size[,free]</key>
<delay>10m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -316,10 +518,10 @@
</item>
<item>
<name>Free swap space in %</name>
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
<key>system.swap.size[,pfree]</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -329,6 +531,7 @@
<name>Swap: $2</name>
<key>system.swap.size[,pused]</key>
<delay>10m</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -350,6 +553,7 @@
<name>Swap: $2</name>
<key>system.swap.size[,total]</key>
<delay>1h</delay>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -363,13 +567,14 @@
<name>Uptime</name>
<key>system.uptime</key>
<delay>10m</delay>
<history>60d</history>
<trends>1825d</trends>
<units>s</units>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>({last(0)}&lt;{$REBOOT_WARN_DAY} and ({last(0)}&gt;090000 and {last(0)}&lt;230000)) or ({last(0)}&lt;{$REBOOT_WARN_NIGHT} and ({last(0)}&gt;230000 or {last(0)}&lt;090000))</expression>
<name>{HOSTNAME} rebooted {ITEM.LASTVALUE1} ago</name>
<expression>({last(0)}&lt;{$REBOOT_WARN_DAY} and ({time(0)}&gt;090000 and {time(0)}&lt;230000)) or ({last(0)}&lt;{$REBOOT_WARN_NIGHT} and ({time(0)}&gt;230000 or {time(0)}&lt;090000))</expression>
<name>System has rebooted</name>
<priority>INFO</priority>
</trigger>
</triggers>
@ -378,7 +583,13 @@
<name>Connected users</name>
<key>system.users.num</key>
<delay>5m</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>System</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
@ -440,6 +651,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[active]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -452,6 +664,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[buffers]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -464,6 +677,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[cached]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -476,6 +690,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[free]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -488,6 +703,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[inactive]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -501,6 +717,7 @@
<name>Memory: $1</name>
<type>CALCULATED</type>
<key>vm.memory.size[pfree]</key>
<history>60d</history>
<trends>1825d</trends>
<units>%</units>
<params>100*last(&quot;vm.memory.size[free]&quot;)/last(&quot;vm.memory.size[total]&quot;)</params>
@ -515,6 +732,7 @@
<name>Memory: $1</name>
<type>CALCULATED</type>
<key>vm.memory.size[pused]</key>
<history>60d</history>
<trends>1825d</trends>
<units>%</units>
<params>100*last(&quot;vm.memory.size[used]&quot;)/last(&quot;vm.memory.size[total]&quot;)</params>
@ -523,6 +741,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[shared]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -536,6 +755,7 @@
<name>Memory: $1</name>
<key>vm.memory.size[total]</key>
<delay>1h</delay>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -548,6 +768,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[used]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -560,6 +781,7 @@
<item>
<name>Memory: $1</name>
<key>vm.memory.size[wired]</key>
<history>60d</history>
<trends>1825d</trends>
<units>B</units>
<applications>
@ -572,8 +794,116 @@
</items>
<discovery_rules>
<discovery_rule>
<name>Gateway discovery</name>
<key>pfsense.discovery[gw]</key>
<delay>1h</delay>
<lifetime>1d</lifetime>
<item_prototypes>
<item_prototype>
<name>Gateway $2 RTT</name>
<key>pfsense.value[gw_value,{#GATEWAY},delay]</key>
<delay>3m</delay>
<history>30d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<preprocessing>
<step>
<type>RTRIM</type>
<params>ms</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>0.001</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>Gateway $2 Packet Loss</name>
<key>pfsense.value[gw_value,{#GATEWAY},loss]</key>
<delay>3m</delay>
<history>60d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<preprocessing>
<step>
<type>RTRIM</type>
<params>%</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>Gateway $2 Status</name>
<key>pfsense.value[gw_value,{#GATEWAY},status]</key>
<delay>3m</delay>
<history>30d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{$PFS_MONITOR_GW}=1 and {last()}=5 and {last(#2)}=5</expression>
<name>Gateway {#GATEWAY} is down</name>
<priority>HIGH</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
<trigger_prototype>
<expression>{$PFS_MONITOR_GW}=1 and {last()}=2 and {last(#2)}=2</expression>
<name>High Delay on gateway {#GATEWAY}</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
<trigger_prototype>
<expression>{$PFS_MONITOR_GW}=1 and {last()}=3 and {last(#2)}=3</expression>
<name>High packet loss on {#GATEWAY}</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Gateway $2 RTT Std Deviation</name>
<key>pfsense.value[gw_value,{#GATEWAY},stddev]</key>
<delay>3m</delay>
<history>30d</history>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<preprocessing>
<step>
<type>RTRIM</type>
<params>ms</params>
</step>
<step>
<type>MULTIPLIER</type>
<params>0.001</params>
</step>
</preprocessing>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Network interface discovery</name>
<key>net.if.discovery</key>
<key>pfsense.discovery[interfaces]</key>
<delay>1h</delay>
<filter>
<conditions>
@ -587,7 +917,7 @@
<lifetime>10d</lifetime>
<item_prototypes>
<item_prototype>
<name>Inbound trafic on {#IFNAME}</name>
<name>Inbound trafic on {#IFDESCR} ({#IFNAME})</name>
<key>net.if.in[{#IFNAME},bytes]</key>
<delay>45s</delay>
<trends>1825d</trends>
@ -611,7 +941,7 @@
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Errors on inbound trafic for {#IFNAME}</name>
<name>Errors on inbound trafic for {#IFDESCR} ({#IFNAME})</name>
<key>net.if.in[{#IFNAME},errors]</key>
<delay>15m</delay>
<trends>1825d</trends>
@ -631,7 +961,7 @@
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Outbound trafic on {#IFNAME}</name>
<name>Outbound trafic on {#IFDESCR} ({#IFNAME})</name>
<key>net.if.out[{#IFNAME},bytes]</key>
<delay>45s</delay>
<trends>1825d</trends>
@ -655,7 +985,7 @@
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Errors on outbound trafic for {#IFNAME}</name>
<name>Errors on outbound trafic for {#IFDESCR} ({#IFNAME})</name>
<key>net.if.out[{#IFNAME},errors]</key>
<delay>15m</delay>
<trends>1825d</trends>
@ -677,9 +1007,10 @@
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Network: trafic: {#IFNAME}</name>
<name>Network: trafic: {#IFDESCR} ({#IFNAME})</name>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>009900</color>
<item>
@ -688,7 +1019,7 @@
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<sortorder>2</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF6666</color>
<item>
@ -697,7 +1028,7 @@
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<sortorder>3</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>EE00EE</color>
<yaxisside>RIGHT</yaxisside>
@ -707,7 +1038,7 @@
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<sortorder>4</sortorder>
<drawtype>BOLD_LINE</drawtype>
<color>EE00EE</color>
<yaxisside>RIGHT</yaxisside>
@ -722,6 +1053,172 @@
<request_method>POST</request_method>
</discovery_rule>
<discovery_rule>
<name>IPsec Phase 1 Discovery</name>
<key>pfsense.discovery[ipsec_ph1]</key>
<delay>2h</delay>
<item_prototypes>
<item_prototype>
<name>IPsec Tunnel {#IKEID} {#NAME} Tunnel Disabled</name>
<key>pfsense.value[ipsec_ph1,{#IKEID},disabled]</key>
<delay>1h</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>IPsec Tunnel {#IKEID} {#NAME} Phase 1 Status</name>
<key>pfsense.value[ipsec_ph1,{#IKEID},status]</key>
<delay>3m</delay>
<history>30d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_OS_PfSense2:pfsense.value[ipsec_ph1,{#IKEID},disabled].last()}&lt;&gt;1 and {Template_OS_PfSense2:pfsense.value[ipsec_ph1,{#IKEID},status].last()}&lt;&gt;1 and {Template_OS_PfSense2:pfsense.value[ipsec_ph1,{#IKEID},status].last(#2)}&lt;&gt;1</expression>
<name>IPsec Tunnel {#IKEID} ({#NAME}) Not Connected</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</discovery_rule>
<discovery_rule>
<name>OpenVPN Client Discovery</name>
<key>pfsense.discovery[openvpn_client]</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>OpenVPN Client {#NAME} Tunnel Status</name>
<key>pfsense.value[openvpn_clientvalue,{#CLIENT},status]</key>
<delay>3m</delay>
<history>30d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}=0 and {last(#2)}=0</expression>
<name>OpenVPN Client {#NAME} Tunnel is Down</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>OpenVPN Server Discovery</name>
<key>pfsense.discovery[openvpn_server]</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>OpenVPN Server {#NAME} Clients Connected</name>
<key>pfsense.value[openvpn_servervalue,{#SERVER},conns]</key>
<delay>3m</delay>
<history>60d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>OpenVPN Server {#NAME} Tunnel Status</name>
<key>pfsense.value[openvpn_servervalue,{#SERVER},status]</key>
<delay>3m</delay>
<history>30d</history>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}=0 and {last(#2)}=0</expression>
<name>OpenVPN Server {#NAME} is Down</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Network: OpenVPN {#NAME} connections</name>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>FFD54F</color>
<item>
<host>Template_OS_PfSense2</host>
<key>pfsense.value[openvpn_servervalue,{#SERVER},conns]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
<discovery_rule>
<name>Services Discovery</name>
<key>pfsense.discovery[services]</key>
<delay>1h</delay>
<filter>
<conditions>
<condition>
<macro>{#SERVICE}</macro>
<value>^openvpn</value>
<operator>NOT_MATCHES_REGEX</operator>
<formulaid>A</formulaid>
</condition>
<condition>
<macro>{#SERVICE}</macro>
<value>^iperf</value>
<operator>NOT_MATCHES_REGEX</operator>
<formulaid>B</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>Service {#DESCRIPTION} Status</name>
<key>pfsense.value[service_value,{#SERVICE},status]</key>
<delay>5m</delay>
<history>30d</history>
<trends>0</trends>
<applications>
<application>
<name>Processus</name>
</application>
<application>
<name>System</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}=0</expression>
<name>Service {#DESCRIPTION} is not running</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Filesystem discovery</name>
<key>vfs.fs.discovery</key>
<delay>2h</delay>
@ -833,6 +1330,10 @@
<value>5</value>
</macro>
<macro>
<macro>{$PFS_MONITOR_GW}</macro>
<value>1</value>
</macro>
<macro>
<macro>{$REBOOT_WARN_DAY}</macro>
<value>7200</value>
</macro>
@ -847,18 +1348,31 @@
</macros>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template_OS_PfSense2:openfiles.num.last(0)}&gt;({Template_OS_PfSense2:kernel.maxfiles.last(0)}-2000)</expression>
<name>Lots of opened files</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
<graphs>
<graph>
<name>Network: Connection states</name>
<ymax_type_1>ITEM</ymax_type_1>
<ymax_item_1>
<host>Template_OS_PfSense2</host>
<key>pfsense.states.max</key>
</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>B39DDB</color>
<item>
<host>Template_OS_PfSense2</host>
<key>pfsense.states.current</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: CPU: Load</name>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<color>009900</color>
<item>
<host>Template_OS_PfSense2</host>
@ -866,7 +1380,7 @@
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<sortorder>2</sortorder>
<color>FF0000</color>
<item>
<host>Template_OS_PfSense2</host>
@ -874,13 +1388,22 @@
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<sortorder>3</sortorder>
<color>CCCC00</color>
<item>
<host>Template_OS_PfSense2</host>
<key>system.cpu.load[,avg5]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<color>0040FF</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_OS_PfSense2</host>
<key>system.cpu.switches</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
@ -927,6 +1450,33 @@
</graph_items>
</graph>
<graph>
<name>System: Mbuf usage</name>
<type>STACKED</type>
<ymax_type_1>ITEM</ymax_type_1>
<ymax_item_1>
<host>Template_OS_PfSense2</host>
<key>pfsense.mbuf.max</key>
</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>1</sortorder>
<color>81C784</color>
<item>
<host>Template_OS_PfSense2</host>
<key>pfsense.mbuf.current</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>7986CB</color>
<item>
<host>Template_OS_PfSense2</host>
<key>pfsense.mbuf.cache</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: Memory</name>
<show_work_period>NO</show_work_period>
<show_triggers>NO</show_triggers>

@ -0,0 +1,806 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:17:39Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_OS_Windows_Minimal</template>
<name>Template_OS_Windows_Minimal</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Applications</name>
</application>
<application>
<name>Disks</name>
</application>
<application>
<name>Memory</name>
</application>
<application>
<name>Network</name>
</application>
<application>
<name>Processor</name>
</application>
<application>
<name>Various</name>
</application>
</applications>
<items>
<item>
<name>TCP Ping of the agent</name>
<key>agent.ping</key>
<delay>5m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<request_method>POST</request_method>
</item>
<item>
<name>Zabbix agent version</name>
<key>agent.version</key>
<delay>30m</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Applications</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>CPU Usage: Userspace</name>
<key>perf_counter[&quot;\238(_Total)\142&quot;,45]</key>
<delay>45s</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>CPU Usage: System</name>
<key>perf_counter[&quot;\238(_Total)\144&quot;,45]</key>
<delay>45s</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Number of processes</name>
<key>proc.num[]</key>
<delay>5m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Applications</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>CPU Load</name>
<key>system.cpu.load[,avg1]</key>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>CPU Load (5min)</name>
<key>system.cpu.load[,avg5]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>CPU Load (15min)</name>
<key>system.cpu.load[,avg15]</key>
<delay>15m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Number of CPU</name>
<key>system.cpu.num[]</key>
<delay>1d</delay>
<trends>1825d</trends>
<units>cpu</units>
<applications>
<application>
<name>Processor</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Swap: used (%)</name>
<type>CALCULATED</type>
<key>system.swap.size.pused</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>%</units>
<params>100*last(system.swap.size.used)/last(&quot;system.swap.size[,total]&quot;)</params>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&gt;{$SWAP_CRITICAL}</expression>
<name>High swap usage</name>
<status>DISABLED</status>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>Swap: used</name>
<type>CALCULATED</type>
<key>system.swap.size.used</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>B</units>
<params>last(&quot;system.swap.size[,total]&quot;)-last(&quot;system.swap.size[,free]&quot;)</params>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Swap: $2</name>
<key>system.swap.size[,free]</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Swap: $2</name>
<key>system.swap.size[,total]</key>
<delay>15m</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Uptime</name>
<key>system.uptime</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>s</units>
<applications>
<application>
<name>Various</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Memory: used (%)</name>
<type>CALCULATED</type>
<key>vm.memory.size.pused</key>
<trends>1825d</trends>
<units>%</units>
<params>100*last(vm.memory.size.used)/last(vm.memory.size[total])</params>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Memory: used</name>
<type>CALCULATED</type>
<key>vm.memory.size.used</key>
<trends>1825d</trends>
<units>B</units>
<params>last(vm.memory.size[total])-last(vm.memory.size[free])</params>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Memory: $1</name>
<key>vm.memory.size[cached]</key>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Mémory: $1</name>
<key>vm.memory.size[free]</key>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Memory: $1</name>
<key>vm.memory.size[total]</key>
<delay>15m</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Network interface discovery</name>
<key>net.if.discovery</key>
<delay>1h</delay>
<filter>
<conditions>
<condition>
<macro>{#IFNAME}</macro>
<value>@decouverte_interfaces_rzo</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<description>Découverte des interfaces réseau</description>
<item_prototypes>
<item_prototype>
<name>Inbound trafic for{#IFNAME}</name>
<key>net.if.in[&quot;{#IFNAME}&quot;]</key>
<delay>45s</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>b</units>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<params/>
</step>
<step>
<type>MULTIPLIER</type>
<params>8</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Outbound trafic for {#IFNAME}</name>
<key>net.if.out[&quot;{#IFNAME}&quot;]</key>
<delay>45s</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>b</units>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<params/>
</step>
<step>
<type>MULTIPLIER</type>
<params>-8</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Network: trafic: {#IFNAME}</name>
<graph_items>
<graph_item>
<drawtype>FILLED_REGION</drawtype>
<color>009900</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>net.if.in[&quot;{#IFNAME}&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF6666</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>net.if.out[&quot;{#IFNAME}&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
<request_method>POST</request_method>
</discovery_rule>
<discovery_rule>
<name>Filesystem discovery</name>
<key>vfs.fs.discovery</key>
<delay>1h;50s/1-7,00:00-24:00</delay>
<filter>
<conditions>
<condition>
<macro>{#FSTYPE}</macro>
<value>@decouverte_fs</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<lifetime>2d</lifetime>
<description>Découverte des FS et points de montage</description>
<item_prototypes>
<item_prototype>
<name>Average read delay on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\208&quot;,300]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Average write delay on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\210&quot;,300]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Read operations on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\214&quot;,180]</key>
<delay>3m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>iops</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Write operations on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\216&quot;,180]</key>
<delay>3m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>iops</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>-1</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Reads on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\220&quot;,180]</key>
<delay>3m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>B/s</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Writes on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\222&quot;,180]</key>
<delay>3m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>B/s</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>-1</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Cumulated queue length on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\1400&quot;,300]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Read queue length {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\1402&quot;,300]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Write queue length on {#FSNAME}</name>
<key>perf_counter[&quot;\236({#FSNAME})\1404&quot;,300]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Used space on {#FSNAME} (%)</name>
<key>vfs.fs.size[{#FSNAME},pused]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last(0)}&gt;{$DF_CRITICAL}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last(0)}&lt;({$DF_CRITICAL}-2)</recovery_expression>
<name>{#FSNAME} is {ITEM.LASTVALUE1} full</name>
<priority>AVERAGE</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{last(0)}&gt;{$DF_WARN}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last(0)}&lt;({$DF_WARN}-2)</recovery_expression>
<name>{#FSNAME} is {ITEM.LASTVALUE1} full</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>{#FSNAME} is {ITEM.LASTVALUE1} full</name>
<expression>{Template_OS_Windows_Minimal:vfs.fs.size[{#FSNAME},pused].last(0)}&gt;{$DF_CRITICAL}</expression>
<recovery_expression>{Template_OS_Windows_Minimal:vfs.fs.size[{#FSNAME},pused].last(0)}&lt;({$DF_CRITICAL}-2)</recovery_expression>
</dependency>
</dependencies>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Used space on {#FSNAME}</name>
<key>vfs.fs.size[{#FSNAME},used]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>o</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>System: delay on {#FSNAME}</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<color>00CC00</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>perf_counter[&quot;\236({#FSNAME})\208&quot;,300]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>CC0000</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>perf_counter[&quot;\236({#FSNAME})\210&quot;,300]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
<graph_prototype>
<name>System: queue length on {#FSNAME}</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<color>00CC00</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>perf_counter[&quot;\236({#FSNAME})\1402&quot;,300]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>DD0000</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>perf_counter[&quot;\236({#FSNAME})\1404&quot;,300]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
<request_method>POST</request_method>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$DF_CRITICAL}</macro>
<value>95</value>
</macro>
<macro>
<macro>{$DF_WARN}</macro>
<value>90</value>
</macro>
<macro>
<macro>{$SWAP_CRITICAL}</macro>
<value>75</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>System: CPU: Load</name>
<graph_items>
<graph_item>
<color>FF0000</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>system.cpu.load[,avg15]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>FFFF33</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>system.cpu.load[,avg5]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>009900</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>system.cpu.load[,avg1]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: CPU: Usage</name>
<type>STACKED</type>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<color>FF0000</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>perf_counter[&quot;\238(_Total)\144&quot;,45]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>FFFF00</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>perf_counter[&quot;\238(_Total)\142&quot;,45]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: Memory</name>
<type>STACKED</type>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>ITEM</ymax_type_1>
<ymax_item_1>
<host>Template_OS_Windows_Minimal</host>
<key>vm.memory.size[total]</key>
</ymax_item_1>
<graph_items>
<graph_item>
<color>0000CC</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>vm.memory.size.used</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>CCFFFF</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>vm.memory.size[free]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: Processes</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>FILLED_REGION</drawtype>
<color>FFFF33</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>proc.num[]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: Swap</name>
<type>STACKED</type>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>ITEM</ymax_type_1>
<ymax_item_1>
<host>Template_OS_Windows_Minimal</host>
<key>system.swap.size[,total]</key>
</ymax_item_1>
<graph_items>
<graph_item>
<color>FF0000</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>system.swap.size.used</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>FFFFCC</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>system.swap.size[,free]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>System: Uptime</name>
<graph_items>
<graph_item>
<drawtype>FILLED_REGION</drawtype>
<color>FF0000</color>
<item>
<host>Template_OS_Windows_Minimal</host>
<key>system.uptime</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>Service state</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>Down</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>Up</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>

@ -0,0 +1,339 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:17:53Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_OS_Windows_Serveur</template>
<name>Template_OS_Windows_Serveur</name>
<templates>
<template>
<name>Template_OS_Windows_Minimal</name>
</template>
<template>
<name>Template_Ping</name>
</template>
</templates>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<discovery_rules>
<discovery_rule>
<name>Megaraid discovery: adapters</name>
<key>raid.megaraid.discovery[adapter]</key>
<delay>12h</delay>
<item_prototypes>
<item_prototype>
<name>MegaRAID : Adapter {#MEGARAID_ADP} : Firmware version</name>
<key>raid.megaraid.adapter[{#MEGARAID_ADP},fw_version]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1</expression>
<recovery_mode>NONE</recovery_mode>
<name>Firmware version changed on {#MEGARAID_ADP}</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>MegaRAID : Adapter {#MEGARAID_ADP} : Model</name>
<key>raid.megaraid.adapter[{#MEGARAID_ADP},product_name]</key>
<delay>12h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Megaraid discovery : bbu</name>
<key>raid.megaraid.discovery[bbu]</key>
<delay>12h</delay>
<item_prototypes>
<item_prototype>
<name>MegaRAID : BBU of adapter {#ADAPTER_ID} : State</name>
<key>raid.megaraid.bbu[{#ADAPTER_ID},bbu_state]</key>
<delay>30m</delay>
<history>30d</history>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&lt;&gt;0</expression>
<name>BBU on adapter {#ADAPTER_ID} must be checked</name>
<priority>AVERAGE</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{nodata(2h)}=1</expression>
<name>BBU on adapter {#ADAPTER_ID} not checked recently</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>No ping information received in last 3 minutes</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=1</expression>
</dependency>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
<dependency>
<name>Zabbix agent unavailable</name>
<expression>{Template_OS_Windows_Serveur:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1</expression>
</dependency>
</dependencies>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>MegaRAID : BBU of adapter {#ADAPTER_ID} : Design capacity</name>
<key>raid.megaraid.bbu[{#ADAPTER_ID},design_capacity]</key>
<delay>30m</delay>
<history>30d</history>
<units>mAh</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>MegaRAID : BBU of adapter {#ADAPTER_ID} : Full capacity</name>
<key>raid.megaraid.bbu[{#ADAPTER_ID},full_capacity]</key>
<delay>30m</delay>
<history>30d</history>
<units>mAh</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template_OS_Windows_Serveur:raid.megaraid.bbu[{#ADAPTER_ID},full_capacity].last()}&lt;({Template_OS_Windows_Serveur:raid.megaraid.bbu[{#ADAPTER_ID},design_capacity].last()}/2)</expression>
<name>BBU on adapter {#ADAPTER_ID} capacity is less than 50%</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</discovery_rule>
<discovery_rule>
<name>Megaraid discovery: pdisks</name>
<key>raid.megaraid.discovery[pdisk]</key>
<delay>3h</delay>
<item_prototypes>
<item_prototype>
<name>MegaRAID : Disk [{#ENCLOSURE_ID}:{#PDRIVE_ID}] on adapter {#ADAPTER_ID} : State</name>
<key>raid.megaraid.pdisk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},firmware_state]</key>
<delay>15m</delay>
<history>30d</history>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&lt;&gt;0</expression>
<name>Drive [{#ENCLOSURE_ID},{#PDRIVE_ID}] on adapter {#ADAPTER_ID} has an issue</name>
<priority>AVERAGE</priority>
<dependencies>
<dependency>
<name>Drive [{#ENCLOSURE_ID},{#PDRIVE_ID}] on adapter {#ADAPTER_ID} is rebuilding</name>
<expression>{Template_OS_Windows_Serveur:raid.megaraid.pdisk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},firmware_state].last()}=2</expression>
</dependency>
</dependencies>
</trigger_prototype>
<trigger_prototype>
<expression>{last()}=2</expression>
<name>Drive [{#ENCLOSURE_ID},{#PDRIVE_ID}] on adapter {#ADAPTER_ID} is rebuilding</name>
<priority>WARNING</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{nodata(2h)}=1</expression>
<name>Drive [{#ENCLOSURE_ID},{#PDRIVE_ID}] on adapter {#ADAPTER_ID} not checked recently</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>No ping information received in last 3 minutes</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=1</expression>
</dependency>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
<dependency>
<name>Zabbix agent unavailable</name>
<expression>{Template_OS_Windows_Serveur:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1</expression>
</dependency>
</dependencies>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>MegaRAID : Disk [{#ENCLOSURE_ID}:{#PDRIVE_ID}] on adapter {#ADAPTER_ID} : Media Errors</name>
<key>raid.megaraid.pdisk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},media_errors]</key>
<delay>15m</delay>
<history>30d</history>
<units>!errors</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1</expression>
<recovery_mode>NONE</recovery_mode>
<name>Drive [{#ENCLOSURE_ID},{#PDRIVE_ID}] on adapter {#ADAPTER_ID} has {ITEM.LASTVALUE1} (media)</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>MegaRAID : Disk [{#ENCLOSURE_ID}:{#PDRIVE_ID}] on adapter {#ADAPTER_ID} : Predictive errors</name>
<key>raid.megaraid.pdisk[{#ADAPTER_ID},{#ENCLOSURE_ID},{#PDRIVE_ID},predictive_errors]</key>
<delay>15m</delay>
<history>30d</history>
<units>!errors</units>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1</expression>
<recovery_mode>NONE</recovery_mode>
<name>Drive [{#ENCLOSURE_ID},{#PDRIVE_ID}] on adapter {#ADAPTER_ID} has {ITEM.LASTVALUE1} (predictive)</name>
<priority>WARNING</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Megaraid discovery: vdisks</name>
<key>raid.megaraid.discovery[vdisk]</key>
<delay>12h</delay>
<item_prototypes>
<item_prototype>
<name>MegaRAID : vdisk {#VDRIVE_ID} on adapter {#ADAPTER_ID} : State</name>
<key>raid.megaraid.vdisk[{#ADAPTER_ID},{#VDRIVE_ID},vd_state]</key>
<delay>15m</delay>
<history>30d</history>
<applications>
<application>
<name>Disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&lt;&gt;0</expression>
<name>Virtual drive {#VDRIVE_ID} on adapter {#ADAPTER_ID} is not optimal</name>
<priority>HIGH</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{nodata(2h)}=1</expression>
<name>Virtual drive {#VDRIVE_ID} on adapter {#ADAPTER_ID} not checked recently</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>No ping information received in last 3 minutes</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=1</expression>
</dependency>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
<dependency>
<name>Zabbix agent unavailable</name>
<expression>{Template_OS_Windows_Serveur:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1</expression>
</dependency>
</dependencies>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$LOAD_COEF}</macro>
<value>1</value>
</macro>
<macro>
<macro>{$MAX_PROCESSES}</macro>
<value>200</value>
</macro>
<macro>
<macro>{$REBOOT_WARN}</macro>
<value>21600</value>
</macro>
<macro>
<macro>{$ZBX_UNREACHABLE_TIMEOUT}</macro>
<value>900</value>
</macro>
</macros>
</template>
</templates>
<triggers>
<trigger>
<expression>({Template_OS_Windows_Serveur:system.cpu.load[,avg1].avg(900)}&gt;({Template_OS_Windows_Serveur:system.cpu.num[].last(0)}*3*{$LOAD_COEF})) or ({Template_OS_Windows_Serveur:system.cpu.load[,avg1].avg(1800)}&gt;({Template_OS_Windows_Serveur:system.cpu.num[].last(0)}*2.5*{$LOAD_COEF})) or ({Template_OS_Windows_Serveur:system.cpu.load[,avg1].avg(7200)}&gt;({Template_OS_Windows_Serveur:system.cpu.num[].last(0)}*1.2*{$LOAD_COEF}))</expression>
<name>High CPU load</name>
<priority>INFO</priority>
</trigger>
<trigger>
<expression>{Template_OS_Windows_Serveur:proc.num[].last(0)}&gt;{$MAX_PROCESSES}</expression>
<name>Too many processes</name>
<priority>AVERAGE</priority>
</trigger>
<trigger>
<expression>{Template_OS_Windows_Serveur:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1</expression>
<name>Zabbix agent unavailable</name>
<priority>DISASTER</priority>
<dependencies>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_OS_Windows_Serveur:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_OS_Windows_Serveur:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{Template_OS_Windows_Serveur:system.uptime.last(0)}&lt;{$REBOOT_WARN}</expression>
<name>{HOSTNAME} rebooted {ITEM.LASTVALUE1} ago</name>
<priority>INFO</priority>
</trigger>
</triggers>
</zabbix_export>

@ -0,0 +1,980 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:18:52Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_OS_iPasserelle</template>
<name>Template_OS_iPasserelle</name>
<templates>
<template>
<name>Template_App_MySQL_legacy</name>
</template>
<template>
<name>Template_App_Qmail</name>
</template>
<template>
<name>Template_App_Samba</name>
</template>
<template>
<name>Template_App_SOGo</name>
</template>
<template>
<name>Template_App_Squid_legacy</name>
</template>
<template>
<name>Template_App_SSLExpire</name>
</template>
<template>
<name>Template_OS_Linux_Server</name>
</template>
<template>
<name>Template_PublicService_HTTP</name>
</template>
<template>
<name>Template_PublicService_HTTPS</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Availability</name>
</application>
<application>
<name>CPU</name>
</application>
<application>
<name>Emails</name>
</application>
<application>
<name>Filesystem</name>
</application>
<application>
<name>General</name>
</application>
<application>
<name>Log files</name>
</application>
<application>
<name>Memory</name>
</application>
<application>
<name>OS</name>
</application>
<application>
<name>Performance</name>
</application>
<application>
<name>Processes</name>
</application>
<application>
<name>Réseau</name>
</application>
<application>
<name>Security</name>
</application>
<application>
<name>Services</name>
</application>
</applications>
<items>
<item>
<name>Adresse IP publique</name>
<key>ip.external</key>
<delay>1h</delay>
<trends>0</trends>
<status>DISABLED</status>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Network</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Données bayes</name>
<key>mail.bayes.all</key>
<delay>30m</delay>
<history>3600</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre de ham soumis (bayes)</name>
<type>DEPENDENT</type>
<key>mail.bayes.ham</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mail</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.ham</params>
</step>
</preprocessing>
<master_item>
<key>mail.bayes.all</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre de spam soumis (bayes)</name>
<type>DEPENDENT</type>
<key>mail.bayes.spam</key>
<delay>0</delay>
<trends>1825d</trends>
<units>mail</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.spam</params>
</step>
</preprocessing>
<master_item>
<key>mail.bayes.all</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>Nombre de tokens (bayes)</name>
<type>DEPENDENT</type>
<key>mail.bayes.token</key>
<delay>0</delay>
<trends>1825d</trends>
<units>token</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>JSONPATH</type>
<params>$.token</params>
</step>
</preprocessing>
<master_item>
<key>mail.bayes.all</key>
</master_item>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[check_basicheaders]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[check_earlytalker]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[check_goodrcptto]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[check_spamhelo]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[clamav]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[dnsbl]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[karma]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[other_denied]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants acceptés ($1)</name>
<key>mail.in[queued]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[resolvable_fromhost]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[rhsbl]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[spam_denied]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants acceptés, classés en spam ($1)</name>
<key>mail.in[spam_queued]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[spf]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[tls_failed]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants ($1)</name>
<key>mail.in[total]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{avg(7200)}&gt;{$TOO_MANY_MAIL_COEF}*{avg(604800)}</expression>
<name>Trop de mails entrants</name>
<priority>INFO</priority>
<description>Si la moyenne des mails reçus sur les deux dernières heures est supérieures à 10x la moyenne des mails reçus sur la dernière semaine, on trig</description>
</trigger>
</triggers>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[total_denied]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails entrants rejetés ($1)</name>
<key>mail.in[uribl]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails sortants ($1)</name>
<key>mail.out[deferral]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails sortants en erreur ($1)</name>
<key>mail.out[failure]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Mails sortants avec succès ($1)</name>
<key>mail.out[success]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{sum({$NO_OUTGOING_MAIL_WARN})}&lt;1</expression>
<name>Aucun mail sortant</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>Mails sortants ($1)</name>
<key>mail.out[total]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>mails/h</units>
<applications>
<application>
<name>Emails</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>6</params>
</step>
</preprocessing>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{avg(7200)}&gt;{$TOO_MANY_MAIL_COEF}*{avg(604800)}</expression>
<name>Trop de mails sortants</name>
<priority>INFO</priority>
<description>Si la moyenne des mails envoyés sur les deux dernières heures est supérieures à 10x la moyenne des mails envoyés sur la dernière semaine, on trig</description>
</trigger>
</triggers>
</item>
<item>
<name>Requête DNS $2</name>
<key>net.dns.record[,2.0.0.127.multi.uribl.com,TXT,,,]</key>
<delay>15m</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Réseau</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{str(&quot;permanent testpoint&quot;)}=0</expression>
<name>Problème sur les requêtes uribl.com</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Requête DNS $2</name>
<key>net.dns.record[,test.multi.surbl.org.multi.surbl.org,TXT,,,]</key>
<delay>15m</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Réseau</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{regexp(&quot;(wild|multi)\.surbl\.org permanent test point&quot;)}=0</expression>
<name>Problème sur les requêtes surbl.org</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>Number of running processes qmail-remote</name>
<key>proc.num[,,,qmail-remote]</key>
<trends>1825d</trends>
<applications>
<application>
<name>Processes</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Number of running processes qpsmtpd-forkserver</name>
<key>proc.num[,,,qpsmtpd-forkserver]</key>
<trends>1825d</trends>
<applications>
<application>
<name>Processes</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Activation du service $1</name>
<key>sme.service.status[nmbd]</key>
<delay>1h</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Applications</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Activation du service $1</name>
<key>sme.service.status[smbd]</key>
<delay>1h</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Applications</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Activation du service $1</name>
<key>sme.service.status[sogod]</key>
<delay>1h</delay>
<trends>1825d</trends>
<applications>
<application>
<name>Applications</name>
</application>
<application>
<name>Emails</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Number of updates available</name>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
<key>updates.available</key>
<delay>3h</delay>
<trends>1825d</trends>
<units>updates</units>
<params>DSN=&lt;database source name&gt;\nuser=&lt;user name&gt;\npassword=&lt;password&gt;\nsql=&lt;query&gt;</params>
<applications>
<application>
<name>Security</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
</items>
<macros>
<macro>
<macro>{$DNS_NAME_CHECK}</macro>
<value>zabbix.firewall-services.com.</value>
</macro>
<macro>
<macro>{$MAX_PROCESSES}</macro>
<value>480</value>
</macro>
<macro>
<macro>{$MAX_RUNNING_PROCESSES}</macro>
<value>15</value>
</macro>
<macro>
<macro>{$MAX_USERS}</macro>
<value>5</value>
</macro>
<macro>
<macro>{$NO_OUTGOING_MAIL_WARN}</macro>
<value>#5</value>
</macro>
<macro>
<macro>{$SSL_WARN_EXPIRE}</macro>
<value>28</value>
</macro>
<macro>
<macro>{$TOO_MANY_MAIL_COEF}</macro>
<value>10</value>
</macro>
</macros>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template_OS_iPasserelle:mail.in[clamav].avg(7200)}&gt;{Template_OS_iPasserelle:mail.in[total].avg(7200)}/3</expression>
<name>Trop de mails contenant des virus</name>
<status>DISABLED</status>
<priority>WARNING</priority>
<description>Plus d'un tiers des mails entrants sont détectés comme virus</description>
</trigger>
</triggers>
<graphs>
<graph>
<name>Réseau: Email: Connexions concurentes</name>
<show_triggers>NO</show_triggers>
<graph_items>
<graph_item>
<drawtype>FILLED_REGION</drawtype>
<color>009900</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>proc.num[,,,qpsmtpd-forkserver]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF6666</color>
<yaxisside>RIGHT</yaxisside>
<item>
<host>Template_OS_iPasserelle</host>
<key>proc.num[,,,qmail-remote]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Réseau: Email: Entrant</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<drawtype>FILLED_REGION</drawtype>
<color>00CC00</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[queued]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>99FF99</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[spam_queued]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>990000</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[clamav]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF0000</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[spam_denied]</key>
</item>
</graph_item>
<graph_item>
<sortorder>4</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>0000CC</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[dnsbl]</key>
</item>
</graph_item>
<graph_item>
<sortorder>5</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>9999FF</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[rhsbl]</key>
</item>
</graph_item>
<graph_item>
<sortorder>6</sortorder>
<color>8048B4</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[uribl]</key>
</item>
</graph_item>
<graph_item>
<sortorder>7</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>99FFFF</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[check_goodrcptto]</key>
</item>
</graph_item>
<graph_item>
<sortorder>8</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF00FF</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[check_basicheaders]</key>
</item>
</graph_item>
<graph_item>
<sortorder>9</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FFFF00</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[karma]</key>
</item>
</graph_item>
<graph_item>
<sortorder>10</sortorder>
<color>FFCCFF</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[resolvable_fromhost]</key>
</item>
</graph_item>
<graph_item>
<sortorder>11</sortorder>
<color>274482</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[spf]</key>
</item>
</graph_item>
<graph_item>
<sortorder>12</sortorder>
<color>2B5429</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[tls_failed]</key>
</item>
</graph_item>
<graph_item>
<sortorder>13</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>AAAAAA</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[other_denied]</key>
</item>
</graph_item>
<graph_item>
<sortorder>14</sortorder>
<color>00AAAA</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.in[check_spamhelo]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Réseau: Email: Sortant</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<drawtype>FILLED_REGION</drawtype>
<color>009900</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.out[success]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FFFF00</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.out[deferral]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF0000</color>
<item>
<host>Template_OS_iPasserelle</host>
<key>mail.out[failure]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-03-02T14:07:54Z</date>
<version>5.0</version>
<date>2021-06-19T12:18:12Z</date>
<groups>
<group>
<name>Modèles</name>
@ -38,6 +38,7 @@
<name>Packet loss</name>
<type>SIMPLE</type>
<key>icmppingloss[,6,500,,1500]</key>
<delay>{$PING_FREQ}</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
@ -55,12 +56,12 @@
<dependencies>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{$PING_INFO}=1 and {Template_Ping:icmpping[,2,,,2000].sum({$DOWN_WARN})}=0</expression>
<expression>{Template_Ping:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_Ping:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_Ping:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_Ping:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_Ping:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_Ping:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_Ping:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_Ping:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<expression>{Template_Ping:icmpping[,2,,,2000].sum({$DOWN_WARN})}=0</expression>
<recovery_expression>{Template_Ping:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
</dependencies>
@ -71,6 +72,7 @@
<name>Latency</name>
<type>SIMPLE</type>
<key>icmppingsec</key>
<delay>{$PING_FREQ}</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
@ -94,7 +96,7 @@
<name>Ping response</name>
<type>SIMPLE</type>
<key>icmpping[,2,,,2000]</key>
<delay>30s</delay>
<delay>{$PING_FREQ}</delay>
<trends>1825d</trends>
<applications>
<application>
@ -104,7 +106,20 @@
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{$PING_INFO}=1 and {sum({$DOWN_WARN})}=0</expression>
<expression>{nodata(180,strict)}=1</expression>
<name>No ping information received in last 3 minutes</name>
<priority>INFO</priority>
</trigger>
<trigger>
<expression>{nodata(180,strict)}=0 and {sum({$DOWN_CRITICAL})}=0 and {dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{sum(180)}&gt;3</recovery_expression>
<name>No ping response from {HOST.IP1}</name>
<priority>DISASTER</priority>
<manual_close>YES</manual_close>
</trigger>
<trigger>
<expression>{sum({$DOWN_WARN})}=0</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{sum(180)}&gt;3</recovery_expression>
<name>No ping response from {HOST.IP1}</name>
@ -113,19 +128,11 @@
<dependencies>
<dependency>
<name>No ping response from {HOST.IP1}</name>
<expression>{Template_Ping:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_Ping:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_Ping:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<expression>{Template_Ping:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_Ping:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {Template_Ping:icmpping[,2,,,2000].dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {Template_Ping:icmpping[,2,,,2000].time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {Template_Ping:icmpping[,2,,,2000].time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_expression>{Template_Ping:icmpping[,2,,,2000].sum(180)}&gt;3</recovery_expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{sum({$DOWN_CRITICAL})}=0 and {dayofweek(0)}&gt;={$PING_ALERT_FROM_DAY} and {dayofweek(0)}&lt;={$PING_ALERT_TO_DAY} and {time(0)}&gt;={$PING_ALERT_FROM_HOUR} and {time(0)}&lt;={$PING_ALERT_TO_HOUR}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{sum(180)}&gt;3</recovery_expression>
<name>No ping response from {HOST.IP1}</name>
<priority>DISASTER</priority>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
</items>
@ -167,9 +174,9 @@
<value>235959</value>
</macro>
<macro>
<macro>{$PING_INFO}</macro>
<value>1</value>
<description>Info alert if no response, before critical alert</description>
<macro>{$PING_FREQ}</macro>
<value>30s</value>
<description>Ping frequency</description>
</macro>
</macros>
</template>

@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:18:27Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_PublicService_HTTP</template>
<name>Template_PublicService_HTTP</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Service HTTP</name>
<type>SIMPLE</type>
<key>net.tcp.service[http]</key>
<delay>2m</delay>
<trends>1825d</trends>
<valuemap>
<name>Service state</name>
</valuemap>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{$SERVICE_HTTP}=1 and {sum(#3)}=0</expression>
<name>Le service HTTP ne répond pas</name>
<priority>INFO</priority>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$SERVICE_HTTP}</macro>
<value>1</value>
</macro>
</macros>
</template>
<template>
<template>Template_PublicService_HTTPS</template>
<name>Template_PublicService_HTTPS</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Temps de réponse HTTPS (de l'extérieur)</name>
<type>SIMPLE</type>
<key>net.tcp.service.perf[https]</key>
<delay>2m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>s</units>
<valuemap>
<name>Service state</name>
</valuemap>
<request_method>POST</request_method>
</item>
<item>
<name>Service HTTPS (de l'extérieur)</name>
<type>SIMPLE</type>
<key>net.tcp.service[https]</key>
<delay>2m</delay>
<trends>1825d</trends>
<valuemap>
<name>Service state</name>
</valuemap>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{$SERVICE_HTTPS}=1 and {sum(#3)}=0</expression>
<name>Le service HTTPS ne répond pas</name>
<priority>INFO</priority>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$SERVICE_HTTPS}</macro>
<value>1</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>Services: HTTPS (extérieur)</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>C80000</color>
<item>
<host>Template_PublicService_HTTPS</host>
<key>net.tcp.service.perf[https]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>Service state</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>Down</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>Up</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>

@ -0,0 +1,723 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:07:00Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template SNMP QNAP NAS</template>
<name>Template SNMP QNAP NAS</name>
<templates>
<template>
<name>Template_SNMP_Interfaces</name>
</template>
</templates>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Hard disks</name>
</application>
<application>
<name>Memory</name>
</application>
<application>
<name>Network interfaces</name>
</application>
<application>
<name>System</name>
</application>
<application>
<name>Sytem fans</name>
</application>
<application>
<name>Volumes</name>
</application>
</applications>
<items>
<item>
<name>CPU temperature</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.5.0</snmp_oid>
<key>CPU-TemperatureEX</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>°C</units>
<description>CPU temperature in centigrade</description>
<applications>
<application>
<name>System</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{min(15m)}&gt;{$QNAP_CPU_TEMP_CRIT}</expression>
<name>CPU temp on {HOST.HOST} is {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
</trigger>
<trigger>
<expression>{min(15m)}&gt;{$QNAP_CPU_TEMP_WARN}</expression>
<name>CPU temp on {HOST.HOST} is {ITEM.LASTVALUE1}</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>CPU temp on {HOST.HOST} is {ITEM.LASTVALUE1}</name>
<expression>{Template SNMP QNAP NAS:CPU-TemperatureEX.min(15m)}&gt;{$QNAP_CPU_TEMP_CRIT}</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>Device system name</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.13.0</snmp_oid>
<key>HostNameEX</key>
<delay>3600</delay>
<history>7d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<description>Host name</description>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>Device model name</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.12.0</snmp_oid>
<key>ModelNameEX</key>
<delay>6h</delay>
<history>1d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>Device firmware revision</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.9.1</snmp_oid>
<key>PhysicalFirmwareRev</key>
<delay>30m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<inventory_link>SOFTWARE</inventory_link>
<applications>
<application>
<name>System</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{diff(0)}&gt;0</expression>
<name>Firmware on {HOST.NAME} is changed</name>
<priority>INFO</priority>
</trigger>
</triggers>
</item>
<item>
<name>Device hardware revision</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.8.1</snmp_oid>
<key>PhysicalHardwareRev</key>
<delay>6h</delay>
<history>1d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<inventory_link>HARDWARE</inventory_link>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>Device software revision</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.10.1</snmp_oid>
<key>PhysicalSoftwareRev</key>
<delay>3600</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>Device vendor name</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.12.1</snmp_oid>
<key>sysPhysicalMfgName</key>
<delay>3600</delay>
<history>1d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<inventory_link>VENDOR</inventory_link>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>CPU usage</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.1.0</snmp_oid>
<key>SystemCPU-UsageEX</key>
<delay>60</delay>
<trends>1825d</trends>
<units>%</units>
<description>System CPU usage</description>
<applications>
<application>
<name>System</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{min(15m)}&gt;80</expression>
<name>CPU utilization on {HOST.NAME} is over 80% for 15 min</name>
<priority>WARNING</priority>
</trigger>
<trigger>
<expression>{min(15m)}&gt;95</expression>
<name>CPU utilization on {HOST.NAME} is over 95% for 15 min</name>
<priority>AVERAGE</priority>
</trigger>
</triggers>
</item>
<item>
<name>System free memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.3.0</snmp_oid>
<key>SystemFreeMemEX</key>
<delay>2m</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>System</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1000</params>
</step>
</preprocessing>
</item>
<item>
<name>System free memory (%)</name>
<type>CALCULATED</type>
<key>SystemPFreeMemEX</key>
<delay>2m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<params>last(SystemFreeMemEX)/(last(SystemTotalMemEX)/100)</params>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>System temperature</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.6.0</snmp_oid>
<key>SystemTemperatureEX</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>°C</units>
<description>System temperature in centigrade</description>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>System total memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.2.0</snmp_oid>
<key>SystemTotalMemEX</key>
<delay>10800</delay>
<trends>1825d</trends>
<units>b</units>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>System used memory</name>
<type>CALCULATED</type>
<key>SystemUsedMemEX</key>
<delay>2m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>B</units>
<params>last(SystemTotalMemEX)-last(SystemFreeMemEX)</params>
<applications>
<application>
<name>System</name>
</application>
</applications>
</item>
<item>
<name>System uptime</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.25.1.1.0</snmp_oid>
<key>sysUptime</key>
<delay>60s</delay>
<trends>1825d</trends>
<units>uptime</units>
<applications>
<application>
<name>System</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.01</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{change(0)}&lt;0</expression>
<name>{HOST.NAME} has just been restarted</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>System fans discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.24681.1.3.15.1.2]</snmp_oid>
<key>sysFans.discovery</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>Speed of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.15.1.3.{#SNMPINDEX}</snmp_oid>
<key>SysFanSpeedEX[{#SNMPINDEX}]</key>
<delay>60</delay>
<history>1d</history>
<units>RPM</units>
<applications>
<application>
<name>Sytem fans</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{max(60)}=0</expression>
<name>{#SNMPVALUE} fan on {HOST.NAME} possibly is stopped</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Hard disks discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.24681.1.3.11.1.2,{#DISK_STATUS},.1.3.6.1.4.1.24681.1.3.11.1.4]</snmp_oid>
<key>sysHDs.discovery</key>
<delay>1h</delay>
<filter>
<conditions>
<condition>
<macro>{#DISK_STATUS}</macro>
<value>-5</value>
<operator>NOT_MATCHES_REGEX</operator>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>Capacity of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.11.1.6.{#SNMPINDEX}</snmp_oid>
<key>HdCapacityEX[{#SNMPINDEX}]</key>
<delay>2h</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Hard disks</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>Model of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.11.1.5.{#SNMPINDEX}</snmp_oid>
<key>HdModelEX[{#SNMPINDEX}]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Hard disks</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>S.M.A.R.T. info of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.11.1.7.{#SNMPINDEX}</snmp_oid>
<key>HdSmartInfoEX[{#SNMPINDEX}]</key>
<delay>5m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Hard disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{iregexp(abnormal)}=1</expression>
<name>SMART state of {#SNMPVALUE} on {HOST.NAME} is ABNORMAL</name>
<priority>AVERAGE</priority>
<description>Abnormal&#13;
1. Any SMART value is equal or less than trhreshold.&#13;
2. Hard Disk temperature is higher than 65 degree C.&#13;
--------&#13;
QNAP Knowledgebase</description>
</trigger_prototype>
<trigger_prototype>
<expression>{iregexp(normal)}=1</expression>
<name>SMART state of {#SNMPVALUE} on {HOST.NAME} is not GOOD ({ITEM.VALUE1})</name>
<priority>WARNING</priority>
<description>Normal&#13;
1. Any Smart value is equal or less than threhold + (initial_SMART_value - threhold)/2. For example, if the initial SMART value is 100, the current value is 50, the threshold is 20, then the Smart value, 50, is less than 20+(100-20)/2. Thus, the health level would be Normal.&#13;
2. Any SMART test(Rapid or Complete) result of last 20 times is abnormal.&#13;
3. Hard Disk temperature is between 55 to 65 degree C.&#13;
--------&#13;
QNAP Knowledgebase</description>
<dependencies>
<dependency>
<name>SMART state of {#SNMPVALUE} on {HOST.NAME} is ABNORMAL</name>
<expression>{Template SNMP QNAP NAS:HdSmartInfoEX[{#SNMPINDEX}].iregexp(abnormal)}=1</expression>
</dependency>
</dependencies>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Status of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.11.1.4.{#SNMPINDEX}</snmp_oid>
<key>HdStatusEX[{#SNMPINDEX}]</key>
<delay>5m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>FLOAT</value_type>
<applications>
<application>
<name>Hard disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last(0)}&lt;&gt;0</expression>
<name>Disk {#SNMPVALUE} on {HOST.NAME} must be checked ({ITEM.LASTVALUE1})</name>
<priority>WARNING</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{last(0)}&lt;&gt;0</expression>
<name>State of {#SNMPVALUE} on {HOST.NAME} is not &quot;Ready&quot; ({ITEM.VALUE1})</name>
<priority>INFO</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Temperature of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.11.1.3.{#SNMPINDEX}</snmp_oid>
<key>HdTemperatureEX[{#SNMPINDEX}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>C</units>
<applications>
<application>
<name>Hard disks</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{min(15m)}&gt;{$HD_TEMPERATURE_WARNING}</expression>
<name>Temperature of {#SNMPVALUE} on {HOST.NAME} is {ITEM.LASTVALUE1}</name>
<priority>WARNING</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{min(15m)}&gt;{$QNAP_HD_TEMP_CRIT}</expression>
<name>Temperature of {#SNMPVALUE} on {HOST.NAME} is {ITEM.LASTVALUE1}</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Volumes discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.24681.1.3.17.1.2]</snmp_oid>
<key>sysVolumes.discovery</key>
<delay>1h</delay>
<lifetime>7d</lifetime>
<item_prototypes>
<item_prototype>
<name>Free size of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.17.1.5.{#SNMPINDEX}</snmp_oid>
<key>SysVolumeFreeSizeEX[{#SNMPINDEX}]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Volumes</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>Free size of {#SNMPVALUE} (%)</name>
<type>CALCULATED</type>
<key>SysVolumePFreeSizeEX[{#SNMPINDEX}]</key>
<delay>10m</delay>
<trends>1825d</trends>
<value_type>FLOAT</value_type>
<units>%</units>
<params>last(SysVolumeFreeSizeEX[{#SNMPINDEX}])/(last(SysVolumeTotalSizeEX[{#SNMPINDEX}])/100)</params>
<applications>
<application>
<name>Volumes</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last(0)}&lt;(100-{$QNAP_VOL_USAGE_WARN})</expression>
<name>Only {ITEM.LASTVALUE1} free space on volume {#SNMPVALUE}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Status of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.17.1.6.{#SNMPINDEX}</snmp_oid>
<key>SysVolumeStatusEX[{#SNMPINDEX}]</key>
<delay>10m</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
<applications>
<application>
<name>Volumes</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{regexp(Ready)}&lt;&gt;1</expression>
<name>{#SNMPVALUE} is not ready</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Total size of {#SNMPVALUE}</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.24681.1.3.17.1.4.{#SNMPINDEX}</snmp_oid>
<key>SysVolumeTotalSizeEX[{#SNMPINDEX}]</key>
<delay>1h</delay>
<trends>1825d</trends>
<units>B</units>
<applications>
<application>
<name>Volumes</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>Used size of {#SNMPVALUE}</name>
<type>CALCULATED</type>
<key>SysVolumeUsedSizeEX[{#SNMPINDEX}]</key>
<delay>10m</delay>
<trends>1825d</trends>
<units>B</units>
<params>last(SysVolumeTotalSizeEX[{#SNMPINDEX}])-last(SysVolumeFreeSizeEX[{#SNMPINDEX}])</params>
<applications>
<application>
<name>Volumes</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Volume {#SNMPVALUE} usage</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>8888FF</color>
<calc_fnc>MAX</calc_fnc>
<item>
<host>Template SNMP QNAP NAS</host>
<key>SysVolumeTotalSizeEX[{#SNMPINDEX}]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>008800</color>
<calc_fnc>MAX</calc_fnc>
<item>
<host>Template SNMP QNAP NAS</host>
<key>SysVolumeUsedSizeEX[{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$QNAP_CPU_TEMP_CRIT}</macro>
<value>70</value>
</macro>
<macro>
<macro>{$QNAP_CPU_TEMP_WARN}</macro>
<value>60</value>
</macro>
<macro>
<macro>{$QNAP_HD_TEMP_CRIT}</macro>
<value>55</value>
</macro>
<macro>
<macro>{$QNAP_HD_TEMP_WARN}</macro>
<value>47</value>
</macro>
<macro>
<macro>{$QNAP_VOL_USAGE_WARN}</macro>
<value>90</value>
</macro>
<macro>
<macro>{$SNMP_COMMUNITY}</macro>
<value>public</value>
</macro>
<macro>
<macro>{$SNMP_PORT}</macro>
<value>161</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>CPU utilization</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>FF0000</color>
<item>
<host>Template SNMP QNAP NAS</host>
<key>SystemCPU-UsageEX</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Device temperature</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<color>BB0000</color>
<item>
<host>Template SNMP QNAP NAS</host>
<key>CPU-TemperatureEX</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>0000BB</color>
<item>
<host>Template SNMP QNAP NAS</host>
<key>SystemTemperatureEX</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Memory usage</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>B2EBF2</color>
<calc_fnc>MAX</calc_fnc>
<item>
<host>Template SNMP QNAP NAS</host>
<key>SystemTotalMemEX</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>66BB6A</color>
<item>
<host>Template SNMP QNAP NAS</host>
<key>SystemUsedMemEX</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:19:20Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_Switch_Cisco</template>
<name>Template_Switch_Cisco</name>
<templates>
<template>
<name>Template_SNMP_Interfaces</name>
</template>
</templates>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Hardware</name>
</application>
</applications>
<items>
<item>
<name>Hardware: Firmware version</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.9.9.25.1.1.1.2.5</snmp_oid>
<key>cisco.hw.firmware_version</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Hardware</name>
</application>
</applications>
<preprocessing>
<step>
<type>REGEX</type>
<params>\$(.*)\$
\1</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{change()}=1</expression>
<name>Firmware version changed ({ITEM.LASTVALUE1})</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
</items>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,429 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:19:32Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_Switch_Dell_PowerConnect</template>
<name>Template_Switch_Dell_PowerConnect</name>
<templates>
<template>
<name>Template_Switch_Generic</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<applications>
<application>
<name>Information(s)</name>
</application>
<application>
<name>Inventory</name>
</application>
<application>
<name>System</name>
</application>
</applications>
<items>
<item>
<name>Memory: Available</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.4.2.0</snmp_oid>
<key>agentSwitchCpuProcessMemAvailable</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>bytes</units>
<applications>
<application>
<name>System</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1000</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>Memory: Free</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.4.1.0</snmp_oid>
<key>agentSwitchCpuProcessMemFree</key>
<delay>5m</delay>
<trends>1825d</trends>
<units>bytes</units>
<applications>
<application>
<name>System</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1000</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
<item>
<name>CPU usage</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.4.9.0</snmp_oid>
<key>agentSwitchCpuProcessTotalUtilization</key>
<delay>5m</delay>
<trends>1825d</trends>
<status>DISABLED</status>
<units>%</units>
<applications>
<application>
<name>System</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Model</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.1.0</snmp_oid>
<key>productIdentificationDisplayName</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<inventory_link>TYPE</inventory_link>
<applications>
<application>
<name>Information(s)</name>
</application>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Serial number</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.4.1</snmp_oid>
<key>productIdentificationServiceTag</key>
<delay>2h;50s/1-7,00:00-24:00</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<inventory_link>SERIALNO_A</inventory_link>
<applications>
<application>
<name>Information(s)</name>
</application>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
</item>
<item>
<name>Firmware version</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.4.0</snmp_oid>
<key>productIdentificationVersion</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<inventory_link>OS</inventory_link>
<applications>
<application>
<name>Information(s)</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{diff(0)}&gt;0</expression>
<name>Software version was changed</name>
<priority>INFO</priority>
</trigger>
</triggers>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Fan</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.674.10895.3000.1.2.110.7.1.1.2]</snmp_oid>
<key>envMonFanStatusDescr</key>
<delay>2h</delay>
<lifetime>1w</lifetime>
<item_prototypes>
<item_prototype>
<name>État du ventilateur $1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.110.7.1.1.3.{#SNMPINDEX}</snmp_oid>
<key>envMonFanState[{#SNMPVALUE}]</key>
<delay>5m</delay>
<history>180d</history>
<trends>1825d</trends>
<applications>
<application>
<name>System</name>
</application>
</applications>
<valuemap>
<name>dellEnvMonState</name>
</valuemap>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff(0)}=1</expression>
<name>L'état du ventilateur {#SNMPVALUE} a changé</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>$1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.110.7.1.1.2.{#SNMPINDEX}</snmp_oid>
<key>envMonFanStatusDescr[{#SNMPVALUE}]</key>
<delay>2h</delay>
<history>180d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>System</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
<discovery_rule>
<name>Power suplly discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.674.10895.3000.1.2.110.7.2.1.2]</snmp_oid>
<key>envMonSupplyStatusDescr</key>
<delay>2h</delay>
<lifetime>1w</lifetime>
<item_prototypes>
<item_prototype>
<name>$1 État de l'alimentation</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.110.7.2.1.3.{#SNMPINDEX}</snmp_oid>
<key>envMonSupplyState[{#SNMPVALUE}]</key>
<delay>5m</delay>
<trends>1825d</trends>
<applications>
<application>
<name>System</name>
</application>
</applications>
<valuemap>
<name>dellEnvMonState</name>
</valuemap>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last(0)}&lt;&gt; 1 and {last(0)} &lt;&gt; 5</expression>
<name>Défaut de l'alimentation {#SNMPVALUE} (état {ITEM.VALUE1})</name>
<priority>WARNING</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{diff(0)}=1</expression>
<name>L'état de l'alimentation {#SNMPVALUE} a changé</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>$1 power supply</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.110.7.2.1.2.{#SNMPINDEX}</snmp_oid>
<key>envMonSupplyStatusDescr[{#SNMPVALUE}]</key>
<delay>2h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>System</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
<discovery_rule>
<name>Hardware inventory</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.1]</snmp_oid>
<key>productIdentificationPerUnitTable</key>
<delay>1h</delay>
<lifetime>1w</lifetime>
<item_prototypes>
<item_prototype>
<name>Asset tag of unit $1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.3.{#SNMPINDEX}</snmp_oid>
<key>productIdentificationAssetTag[{#SNMPVALUE}]</key>
<delay>2h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Bootrom version of unit $1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.6.{#SNMPINDEX}</snmp_oid>
<key>productIdentificationBootromVersion[{#SNMPVALUE}]</key>
<delay>2h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff(0)}&gt;0</expression>
<name>La version du bootrom de l'unité {#SNMPVALUE} a changé</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Chassis service tag of unit $1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.5.{#SNMPINDEX}</snmp_oid>
<key>productIdentificationChassisServiceTag[{#SNMPVALUE}]</key>
<delay>2h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Serial number of unit $1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.2.{#SNMPINDEX}</snmp_oid>
<key>productIdentificationSerialNumber[{#SNMPVALUE}]</key>
<delay>2h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff(0)}&gt;0</expression>
<name>Le numéro de série de l'unité {#SNMPVALUE} a changé</name>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Service tag of unit $1</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.674.10895.3000.1.2.100.8.1.4.{#SNMPINDEX}</snmp_oid>
<key>productIdentificationServiceTag[{#SNMPVALUE}]</key>
<delay>2h</delay>
<trends>0</trends>
<value_type>CHAR</value_type>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<request_method>POST</request_method>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
</discovery_rules>
</template>
</templates>
<triggers>
<trigger>
<expression>({Template_Switch_Dell_PowerConnect:agentSwitchCpuProcessMemAvailable.last(0)}-{Template_Switch_Dell_PowerConnect:agentSwitchCpuProcessMemFree.last(0)})&gt;0.8*{Template_Switch_Dell_PowerConnect:agentSwitchCpuProcessMemAvailable.last(0)}</expression>
<name>Memory usage exceeded 80%</name>
<status>DISABLED</status>
<priority>HIGH</priority>
</trigger>
</triggers>
<graphs>
<graph>
<name>Memory usage</name>
<graph_items>
<graph_item>
<drawtype>BOLD_LINE</drawtype>
<color>EACC00</color>
<item>
<host>Template_Switch_Dell_PowerConnect</host>
<key>agentSwitchCpuProcessMemAvailable</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>FILLED_REGION</drawtype>
<color>FF0000</color>
<item>
<host>Template_Switch_Dell_PowerConnect</host>
<key>agentSwitchCpuProcessMemFree</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>dellEnvMonState</name>
<mappings>
<mapping>
<value>1</value>
<newvalue>normal</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>warning</newvalue>
</mapping>
<mapping>
<value>3</value>
<newvalue>critical</newvalue>
</mapping>
<mapping>
<value>4</value>
<newvalue>notPresent</newvalue>
</mapping>
<mapping>
<value>5</value>
<newvalue>notFunctioning</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>

@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:19:47Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_Switch_Netgear_Prosafe</template>
<name>Template_Switch_Netgear_Prosafe</name>
<templates>
<template>
<name>Template_Switch_Generic</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<discovery_rules>
<discovery_rule>
<name>Stack members</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#UNIT_SERIAL},.1.3.6.1.2.1.47.1.1.1.1.11,{#STACK_POSITION},.1.3.6.1.2.1.47.1.1.1.1.6]</snmp_oid>
<key>stack.members.discovery</key>
<delay>30m</delay>
<filter>
<conditions>
<condition>
<macro>{#UNIT_SERIAL}</macro>
<value>^.+$</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<lifetime>1w</lifetime>
<item_prototypes>
<item_prototype>
<name>Model ($1)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.2.{#SNMPINDEX}</snmp_oid>
<key>stack.member.model[{#SNMPINDEX}]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Stack position ($1)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.6.{#SNMPINDEX}</snmp_oid>
<key>stack.member.position[{#SNMPINDEX}]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<request_method>POST</request_method>
</item_prototype>
<item_prototype>
<name>Serial number ($1)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}</snmp_oid>
<key>stack.member.serial[{#SNMPINDEX}]</key>
<delay>30m</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{nodata(7200)}=1</expression>
<name>No data received from {#STACK_POSITION}</name>
<priority>AVERAGE</priority>
</trigger_prototype>
<trigger_prototype>
<expression>{diff()}=1</expression>
<name>S/N changed on {#STACK_POSITION}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Bootrom version ($1)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.9.{#SNMPINDEX}</snmp_oid>
<key>stack.member.version.boot[{#SNMPINDEX}]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1</expression>
<name>Bootrom version changed on {#STACK_POSITION}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Firmware version ($1)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.10.{#SNMPINDEX}</snmp_oid>
<key>stack.member.version.fw[{#SNMPINDEX}]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1</expression>
<name>Firmware version changed on {#STACK_POSITION}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>Hardware version ($1)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.2.1.47.1.1.1.1.8.{#SNMPINDEX}</snmp_oid>
<key>stack.member.version.hw[{#SNMPINDEX}]</key>
<delay>2h</delay>
<history>30d</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<request_method>POST</request_method>
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$SNMP_COMMUNITY}</macro>
<value>public</value>
</macro>
</macros>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:19:59Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_Switch_Unifi</template>
<name>Template_Switch_Unifi</name>
<templates>
<template>
<name>Template_Switch_Generic</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
</template>
</templates>
</zabbix_export>

@ -0,0 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:20:39Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template_UPS_APC_SNMP</template>
<name>Template_UPS_APC_SNMP</name>
<groups>
<group>
<name>Modèles</name>
</group>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Température de la batterie</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.2.2.2.0</snmp_oid>
<key>upsAdvBatteryTemperature</key>
<delay>5m</delay>
<history>30d</history>
<trends>1095d</trends>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&gt;40</expression>
<name>Température élevée</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>Charge actuelle (ampères)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.4.2.4.0</snmp_oid>
<key>upsAdvOutputCurrent</key>
<delay>5m</delay>
<history>30d</history>
<trends>1095d</trends>
<value_type>FLOAT</value_type>
<units>a</units>
<request_method>POST</request_method>
</item>
<item>
<name>Charge (%)</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.4.2.3.0</snmp_oid>
<key>upsAdvOutputLoad</key>
<delay>5m</delay>
<history>30d</history>
<trends>1095d</trends>
<value_type>FLOAT</value_type>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&gt;95</expression>
<name>APC: Output Load Too High - {HOSTNAME}</name>
<status>DISABLED</status>
<priority>DISASTER</priority>
</trigger>
<trigger>
<expression>{last(0)}&gt;90</expression>
<name>Onduleur en surcharge</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>Témoin de remplacement de la batterie</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.2.2.4.0</snmp_oid>
<key>upsAdvReplaceBatteryIndicator</key>
<delay>10m</delay>
<history>30d</history>
<trends>1095d</trends>
<valuemap>
<name>APC Battery Replacement Status</name>
</valuemap>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&lt;&gt;1</expression>
<name>Batterie défectueuse</name>
<priority>DISASTER</priority>
</trigger>
</triggers>
</item>
<item>
<name>Temps restant</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.2.2.3.0</snmp_oid>
<key>upsAdvRunTimeRemaining</key>
<delay>3m</delay>
<history>30d</history>
<trends>1095d</trends>
<units>s</units>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.01</params>
</step>
</preprocessing>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&lt;5</expression>
<name>APC: Run Time Remaining Critical Level - {HOSTNAME}</name>
<status>DISABLED</status>
<priority>DISASTER</priority>
</trigger>
<trigger>
<expression>{last(0)}&lt;10</expression>
<name>Niveau d'énergie faible</name>
<priority>HIGH</priority>
</trigger>
</triggers>
</item>
<item>
<name>État de la batterie</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.2.1.1.0</snmp_oid>
<key>upsBasicBatteryStatus</key>
<delay>3m</delay>
<history>30d</history>
<trends>1095d</trends>
<valuemap>
<name>APC Battery Status</name>
</valuemap>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{last(0)}&lt;&gt;2</expression>
<name>Perte de l'alimentation</name>
<priority>DISASTER</priority>
</trigger>
</triggers>
</item>
<item>
<name>Durée sur batterie</name>
<type>SNMP_AGENT</type>
<snmp_oid>.1.3.6.1.4.1.318.1.1.1.2.1.2.0</snmp_oid>
<key>upsBasicBatteryTimeOnBattery</key>
<delay>3m</delay>
<history>30d</history>
<trends>1095d</trends>
<units>s</units>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>0.01</params>
</step>
</preprocessing>
<request_method>POST</request_method>
</item>
</items>
<macros>
<macro>
<macro>{$COMMUNITY}</macro>
<value>public</value>
</macro>
</macros>
</template>
</templates>
<value_maps>
<value_map>
<name>APC Battery Replacement Status</name>
</value_map>
<value_map>
<name>APC Battery Status</name>
</value_map>
</value_maps>
</zabbix_export>

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<date>2021-06-19T12:20:10Z</date>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
<templates>
<template>
<template>Template_Switch_Zyxel_GS</template>
<name>Template_Switch_Zyxel_GS</name>
<templates>
<template>
<name>Template_Switch_Generic</name>
</template>
</templates>
<groups>
<group>
<name>Modèles</name>
</group>
</groups>
</template>
</templates>
</zabbix_export>
Loading…
Cancel
Save