Cosium / zabbix_zfs-on-linux

zabbix template and user parameters to monitor zfs on linux
MIT License
76 stars 51 forks source link

update_user_params_template #41

Open prsf1233 opened 2 years ago

stevleibelt commented 2 years ago

This pull request comes from this issue ticket.

It should solve following problem: On zabbix 6.2 I'm seeing a lot of Zfs dataset $1 $2 with values but with the name $1 $2

ftoek commented 1 year ago

Great addition, I have no idea why it wasn't accepted. I tested it on Zabbix 6.0 and ZoL on centos 9, works like a charm, with a little change in the template.

--- zol_template_6.2.xml    2023-04-28 10:27:18.076271704 +0100
+++ zol_template_6.0.xml    2023-04-28 09:45:57.311504878 +0100
@@ -1,13 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <zabbix_export>
-    <version>6.2</version>
+    <version>6.0</version>
     <date>2022-07-27T12:45:56Z</date>
-    <template_groups>
-        <template_group>
-            <uuid>7df96b18c230490a9a0a9e2307226338</uuid>
-            <name>Templates</name>
-        </template_group>
-    </template_groups>
     <templates>
         <template>
             <uuid>47d3c2ff933947368d4bee4b1184d69b</uuid>
@@ -1752,4 +1746,3 @@
         </graph>
     </graphs>
 </zabbix_export>
-