thelan / ceph-zabbix

Zabbix plugin for Ceph monitoring
66 stars 81 forks source link

New attributes in cluster health trigger cause import to fail in zabbix 3.2.6 #17

Closed gregswift closed 7 years ago

gregswift commented 7 years ago

Zabbix import complained about each of these. and they dont seem to be doing anything (well the description one is also a duplicate) so I removed them and it imported.

index 7f4f426..f305d4b 100644
--- a/zabbix_templates/zbx_ceph_cluster_template.xml
+++ b/zabbix_templates/zbx_ceph_cluster_template.xml
@@ -1234,21 +1234,14 @@
         </trigger>
         <trigger>
             <expression>{Template_Ceph_Cluster:ceph.health.last()}&lt;&gt;1</expression>
-            <recovery_mode>0</recovery_mode>
-            <recovery_expression/>
             <name>Ceph cluster is not healthy</name>
-            <correlation_mode>0</correlation_mode>
-            <correlation_tag/>
             <url/>
             <status>0</status>
             <priority>5</priority>
             <description>This will throw an alert if status is anything other than healthy. &#13;
 You can change it to do &gt;=3 if you want it to only alert on error.</description>
-            <description/>
             <type>0</type>
-            <manual_close>0</manual_close>
             <dependencies/>
-            <tags/>
         </trigger>
     </triggers>
     <graphs>