zabbix_export: version: '6.0' date: '2022-05-27T12:44:03Z' groups: - uuid: 55510f942222480ab78c7a52d2bc9672 name: Host/Virtualization/Ganeti/Instances - uuid: c23276b216ef40f99b4705080bb33609 name: Host/Virtualization/Ganeti/Nodes - uuid: 02e4df4f20b848e79267641790f241da name: Templates/Virtualization templates: - uuid: eb2c3b7616e1476bbd47291b8a934f07 template: Ganeti name: Ganeti groups: - name: Templates/Virtualization items: - uuid: 10e351a19ae64971a4ba8ee33bdca38a name: 'Info Raw' type: HTTP_AGENT key: ganeti.info delay: 1d history: '0' trends: '0' value_type: TEXT authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/info' tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - tag: data value: raw - uuid: 3ebd0238324b4db499d0eeec1fd0e853 name: 'Cluster Config Version' type: DEPENDENT key: ganeti.info.cluster.configversion delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.config_version master_item: key: ganeti.info tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' triggers: - uuid: 52e3d1568cf84d37a74abea55203df3b expression: change(/Ganeti/ganeti.info.cluster.configversion)=1 name: 'Ganeti Config Version Changed' priority: WARNING tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - uuid: 923a71c9bdec4333ba9918a44ec27834 name: 'Cluster Hypervisor' type: DEPENDENT key: ganeti.info.cluster.hypervisor delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.default_hypervisor master_item: key: ganeti.info tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - uuid: 2da79d88c14841c882cee2aabbfee125 name: 'Cluster Master' type: DEPENDENT key: ganeti.info.cluster.master delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.master master_item: key: ganeti.info tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' triggers: - uuid: b8ea0af3a22f45b08240b504f307999b expression: change(/Ganeti/ganeti.info.cluster.master)=1 name: 'Ganeti Cluster Name Changed' priority: WARNING tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - uuid: 4f0cc7f4c0a74c21a83ee570742726a3 expression: change(/Ganeti/ganeti.info.cluster.master)=1 name: 'Ganeti Master Changed' priority: WARNING tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - uuid: 565db3b493f944ab8935fb94bf73935c name: 'Cluster Name' type: DEPENDENT key: ganeti.info.cluster.name delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.name master_item: key: ganeti.info tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - uuid: 7b9cf2f09dbc4727941180b55f2418a9 name: 'Cluster Volume Group Name' type: DEPENDENT key: ganeti.info.cluster.vg delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.vg_name master_item: key: ganeti.info tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' triggers: - uuid: 2954d45ed2e34656adba58b5744b1f2c expression: change(/Ganeti/ganeti.info.cluster.vg)=1 name: 'Ganeti Volume Group Name Changed' priority: WARNING tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' - uuid: 1b5665ab34ce44c498ec948c12eda17a name: 'Ganeti Version' type: DEPENDENT key: ganeti.info.ganeti.version delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.software_version master_item: key: ganeti.info tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' triggers: - uuid: 1ed791dfb4574096b9b4a9d7e8f07375 expression: change(/Ganeti/ganeti.info.ganeti.version)=1 name: 'Ganeti Version Changed' priority: WARNING tags: - tag: application value: ganeti - tag: component value: 'ganeti cluster' discovery_rules: - uuid: 89d10c2302444d4a963e2890e99d57d9 name: 'Discover Ganeti Groups' type: HTTP_AGENT key: ganeti.info.cluster.group delay: 1d authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' item_prototypes: - uuid: 55f815ad6cfd40e0918b0c3471a7a01d name: '{#NAME} Nodes' type: DEPENDENT key: 'ganeti.group.nodes[{#NAME}]' delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.node_list master_item: key: 'ganeti.group[{#NAME}]' tags: - tag: application value: ganeti - tag: component value: 'ganeti group' - uuid: 37a5077cad0a4cabba9a61188a0a9955 name: '{#NAME} Raw' type: HTTP_AGENT key: 'ganeti.group[{#NAME}]' delay: 1d history: '0' trends: '0' value_type: TEXT authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/groups/{#NAME}' tags: - tag: application value: ganeti - tag: component value: 'ganeti group' url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/groups' lld_macro_paths: - lld_macro: '{#NAME}' path: $.name - lld_macro: '{#URI}' path: $.uri - uuid: fcfc2217941a40819b04731b9699a15b name: 'Discover Ganeti Instances' type: HTTP_AGENT key: ganeti.instances delay: 1d authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' host_prototypes: - uuid: 2bdb4668d76f47718811a26bb0fcc2f4 host: '{#ID}' name: '{#ID}' group_links: - group: name: Host/Virtualization/Ganeti/Instances templates: - name: 'Ganeti Instances' macros: - macro: '{$GANETI.INSTANCE.NAME}' value: '{#ID}' inventory_mode: AUTOMATIC url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/instances' lld_macro_paths: - lld_macro: '{#URI}' path: $.uri - lld_macro: '{#ID}' path: $.id - uuid: a7f0f536b9834c5aaa1162ee5d377655 name: 'Discover Ganeti Jobs' type: HTTP_AGENT key: ganeti.jobs delay: 1h authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' lifetime: 7d item_prototypes: - uuid: 734d35611cac4f9f84782530c88b5e16 name: 'Job {#ID} Status' type: DEPENDENT key: 'ganeti.jobs.status[{#ID}]' delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.status master_item: key: 'ganeti.jobs[{#ID}]' tags: - tag: application value: ganeti - tag: component value: 'ganeti job' - uuid: 5adf9da995854e65808a0ff065bc665c name: 'Job {#ID} Summary' type: DEPENDENT key: 'ganeti.jobs.summary[{#ID}]' delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$.summary[0]' master_item: key: 'ganeti.jobs[{#ID}]' tags: - tag: application value: ganeti - tag: component value: 'ganeti job' - uuid: df14db20663b4fdc8d29c16bdafdbf39 name: 'Job {#ID} Raw' type: HTTP_AGENT key: 'ganeti.jobs[{#ID}]' delay: 5m history: '0' trends: '0' value_type: TEXT authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/jobs/{#ID}' tags: - tag: application value: ganeti - tag: component value: 'ganeti job' - tag: data value: raw url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/jobs' lld_macro_paths: - lld_macro: '{#ID}' path: $.id - lld_macro: '{#URI}' path: $.uri - uuid: 09c1b65053584b49b2019ee9eec0ed2e name: 'Discover Ganeti Nodes' type: HTTP_AGENT key: ganeti.nodes.discovery delay: 1d authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' host_prototypes: - uuid: 59ae6e3a829a48ada7cb6200f092ab6e host: '{#NODE.NAME}' name: '{#NODE.NAME}' group_links: - group: name: Host/Virtualization/Ganeti/Nodes templates: - name: 'Ganeti Nodes' macros: - macro: '{$GANETI.NODE.NAME}' value: '{#NODE.NAME}' inventory_mode: AUTOMATIC url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/nodes' lld_macro_paths: - lld_macro: '{#NODE.NAME}' path: $.id - lld_macro: '{#NODE.URI}' path: $.uri tags: - tag: class value: software - tag: target value: ganeti macros: - macro: '{$GANETI.MASTER}' description: 'Ganeti RAPI Master use IP or DNS name' - macro: '{$GANETI.PASSWORD}' description: 'Ganeti RAPI Password' - macro: '{$GANETI.PORT}' value: '5080' description: 'Ganeti RAPI port' - macro: '{$GANETI.PROTOCOL}' value: https description: 'Ganeti RAPI protocol http or https (default)' - macro: '{$GANETI.USERNAME}' description: 'Ganeti RAPI Username' - uuid: 4f0e10b781864d16afb60d9bbf3fd8e2 template: 'Ganeti Instances' name: 'Ganeti Instances' groups: - name: Templates/Virtualization items: - uuid: a51e1f3588664e0c842510af59df652b name: 'Info Raw' type: HTTP_AGENT key: ganeti.instance delay: 10m history: '0' trends: '0' value_type: TEXT authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/instances/{$GANETI.INSTANCE.NAME}' tags: - tag: component value: 'ganeti instance' - tag: data value: raw - tag: software value: ganeti - uuid: 75a4d19037634a038ba2304bd92215e9 name: 'Disk Assigned' type: DEPENDENT key: ganeti.instance.disk delay: '0' units: B preprocessing: - type: JSONPATH parameters: - $.disk_usage - type: MULTIPLIER parameters: - '1024' - type: MULTIPLIER parameters: - '1024' master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: 8c485b98c9f341c3b65fe463b8d56eb3 name: Interfaces type: DEPENDENT key: ganeti.instance.interfaces delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$.[''nic.bridges'']' master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: 540e821c0da145389d3049c09e33f652 name: 'Memory Assigned' type: DEPENDENT key: ganeti.instance.memory delay: '0' units: B preprocessing: - type: JSONPATH parameters: - $.oper_ram - type: MULTIPLIER parameters: - '1024' - type: MULTIPLIER parameters: - '1024' master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: 76ac8c46fb98470dbf7438dd04bccc37 name: OS type: DEPENDENT key: ganeti.instance.os delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.os master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: cd8e1e36d10842dea694425e436e8a47 name: 'Primary Node' type: DEPENDENT key: ganeti.instance.pnode delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.pnode master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti triggers: - uuid: 019f22c559074918b225795fe323023e expression: 'change(/Ganeti Instances/ganeti.instance.pnode)=1' name: 'Primary Node Changed' priority: INFO tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: ca27e59e9f5f46e5aaf99771f98fa3af name: 'Secondary Node' type: DEPENDENT key: ganeti.instance.snode delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$.snodes[0]' master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: 73969fd2d0334ee7bcfb031e58888d80 name: Status type: DEPENDENT key: ganeti.instance.status delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.admin_state master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti triggers: - uuid: 44b12439bfc546b1948c7dfa3ad6b002 expression: 'last(/Ganeti Instances/ganeti.instance.status)="down"' name: 'Instance Down' priority: AVERAGE tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: bcb4e78720c8460aa2ad058ed7d4f606 name: Tags type: DEPENDENT key: ganeti.instance.tags delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.tags master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: 697d7d834bf84a5bb39c538d853e7927 name: 'vCPU Assigned' type: DEPENDENT key: ganeti.instance.vcpu delay: '0' preprocessing: - type: JSONPATH parameters: - $.oper_vcpus master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: da98788adc764912afd092c7a5511ca5 name: 'VNC Console' type: CALCULATED key: ganeti.instance.vnc delay: 10m trends: '0' value_type: TEXT params: 'concat(last(//ganeti.instance.pnode),":",last(//ganeti.instance.vnc.port))' tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti - uuid: b73c4051d0ec47af8e952a815bffb6e7 name: 'VNC Port' type: DEPENDENT key: ganeti.instance.vnc.port delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.network_port master_item: key: ganeti.instance tags: - tag: component value: 'ganeti instance' - tag: software value: ganeti tags: - tag: class value: software - tag: target value: ganeti - tag: target value: 'ganeti instance' - uuid: 75a4f24c751148baa6138ae2cc6baf18 template: 'Ganeti Nodes' name: 'Ganeti Nodes' groups: - name: Templates/Virtualization items: - uuid: d6159fda667a499cb077a031522a3127 name: 'Info Raw' type: HTTP_AGENT key: ganeti.node delay: 10m history: '0' trends: '0' value_type: TEXT authtype: BASIC username: '{$GANETI.USERNAME}' password: '{$GANETI.PASSWORD}' url: '{$GANETI.PROTOCOL}://{$GANETI.MASTER}:{$GANETI.PORT}/2/nodes/{$GANETI.NODE.NAME}' tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - tag: data value: raw - uuid: f9eb9a7d8f2f4de8a76ff6d3fd14f921 name: 'Disk Free' type: DEPENDENT key: ganeti.node.disk.free delay: '0' units: B preprocessing: - type: JSONPATH parameters: - $.dfree - type: MULTIPLIER parameters: - '1024' - type: MULTIPLIER parameters: - '1024' master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 647a294f1e94435db38a471545c25c38 name: 'Disk Total' type: DEPENDENT key: ganeti.node.disk.total delay: '0' trends: '0' units: B preprocessing: - type: JSONPATH parameters: - $.dtotal - type: MULTIPLIER parameters: - '1024' - type: MULTIPLIER parameters: - '1024' master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: e8ce943a920a4071b40f81bd746357bf name: 'Disk Used' type: CALCULATED key: ganeti.node.disk.used delay: 10m units: B params: last(//ganeti.node.disk.total)-last(//ganeti.node.disk.free) tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 1f9c2882ca73437c9314f21b5eaa8d48 name: 'Disk Used %' type: CALCULATED key: ganeti.node.disk.used.percentage delay: 10m units: '%' params: '100*last(//ganeti.node.disk.used)/last(//ganeti.node.disk.total)' tags: - tag: application value: ganeti - tag: component value: 'ganeti node' triggers: - uuid: e083494b81cd445da95745ac53941725 expression: 'last(/Ganeti Nodes/ganeti.node.disk.used.percentage)>=90' name: 'Disk Usage reached 90%' priority: WARNING dependencies: - name: 'Disk Usage reached 95%' expression: 'last(/Ganeti Nodes/ganeti.node.disk.used.percentage)>=95' tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 5f7074ded8fb4586a4374a8bf4972b3c expression: 'last(/Ganeti Nodes/ganeti.node.disk.used.percentage)>=95' name: 'Disk Usage reached 95%' priority: AVERAGE tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 1735a01ad3684b23ad28592e1bb5955f name: 'Memory Free' type: DEPENDENT key: ganeti.node.memory.free delay: '0' units: B preprocessing: - type: JSONPATH parameters: - $.mfree - type: MULTIPLIER parameters: - '1024' - type: MULTIPLIER parameters: - '1024' master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: dbe4550413864d1eaedcb44f06137776 name: 'Memory Total' type: DEPENDENT key: ganeti.node.memory.total delay: '0' trends: '0' units: B preprocessing: - type: JSONPATH parameters: - $.mtotal - type: MULTIPLIER parameters: - '1024' - type: MULTIPLIER parameters: - '1024' master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 1b357a872ce544ad88f9855f897d05ff name: 'Memory Used' type: CALCULATED key: ganeti.node.memory.used delay: 10m units: B params: last(//ganeti.node.memory.total)-last(//ganeti.node.memory.free) tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: f0c55ca287a4473eac662bce43d5a70c name: 'Memory Used %' type: CALCULATED key: ganeti.node.memory.used.percentage delay: 10m units: '%' params: '100*last(//ganeti.node.memory.used)/last(//ganeti.node.memory.total)' tags: - tag: application value: ganeti - tag: component value: 'ganeti node' triggers: - uuid: c690db3e0c8b43479b87109217e5e332 expression: 'last(/Ganeti Nodes/ganeti.node.memory.used.percentage)>=90' name: 'Memory Usage reached 90%' priority: WARNING dependencies: - name: 'Memory Usage reached 95%' expression: 'last(/Ganeti Nodes/ganeti.node.memory.used.percentage)>=95' tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 1a464f6569454e6d9f273cfbf4e074a5 expression: 'last(/Ganeti Nodes/ganeti.node.memory.used.percentage)>=95' name: 'Memory Usage reached 95%' priority: AVERAGE tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 7ae47a66bbad422f84500fa122c38fe2 name: Offline type: DEPENDENT key: ganeti.node.offline delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.offline master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' triggers: - uuid: 734b528cef4b4d1f9acc55cceb4a90bb expression: 'last(/Ganeti Nodes/ganeti.node.offline)="true"' name: 'Node is in Offline State' priority: HIGH tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 033ba5199dca4086b1d514a81bf35a75 name: 'Primary Instances' type: DEPENDENT key: ganeti.node.pinstances delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.pinst_list master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: f405d10a13b042aaae2faa8f981f13f2 name: 'Primary Instances Number' type: DEPENDENT key: ganeti.node.pinstances.number delay: '0' preprocessing: - type: JSONPATH parameters: - $.pinst_list.length() master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 24b55ee343504b8b8b05e9f12aadc194 name: Role type: DEPENDENT key: ganeti.node.role delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.role master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' triggers: - uuid: 15e88f06781b47d0a30aeef0ae6a6e28 expression: 'change(/Ganeti Nodes/ganeti.node.role)=1' name: 'Node Role Changed' priority: WARNING tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 8374a2fdcaed442c8b45f24aa5579232 name: 'Secondary Instances' type: DEPENDENT key: ganeti.node.sinstances delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.sinst_list master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: 62305bce64f44f578e651cb35e24baf0 name: 'Secondary Instances Number' type: DEPENDENT key: ganeti.node.sinstances.number delay: '0' preprocessing: - type: JSONPATH parameters: - $.sinst_list.length() master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: a0aade7b228048e49537e926525db83e name: UUID type: DEPENDENT key: ganeti.node.uuid delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.uuid master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' - uuid: aecc07fc3c2c4e60b0b641637150e798 name: 'VM Capable' type: DEPENDENT key: ganeti.node.vm.capable delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - $.vm_capable master_item: key: ganeti.node tags: - tag: application value: ganeti - tag: component value: 'ganeti node' tags: - tag: class value: software - tag: target value: ganeti - tag: target value: 'ganeti node'